« Return to Thread: Building mod_perl2 on Leopard

Re: Building mod_perl2 on Leopard

by Jonathan Vanasco-3 :: Rate this Message:

Reply to Author | View in Thread


On Nov 10, 2007, at 8:00 PM, Hendrik Van Belleghem wrote:
> To be honest, I haven't been able to get DBD::mysql compiled, nor  
> Apache2::Request (properly - still some strange errors in the  
> apache2 error log when I try to load it).
> I haven't fully tested the Apache2 (or mod_perl for that matter).  
> I'm not building it with PHP but it does appear to come with  
> leopard, as does mysql.
> Some threads discuss installing DBD::mysql on leopard (occasionally  
> suggesting older versions of the module). Should I post some build  
> output? :)

I'm curious- Why have you opted for using the stock Apache2 install?

By habit I always build from source and toss in /usr/local/apache2--  
Apple doesn't really maintain those apps after initial release.

I usually install libapreq through the c configure, not perl  
wrapper.  i've had better luck

        ./configure --with-expat=/usr/local/apr  --with-apache2-apxs=/usr/
local/apache2/bin/apxs --enable-perl-glue
        make
        make test
        make install

 « Return to Thread: Building mod_perl2 on Leopard