At 2:23 PM -0400 10/3/01, John Siracusa wrote:
>On Wednesday, October 3, 2001, at 02:10  PM, Ray Zimmerman wrote:
>>I've been able to build a mod_perl enabled apache (not DSO) for Mac 
>>OS X 10.1 and it seems to work fine.
>
>Would it be too much trouble for you to post a complete, 
>step-by-step account of exactly what you did you accomplish this? :)

OK, this is with apache_1.3.20, perl-5.6.1 and mod_perl-1.26.

(1) Unpack apache and mod_perl into the same directory, e.g.

   cd ~
   tar zxvf apache_1.3.20.tar.gz
   tar zxvf mod_perl-1.26.tar.gz

(2) Run configure for apache.

   cd ~/apache_1.3.20
   ./configure

(3) Make and install mod_perl.
    
   cd ~/mod_perl-1.26
   perl Makefile.PL APACHE_SRC=../apache_1.3.20/src \
   DO_HTTPD=1 \
   USE_APACI=1 \
   PREP_HTTPD=1 \
   EVERYTHING=1
   make
   sudo make install
    
(4) Reconfigure and make apache.

   cd ~/apache_1.3.20
   ./configure \
   --enable-module=info \
   --enable-module=status \
   --enable-module=proxy \
   --activate-module=src/modules/perl/libperl.a
   make

(5) Test mod_perl.
   cd ~/mod_perl-1.26
   make test

(6) Install apache.

   cd ~/apache_1.3.20
   sudo make install

-- 
  Ray Zimmerman  / e-mail: [EMAIL PROTECTED] / 428-B Phillips Hall
   Sr Research  /   phone: (607) 255-9645  /  Cornell University
    Associate  /      FAX: (815) 377-3932 /   Ithaca, NY  14853

Reply via email to