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 41DB2C199 for ; Wed, 6 Jun 2012 22:11:31 +0000 (UTC) Received: (qmail 21430 invoked by uid 500); 6 Jun 2012 22:11:30 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 21407 invoked by uid 500); 6 Jun 2012 22:11:30 -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 Delivered-To: moderator for modperl@perl.apache.org Received: (qmail 96218 invoked by uid 99); 4 Jun 2012 18:02:24 -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 (athena.apache.org: domain of bruce.pettyjohn@gmail.com designates 209.85.160.49 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; bh=chDbde7V4CEnsQZshmXZlIoaDh51rmIpyViXa319Lb8=; b=DcVL6/nkmnIJSjCzWz2HWGg9ibGEILwwHGhAHPRpdLyrgZwEaSV681Z+HhGR1LAjU1 i0ZKb/LGqQKjjyM4kSKyYdgledJ3eFMl1nXu8p6wzdTmbcghNyeDOquvOlMUt7+Q4fT+ /wKqgG36M14UkLKd4g3kfTl4c0IoC7qZEAVVqKszxERY2IJ+dstbyinv/OJR980yvvaM BMPc4oRbv9IEGA9tZaaZrdf2giHXCafHFirNurRrMcOg/TDPTF5MjVvwaR6bzugopznA kCCR/gwW8wKYhRh88nPfVq2ZE/2lTmr58zQv1q7sKjtLk7xCaudAIDcKW7RVlxrTK5GH eU9Q== From: Bruce Pettyjohn To: Subject: [mp2] Configure fails w/Perl 5.16.0 Date: Mon, 4 Jun 2012 11:01:53 -0700 Message-ID: <4fccf813.e5c4440a.4fcb.ffffde92@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004D_01CD4241.74775EE0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac1CfB9kN1RyXS3STk6jThw2NXaTUw== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_004D_01CD4241.74775EE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thanks for any help in resolving this bug. I have been using mod_perl for years and been happy. I would like to take advantage of the new Apache and need mod_perl to be part of it. Cheers, Bruce Pettyjohn -------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description: I am trying to configure with Apache 2.4.2, mp 2.0.6 and Perl 5.16.0 with no luck. Perl was compiled with and without threads. $ ./Configure -des -Dusethreads $ ./Configure -des -Uusethreads Apache 2.4.2 was compiled with $ ./configure --prefix=/usr/local/apache2/httpd/prefork \ --with-mpm=prefork \ --enable-mods-shared=all \ --with-included-apr \ --with-perl=/usr/local/perl \ --enable-ssl --enable-so The latest patch for modperl_perl.c was applied and the make process stops prematurely with this error note. root@dev2 downloads]# cd mod_perl-2.0.6 [root@dev2 mod_perl-2.0.6]# perl Makefile.PL MP_APXS=/usr/local/apache2/httpd/prefork/bin/apxs MP_APR_CONFIG=/usr/local/apr/bin/apu-1-config Reading Makefile.PL args from @ARGV MP_APXS = /usr/local/apache2/httpd/prefork/bin/apxs MP_APR_CONFIG = /usr/local/apr/bin/apu-1-config no conflicting prior mod_perl version found - good. Configuring Apache/2.4.2 mod_perl/2.0.7 Perl/v5.16.0 [ error] Using Perl 5.016000 w/o ithreads and 'dynamic' mpm httpd. [ error] Failed requirements: [ error] - Perl built with ithreads (build perl with -Dusethreads) The error_log file (t/logs/error_log) is non-existent. The "logs" directory is missing in this distribution. After adding the "logs" directory the "error_log" file was not created. 2. Used Components and their Configuration: *** mod_perl version 2.000006 *** using /var/downloads/mod_perl-2.0.6/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_APR_CONFIG => /usr/local/apr/bin/apu-1-config MP_APR_LIB => aprext MP_APXS => /usr/local/apache2/httpd/prefork/bin/apxs MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** The httpd binary was not found *** (apr|apu)-config linking info -L/usr/local/apr/lib -laprutil-1 -lexpat *** -V *** Packages of interest status: Apache2 : - Apache2::Request : - CGI : 3.59 ExtUtils::MakeMaker: 6.63_02 LWP : 5.834, 6.04, 6.04 mod_perl : - mod_perl2 : - 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] None This report was generated by t/REPORT on Mon Jun 4 17:35:24 2012 GMT. -------------8<---------- End Bug Report --------------8<---------- ------=_NextPart_000_004D_01CD4241.74775EE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks = for any help in resolving this bug.  I have been using mod_perl for years and = been happy.  I would like to take advantage of the new Apache and need = mod_perl to be part of it.

 

