|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Building mod_perl2 on LeopardHi,
I was one of those many people lining up to get Leopard (Mac OS X 10.5). It comes with Apache2 but not with mod_perl2.. I got into some problems getting it to compile properly. I've described quite a bit of the process on my blog but this is the short version (YMMV): export ARCHFLAGS="-arch x86_64" Compile/install as usual The platform should be indicate as image type by looking at the signature file /usr/libexec/apache2/mod_perl.so This worked on my intel based macbook.. Some more details on the fix: http://use.perl.org/article.pl?sid=07/11/09/2241222 Initial problem description: http://use.perl.org/~Beatnik/journal/34862 -- Hendrik Van Belleghem Spine - The backbone for your website - http://spine.sf.net |
|
|
Re: Building mod_perl2 on LeopardSlightly off-topic: The 10.2 10.3 and maybe 10.4 versions of Apache that came with OS X had library conflicts with mysql/php if you tried to compile modperl 1 or 2 Can I interpret your post to mean that one does not have to rebuild Apache2 now too? On Nov 10, 2007, at 9:56 AM, Hendrik Van Belleghem wrote: > Hi, > > I was one of those many people lining up to get Leopard (Mac OS X > 10.5). It comes with Apache2 but not with mod_perl2.. I got into > some problems getting it to compile properly. I've described quite > a bit of the process on my blog but this is the short version (YMMV): > > export ARCHFLAGS="-arch x86_64" > > Compile/install as usual > > The platform should be indicate as image type by looking at the > signature > > file /usr/libexec/apache2/mod_perl.so This worked on my intel based > macbook.. > > Some more details on the fix: > http://use.perl.org/article.pl?sid=07/11/09/2241222 > > Initial problem description: > http://use.perl.org/~Beatnik/journal/34862 > > -- > Hendrik Van Belleghem > Spine - The backbone for your website - http://spine.sf.net |
|
|
Re: Building mod_perl2 on LeopardHi,
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? :) Hendrik On Nov 11, 2007 1:18 AM, Jonathan Vanasco <
jvanasco@...> wrote:
-- Hendrik Van Belleghem Spine - The backbone for your website - http://spine.sf.net |
|
|
Re: Building mod_perl2 on LeopardOn 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 |
|
|
Re: Building mod_perl2 on LeopardActually, I'm still using the default Apache2.. I did built mod_perl2 from scratch. One of my fellow perl mongers installed Leopard before I did and mentioned that he couldn't find mod_perl2 on it.. I just assumed that it wasn't there so I rebuilt :)
Any ideas about the architecture signature in the original Leopard mod_perl.so? And why some seem to have an earlier built? Hendrik On Nov 12, 2007 3:57 PM, Jonathan Vanasco <
jvanasco@...> wrote:
-- Hendrik Van Belleghem Spine - The backbone for your website - http://spine.sf.net |
| Free Forum Powered by Nabble | Forum Help |