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: [apreq-2] error compiling Apache::Upload
Date Mon, 28 Jun 2004 18:12:27 GMT
Randy Kobes wrote:
> On Sat, 26 Jun 2004, Joe Schaefer wrote:
> 
> 
>>Randy Kobes <randy@theoryx5.uwinnipeg.ca> writes:
>>
>>[...]
>>
>>
>>>It seems that that PerlLIO_link is being used as the
>>>"link" member of APR's apr_bucket structure. This is
>>>with Win32 (perl-5.8.4) - does this look like a
>>>Win32-specific problem?
>>
>>I think so; current-cvs compiles and tests cleanly for me.
> 
> 
> So I think what happens is that Win32 defines "link"
> as PerlLIO_link, which causes the conflict. Actually,
> mp2 has a header file modperl_perl_unembed.h in which
> a number of such conflicts are handled, link being
> one of them. This diff:
> ============================================================
> Index: glue/perl/xsbuilder/apreq_xs_postperl.h
> ===================================================================
> RCS file: /home/cvs/httpd-apreq-2/glue/perl/xsbuilder/apreq_xs_postperl.h,v
> retrieving revision 1.28
> diff -u -r1.28 apreq_xs_postperl.h
> --- glue/perl/xsbuilder/apreq_xs_postperl.h	26 Jun 2004 05:56:17 -0000	1.28
> +++ glue/perl/xsbuilder/apreq_xs_postperl.h	27 Jun 2004 00:47:09 -0000
> @@ -19,7 +19,7 @@
> 
>  /* backward compatibility macros support */
>  #include "ppport.h"
> -
> +#include "modperl_perl_unembed.h"

it's probably a good idea to add a short comment why this file is included?


-- 
__________________________________________________________________
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