httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Building on Red Hat 9
Date Thu, 25 Mar 2004 23:35:19 GMT
David Wheeler wrote:
> 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/ 
>> Request.so
> 
> 
> Sorry, I just copied that from an old posting in the archives. Let me  
> try to regenerate the true error...here you go:
> 
> [Thu Mar 25 11:12:42 2004] [notice] Accept mutex: sysvsem (Default:  
> sysvsem)
> [Thu Mar 25 11:12:42 2004] [error] Can't load  
> '/home/david/libapreq-1.3/blib/arch/auto/Apache/Cookie/Cookie.so' for  
> module Apache::Cookie: libapreq.so.1: cannot open shared object file:  
> No such file or directory at  

But why libapreq.so.1? shouldn't it use the static .a object? Is it libapreq.a 
on OSX or not?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message