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: need your help to test mod_perl with perl-5.8.1-RC3
Date Thu, 31 Jul 2003 13:19:22 GMT
Stas Bekman wrote:
> Steve Hay wrote:
> 
>> Stas Bekman wrote:
>>
>>> Here is what happens:
>>>
>>> MM 6.03 used to create libapreq.a but not libapreq.so, libapreq.a was 
>>> just a by product and never was intented to be installed. Request.so 
>>> was statically linking libapreq.a into it.
>>>
>>> Now with 6.12 it creates both libapreq.so and libapreq.so, so when 
>>> Request.so is linked, it links libapreq.so dynamically, and of course 
>>> it can't resolve it later when loading.
>>>
>>> This patch fixes things for me in libapreq and works with MM 6.03 and 
>>> 6.12. Steve, please confirm that it works for you and I'll commit it. 
>>
>>
>>
>> No, it doesn't fix it :-(
>>
>> My problem sounds a little different to yours.  You talk above about 
>> "... when Request.so is linked...", but my build process doesn't get 
>> that far.
>>
>> Under MM 6.03 it used to build libapreq.lib, then Request.dll then 
>> Cookie.dll.
>> Now, under MM 6.12, it builds libapreq.lib, then falls over 
>> ("boot_libapreq" unresolved) when trying to build libapreq.dll.
> 
> 
> I think the cause is the same. MM 6.12 builds the shared object of 
> libapreq (dll in your case and .so in mine), and it didn't use to do that.

OK, try this patch:

Index: c/Makefile.PL
===================================================================
RCS file: /home/cvs/httpd-apreq/c/Makefile.PL,v
retrieving revision 1.7
diff -u -r1.7 Makefile.PL
--- c/Makefile.PL       3 Apr 2001 19:24:12 -0000       1.7
+++ c/Makefile.PL       31 Jul 2003 13:20:35 -0000
@@ -18,7 +18,7 @@
      WriteMakefile(
         #grr, problems with things finding libapreq.so, sort out later.
         'LINKTYPE' => 'static',
-#       'SKIP' => [qw(dynamic_lib dynamic_bs)],
+       'SKIP' => [qw(dynamic dynamic_lib dynamic_bs)],
         'NAME'   => 'libapreq',
         'INC'    => $src->inc,
         'TYPEMAPS'   => $src->typemaps,



__________________________________________________________________
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