Thanks Ray, and David.  It seems like the key is to not build mod_perl as 
a DSO.

Does anybody know why this is not recommended under OSX?  I've always done 
it under Linux.


On Mon, 13 Jan 2003, Ray Zimmerman wrote:

> Steve,
> 
> I'm going to avoid giving any more opinions on what you should be 
> trying to install, seems like you've already got plenty of them :-)
> 
> Let me just say, I have a clean install of Jaguar and I was able to 
> install perl 5.8, get Fink installed and working (which I used 
> successfully to install mysql), and build an apache/mod_perl that 
> works (not as DSO, though). I haven't yet used CPAN, but I'm sure 
> that can be made to work too.
> 
> Here are the notes I made for my co-workers who will need to set up 
> his new machine this week ... my sources are in ~/dist and building 
> is done in ~/build.
> 
> 
> Perl
> ----
> 
> setenv LC_ALL C
>      (put the above line in .cshrc and restart Terminal)
> cd ~/build
> tar zxvf ../dist/perl-5.8.0.tar.gz
> cd perl-5.8.0
> ./Configure -de -Dprefix=/usr/local/perl-5.8.0 \
>     [EMAIL PROTECTED] [EMAIL PROTECTED]
> make
> make test
> sudo make install
> 
> 
> Fink
> ----
> 
> open Fink-0.5.0a-Installer.dmg
> open Fink 0.5.0a Installer.pkg and follow directions
> add ...
>       source /sw/bin/init.csh
> ... to top of .cshrc file
> quit and restart Terminal
> sudo mv /sw/lib/perl5/darwin/Storable.pm /tmp
> sudo mv /sw/lib/perl5/darwin/auto/Storable /tmp
>   (see http:[EMAIL PROTECTED]/msg02447.html)
> 
> 
> 
> Apache/mod_perl
> ---------------
> 
> cd ~/build
> tar zxvf ../dist/apache_1.3.27.tar.gz
> tar zxvf ../dist/mod_perl-1.27.tar.gz
> cd mod_perl-1.27
> perl Makefile.PL APACHE_SRC=../src/apache_1.3.27/src \
>    DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
> make
> sudo make install
> 
> cd ../apache_1.3.27
> ./configure \
>    --prefix=/usr/local/apache/1.3.27 \
>    --with-layout=Apache \
>    --enable-module=so \
>    --enable-module=info \
>    --enable-module=proxy \
>    --activate-module=src/modules/perl/libperl.a \
>    --without-execstrip
> sudo make install
> cd ../mod_perl-1.27
> make test
> 
> 
> I hope this helps somebody ...
> 
> 

-- 
Steve Linberg, Chief Goblin 
Silicon Goblin Technologies 
http://silicongoblin.com 
Be kind.  Remember, everyone you meet is fighting a hard battle. 

Reply via email to