httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject Re: [apreq-2] error compiling Apache::Upload
Date Sun, 27 Jun 2004 00:54:26 GMT
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"
 /**
  * @file apreq_xs_postperl.h
  * @brief XS include file for making Cookie.so and Request.so

===========================================================
fixes it for me. However, I'm not sure if this is the
best place to include this ....

-- 
best regards,
randy

Mime
View raw message