httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derrick Spell <derricksp...@cdmplus.com>
Subject Re: Make Test fails on Mac OS X
Date Thu, 27 Jan 2005 21:47:58 GMT
>> but I was able to run the command:
>>
>> sh-2.05a$ otool -L env/.libs/mod_apreq.so
>> env/.libs/mod_apreq.so:
>>          /Library/Apache2/lib/libapreq2.2.dylib (compatibility  
>> version 3.0.0,
>
> Right- and I think that's why your tests are broken.
> It should point your current library in src/.libs/ instead.
> I suggest trying Randy's idea to preload the correct
> libapreq2 at startup.  It may not help, but it's the
> only solution I can think of that doesn't involve true
> OS X expertise (which we don't seem to have).

Ok, I've been playing around with several variations on Randy's idea  
and I'm convinced this is a libtool issue.  Even when I got the server  
to startup (by cp'ing the library into the Apache tree where it was  
insisting on looking) I still failed tests with the following error  
repeated over and over in the log:

[Thu Jan 27 16:40:45 2005] [error] [client 127.0.0.1]  
/Network/Servers/mail/Groups/Websites/libapreq2-2.04-dev/env/t/cgi-bin:  
error:  
/Network/Servers/mail/Groups/Websites/libapreq2-2.04-dev/env/t/.libs/ 
test_cgi does not exist
[Thu Jan 27 16:40:45 2005] [error] [client 127.0.0.1] This script is  
just a wrapper for test_cgi.
[Thu Jan 27 16:40:45 2005] [error] [client 127.0.0.1] See the libtool  
documentation for more information.
[Thu Jan 27 16:40:45 2005] [error] [client 127.0.0.1] Premature end of  
script headers: cgi-bin

Now, I can tell you this.  As I understand it, OSX has it's own version  
of libtool loaded at /usr/bin/libtool.  The GNU version of libtool is  
installed as /usr/bin/glibtool  and the corresponding  
/usr/bin/glibtoolize.

Does this help at all?

-Derrick



Mime
View raw message