Was this ever resolved? I have tried the flags suggested, but still see upon
doing a "make test" the following errors: (Have substituted [...] for my
work directory path
cd t; make test
perl -MTest::Harness -e 'runtests(@ARGV)' version.t cookie.t params.t
parsers.t error.t util.t
version....dyld: Library not loaded: /usr/lib/libapreq2.3.dylib
Referenced from: [...]/libapreq2-2.08/library/t/.libs/version
Reason: no suitable image found. Did find:
[...]/libapreq2-2.08/library/.libs/libapreq2.3.dylib: mach-o, but wrong
architecture
/usr/lib/libapreq2.3.dylib: mach-o, but wrong architecture
/usr/lib/libapreq2.3.dylib: mach-o, but wrong architecture
version....dubious
etc.
The command "file library/.libs/libapreq2.3.6.0.dylib" returns:
library/.libs/libapreq2.3.6.0.dylib: Mach-O 64-bit dynamically linked shared
library x86_64
This is on a Leopard-based Intel Mac under OS X 10.5.5.
Advice would be welcome!
Hendrik Van Belleghem wrote:
>
> Actually, 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 <[EMAIL PROTECTED]> wrote:
>
>>
>> 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
>>
>
>
>
> --
> Hendrik Van Belleghem
> Spine - The backbone for your website - http://spine.sf.net
>
>
--
View this message in context:
http://www.nabble.com/Building-mod_perl2-on-Leopard-tp13682685p19691760.html
Sent from the mod_perl - General mailing list archive at Nabble.com.