From modperl-return-63170-apmail-perl-modperl-archive=perl.apache.org@perl.apache.org Thu Feb 21 15:08:09 2013 Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BB57EFAD for ; Thu, 21 Feb 2013 15:08:09 +0000 (UTC) Received: (qmail 20189 invoked by uid 500); 21 Feb 2013 15:08:08 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 19813 invoked by uid 500); 21 Feb 2013 15:08:07 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 19772 invoked by uid 99); 21 Feb 2013 15:08:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 15:08:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of KMcGrail@pccc.com designates 38.124.232.10 as permitted sender) Received: from [38.124.232.10] (HELO intel1.peregrinehw.com) (38.124.232.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 15:07:58 +0000 Received: from [10.10.11.162] (pool-96-241-152-122.washdc.fios.verizon.net [96.241.152.122]) (authenticated bits=0) by intel1.peregrinehw.com (8.14.5/8.14.5) with ESMTP id r1LF7Xj9020515 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 21 Feb 2013 10:07:34 -0500 Message-ID: <51263835.30201@PCCC.com> Date: Thu, 21 Feb 2013 10:07:33 -0500 From: "Kevin A. McGrail" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Bernard Higonnet CC: modperl@perl.apache.org Subject: Re: Trouble installing mod_perl-2.0.7 with Perl v5.14.2 and Apache Apache/2.4.3 under FreeBSD 9.1 References: <512630C6.2050306@higonnet.net> In-Reply-To: <512630C6.2050306@higonnet.net> Content-Type: multipart/alternative; boundary="------------070001030400050807010907" X-Authorized-User: 96.241.152.122 X-KAM-Reverse-AUTH: Exempt - 96.241.152.122 is an Authorized Sender X-Scanned-By: MIMEDefang 2.72 on 38.124.232.10 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------070001030400050807010907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2/21/2013 9:35 AM, Bernard Higonnet wrote: > Everything seems to go OK with perl Makefile.PL but when I try make I > get this: > > modperl_interp.c: In function 'modperl_interp_select': > modperl_interp.c:503: error: 'conn_rec' has no member named 'remote_ip' > *** [modperl_interp.lo] Error code 1 > > I have searched this a bit and don't seem to be the only victim of > this problem, but am not versed enough in Apache or Perl to understand > what's going on. Several people seem to suggest or assert Apache 2.4 > doesn't work with mod_perl...!? > > TIA > Bernard Higonnet Bernard, Mod perl and Httpd 2.4 don't work yet. However, there is some progress on this that I'm testing today from Jan quoted below. regards, KAM Hi, I think I've committed all my patches [1] to httpd24 branch. It builds OK for me and I think it's now time for more people to build it and report your problems with this branch. To compile it, I just checkout the httpd24 and run: /usr/bin/perl Makefile.PL MP_APXS=/usr/bin/apxs MP_APR_CONFIG=/usr/bin/apr-1-config make If you want to run tests, you have to at first create ./t/run directory (to create this automatically, I would have to patch Apache-Test which I can't since it's separate component and lives outside my httpd24 branch if I'm right) Then you can just run 'make test'. The only failing test is t/directive/perlloadmodule3.t. I don't know perl enough to parse that code which merges configurations in this test yet. If the build ends up with error message that it can't link against -laprutil-1, we will have to fix workaroud (and little hack) I've done in commit 1448043 [2]. [1] http://mail-archives.apache.org/mod_mbox/perl-modperl-cvs/201302.mbox/browser [2] http://svn.apache.org/viewvc?view=revision&revision=1448043 Regards, Jan Kaluza On 02/18/2013 08:28 AM, Jan Kaluz(a wrote: > Hi, > > I've been granted commit access to mod_perl (Thanks to Torsten), so I > want to inform you about my intentions with httpd24 branch. > > 1. Merge changes from trunk to httpd24 branch. > 2. Review my patches from http://jkaluza.fedorapeople.org/mod_perl/ and > commit them to httpd24 branch. > 3. Run make source_scan on my machine and commit the results to httpd24 > branch. > > Those three steps should allow people to just ./configure and make > mod_perl with httpd24 sources. They will also make httpd24 branch > *httpd24 only* and personally I think this is the way to go, because of > following reasons: > > 1. Build system (make source_scan) is not good enough to run properly on > all systems and I'm not going to rewrite it. > 2. httpd 2.4 auth API changed in a way where it works very differently > than the one in 2.2. I will still try to put 2.4 code to proper #ifdefs, > but it would be really great to just have separate version for 2.4. > > When all this is done, I will commit my second patchset which adds > httpd-2.4 features to mod_perl (mainly new auth API) and fixes lot of > mod_perl tests. > > Please feel free to monitor my work in httpd24 branch and comment it on > list if you find some problem there. It's my first experience with > mod_perl and I really don't know everything about it. > > Regards, > Jan Kaluza > --------------070001030400050807010907 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2/21/2013 9:35 AM, Bernard Higonnet wrote:
Everything seems to go OK with perl Makefile.PL but when I try make I get this:

