Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF5E0C313 for ; Thu, 11 Jul 2013 06:04:42 +0000 (UTC) Received: (qmail 40720 invoked by uid 500); 11 Jul 2013 06:04:42 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 40525 invoked by uid 500); 11 Jul 2013 06:04:33 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 40509 invoked by uid 99); 11 Jul 2013 06:04:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 06:04:31 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jkaluza@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 06:04:23 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6B640VO032707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 11 Jul 2013 02:04:00 -0400 Received: from [10.34.24.234] (dhcp-24-234.brq.redhat.com [10.34.24.234]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6B63wmJ016977; Thu, 11 Jul 2013 02:03:59 -0400 Message-ID: <51DE4AA6.40704@redhat.com> Date: Thu, 11 Jul 2013 08:03:18 +0200 From: =?UTF-8?B?SmFuIEthbHXFvmE=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Steve Hay CC: dev@perl.apache.org Subject: Re: [httpd24 branch] merge with trunk? References: <51DBE301.6020006@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org On 07/11/2013 01:17 AM, Steve Hay wrote: > Hi Jan, > > Thank you so much for all your work on this! > > I've finally got round to having a look at it (sorry it's been so > long!), and have run into some teething problems here on Windows... Thank you for trying that branch. I haven't actually tried to compile it on Windows. > The first problem was "Warning (mostly harmless): No library found for > -laprutil-1" appearing from Makefile.PL between ModPerl::WrapXS and APR > (presumably it applies to the latter), which I've ignored for now but > will probably come back to bite me later. No other such issues are > reported, and all the libraries (apr-1.lib, aprutil-1.lib, libapr-1.lib, > libapriconv-1.lib, libaprutil-1.lib, libhttpd.lib, mod_dav.lib and > xml.lib) are together in C:\Apache24\lib, so I'm not sure what the > problem is there yet. After thinking about that for a bit and checking all my patches I've found out there's the same problem on Linux. I have overcame that with quite hardcoded way last year when trying to get it work: http://jkaluza.fedorapeople.org/mod_perl/0020-Link-APR.so-against-libaprutil-1.patch Something like that is probably needed on Windows too. Proper way would be to fix Apache2::Build to include this library, but I was not able to achieve that last year if I remember well. > Next up, modperl_util.c contained various declarations scatted amongst > code which VC++ doesn't support when compiling C (rather than C++). I've > fixed that in r1502045. Right, that was really bug. Thanks for fixing that. > Next, modperl_apache_compat.c complains that we're *defining* the > missing httpd function "ap_get_server_version", but we've declared it > the same way as httpd would do -- that is, marked "dllexport" when > compiled in httpd and otherwise marked "dllimport" to say that we're > third-party code importing it from httpd. We're third-party code, of > course, but *defining* a function marked "dllimport" isn't allowed. > Removing dllexport/dllimport from the declaration (see attached patch) > fixes this for me, but I don't know if that's the right thing on other OSes? It works for me. It does not change XS generation, it builds and tests are working. Feel free to commit that patch to httpd24. > The build now progress to APR::Brigade, but falls over complaining that > modperl_error.c references the symbol "perl_module", but that isn't > defined anywhere. Can you send full compiler error? perl_module should be declared in mod_perl.h and defined in mod_perl.c. I've had similar issue when building xs/ModPerl/Const. That was caused by ModPerl::Const using mod_perl.h, but did not compiling mod_perl.c, so extern perl_module variable was not defined. Maybe there's similar situation in Windows for some file too. I would check full trace which leads you to undefined perl_module and check if files have #include mod_perl.h and links with compiler's mod_perl.c output. > I've run out of time tonight but will come back to this very soon. If > you can shed any light on the remaining problems so far that might > assist me when I look again then please let me know. > > Steve Regards, Jan Kaluza > > > On 9 July 2013 11:16, Jan Kaluža > wrote: > > Hi, > > I just want to say that from my point of view, it should be possible > to merge httpd24 branch with trunk now. Maybe it's time to actually > do the merge and give that code some more testing. > > Before future release, we have to coordinate with Apache-Test to > release also new Apache-Test which contains fixes needed to run > mod_perl with httpd24. > > I'm going to update mod_perl to the HEAD of httpd24 branch in Fedora > soon too to give it more testing. > > Regards, > Jan Kaluza > > ------------------------------__------------------------------__--------- > To unsubscribe, e-mail: dev-unsubscribe@perl.apache.__org > > For additional commands, e-mail: dev-help@perl.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org