httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <>
Subject Re: Building on Red Hat 9
Date Thu, 25 Mar 2004 22:03:21 GMT
On Mar 25, 2004, at 1:23 PM, Stas Bekman wrote:

>> IIRC, Stas said there were some issues getting this to work for Mac  
>> OS  X folks. I was thinking that this was because OS X doesn't use .o  
>> for  dynamic libraries, but using Config{so} doesn't work, either:
>>   cc: Request.dylib: No such file or directory
>>   make[1]: *** [../blib/arch/auto/Apache/Request/Request.bundle]  
>> Error 1
>> So I'm not sure what the issue is. But it's annoying that it has to  
>> be  coded one way on Mac OS X and another way on Red Hat. Does it  
>> work  as-is on other Linux boxes? The error I get on Red Hat 9 in  
>> similar to  this (during make test):
> In which case, my patch is wrong to hardcode .o/.a. What is the right  
> extension on OS X?

It's "dylib". I tried making the line:

        'OBJECT' => "Cookie.$Config{so} $root/libapreq.a",

Which, correctly gets "dylib", but as you can see from the error above,  
it still doesn't work.

> Hmm, what's:
> ldd  
> /root/.cpan/build/libapreq-1.1/blib/arch/auto/Apache/Request/ 

Sorry, I just copied that from an old posting in the archives. Let me  
try to regenerate the true you go:

[Thu Mar 25 11:12:42 2004] [notice] Accept mutex: sysvsem (Default:  
[Thu Mar 25 11:12:42 2004] [error] Can't load  
'/home/david/libapreq-1.3/blib/arch/auto/Apache/Cookie/' for  
module Apache::Cookie: cannot open shared object file:  
No such file or directory at  
/usr/local/lib/perl5/5.8.3/i686-linux/ line 229.
  at /usr/local/lib/perl5/site_perl/5.8.3/i686-linux/ line 14
Compilation failed in require at  
/home/david/libapreq-1.3/t/response/TestApReq/ line 9.
BEGIN failed--compilation aborted at  
/home/david/libapreq-1.3/t/response/TestApReq/ line 9.
Compilation failed in require at (eval 10) line 3.

[Thu Mar 25 11:12:42 2004] [error] Undefined subroutine  
&TestApReq::big_input::handler called.



View raw message