Cheers,

 

Bruce = Pettyjohn

 

 

-------------8<---------- Start Bug Report ------------8<----------

1. = Problem Description:

 

 

I am = trying to configure with Apache 2.4.2, mp 2.0.6 and Perl 5.16.0 with no luck. =

 

Perl was = compiled with and without threads.

 

$ ./Configure -des -Dusethreads

$ ./Configure -des -Uusethreads

 

Apache = 2.4.2 was compiled with

 

$ ./configure --prefix=3D/usr/local/apache2/httpd/prefork \

--with-mpm=3Dprefork = \

--enable-mods-shared=3Dall = \

--with-included-apr = \

--with-perl=3D/usr/local/perl \

--enable-ssl = --enable-so

 

The = latest patch for modperl_perl.c was applied and the make process stops prematurely with = this error note.

 

 

root@dev2 downloads]# cd mod_perl-2.0.6

[root@dev2 mod_perl-2.0.6]# perl Makefile.PL MP_APXS=3D/usr/local/apache2/httpd/prefork/bin/apxs = MP_APR_CONFIG=3D/usr/local/apr/bin/apu-1-config

Reading = Makefile.PL args from @ARGV

   MP_APXS =3D /usr/local/apache2/httpd/prefork/bin/apxs

   MP_APR_CONFIG =3D /usr/local/apr/bin/apu-1-config

no = conflicting prior mod_perl version found - good.

Configuring Apache/2.4.2 mod_perl/2.0.7 Perl/v5.16.0

[  = error] Using Perl 5.016000 w/o ithreads and 'dynamic' mpm = httpd.

[  = error] Failed requirements:

[  error]   - Perl built with ithreads (build perl with = -Dusethreads)

 

The = error_log file (t/logs/error_log) is non-existent.  The “logs” = directory is missing in this distribution.  After adding the “logs” directory the “error_log” file was not created. =

 

 

 

 

2. Used = Components and their Configuration:

 

*** = mod_perl version 2.000006

 

*** using = /var/downloads/mod_perl-2.0.6/lib/Apache2/BuildConfig.pm

 

*** = Makefile.PL options:

  MP_APR_CONFIG  =3D> = /usr/local/apr/bin/apu-1-config

  MP_APR_LIB     =3D> aprext

  MP_APXS        =3D> /usr/local/apache2/httpd/prefork/bin/apxs

  MP_COMPAT_1X   =3D> 1

  MP_GENERATE_XS =3D> 1

  MP_LIBNAME     =3D> = mod_perl

  MP_USE_DSO     =3D> 1

 

 

*** The = httpd binary was not found

 

 

*** = (apr|apu)-config linking info

 

 -L/usr/local/apr/lib -laprutil-1     -lexpat

 

 

 

***  = -V

 

*** = Packages of interest status:

 

Apache2          =   : -

Apache2::Request   : -

CGI          &nbs= p;     : 3.59

ExtUtils::MakeMaker: 6.63_02

LWP          &nbs= p;     : 5.834, 6.04, 6.04

mod_perl          = ; : -

mod_perl2          : -

 

 

3. This = is the core dump trace: (if you get a core dump):

 

  = [CORE TRACE COMES HERE]

 

None

 

 

This = report was generated by t/REPORT on Mon Jun  4 17:35:24 2012 = GMT.

 

-------------8<---------- End Bug Report --------------8<----------

 

 

 

 

 

 

 

 

 

 

 

------=_NextPart_000_004D_01CD4241.74775EE0--