modperl_interp.c: In function 'modperl_interp_select':
modperl_interp.c:503: error: 'conn_rec' has no member named 'remote_ip'
*** [modperl_interp.lo] Error code 1

I have searched this a bit and don't seem to be the only victim of this problem, but am not versed enough in Apache or Perl to understand what's going on. Several people seem to suggest or assert Apache 2.4 doesn't work with mod_perl...!?

TIA
Bernard Higonnet


Bernard,

Mod perl and Httpd 2.4 don't work yet.

However, there is some progress on this that I'm testing today from Jan quoted below.

regards,
KAM

Hi,

I think I've committed all my patches [1] to httpd24 branch. It builds OK for me and I think it's now time for more people to build it and report your problems with this branch.

To compile it, I just checkout the httpd24 and run:

/usr/bin/perl Makefile.PL MP_APXS=/usr/bin/apxs MP_APR_CONFIG=/usr/bin/apr-1-config

make

If you want to run tests, you have to at first create ./t/run directory (to create this automatically, I would have to patch Apache-Test which I can't since it's separate component and lives outside my httpd24 branch if I'm right)

Then you can just run 'make test'.

The only failing test is t/directive/perlloadmodule3.t. I don't know perl enough to parse that code which merges configurations in this test yet.

If the build ends up with error message that it can't link against -laprutil-1, we will have to fix workaroud (and little hack) I've done in commit 1448043 [2].

[1] http://mail-archives.apache.org/mod_mbox/perl-modperl-cvs/201302.mbox/browser
[2] http://svn.apache.org/viewvc?view=revision&revision=1448043

Regards,
Jan Kaluza

On 02/18/2013 08:28 AM, Jan Kaluža wrote:
Hi,

I've been granted commit access to mod_perl (Thanks to Torsten), so I
want to inform you about my intentions with httpd24 branch.

1. Merge changes from trunk to httpd24 branch.
2. Review my patches from http://jkaluza.fedorapeople.org/mod_perl/ and
commit them to httpd24 branch.
3. Run make source_scan on my machine and commit the results to httpd24
branch.

Those three steps should allow people to just ./configure and make
mod_perl with httpd24 sources. They will also make httpd24 branch
*httpd24 only* and personally I think this is the way to go, because of
following reasons:

1. Build system (make source_scan) is not good enough to run properly on
all systems and I'm not going to rewrite it.
2. httpd 2.4 auth API changed in a way where it works very differently
than the one in 2.2. I will still try to put 2.4 code to proper #ifdefs,
but it would be really great to just have separate version for 2.4.

When all this is done, I will commit my second patchset which adds
httpd-2.4 features to mod_perl (mainly new auth API) and fixes lot of
mod_perl tests.

Please feel free to monitor my work in httpd24 branch and comment it on
list if you find some problem there. It's my first experience with
mod_perl and I really don't know everything about it.

Regards,
Jan Kaluza


--------------070001030400050807010907--