Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 47393 invoked from network); 27 Jun 2004 18:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jun 2004 18:12:56 -0000 Received: (qmail 22529 invoked by uid 500); 27 Jun 2004 18:12:56 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 22484 invoked by uid 500); 27 Jun 2004 18:12:55 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 22453 invoked by uid 99); 27 Jun 2004 18:12:55 -0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=DATE_IN_FUTURE_12_24,FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [195.154.174.52] (HELO mail.logilune.com) (195.154.174.52) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 27 Jun 2004 11:12:54 -0700 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 653141E19D2; Sun, 27 Jun 2004 20:12:42 +0200 (CEST) Message-ID: <40E05F8B.1030804@stason.org> Date: Mon, 28 Jun 2004 11:12:27 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Randy Kobes Cc: apreq-dev@httpd.apache.org Subject: Re: [apreq-2] error compiling Apache::Upload References: <87oen6rnpy.fsf@gemini.sunstarsys.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Randy Kobes wrote: > On Sat, 26 Jun 2004, Joe Schaefer wrote: > > >>Randy Kobes 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