From modperl-return-63384-apmail-perl-modperl-archive=perl.apache.org@perl.apache.org Thu Jun 20 14:32:46 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 5B170C7FF for ; Thu, 20 Jun 2013 14:32:46 +0000 (UTC) Received: (qmail 22828 invoked by uid 500); 20 Jun 2013 14:32:45 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 22758 invoked by uid 500); 20 Jun 2013 14:32:43 -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 22740 invoked by uid 99); 20 Jun 2013 14:32:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 14:32:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rsharma51@sapient.com designates 125.16.91.91 as permitted sender) Received: from [125.16.91.91] (HELO mail-blr.sapient.com) (125.16.91.91) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 14:32:35 +0000 Received: from BANGMAIL02.sapient.com ([fe80::6c5e:6d0c:97cb:8148]) by BANGHUB02.sapient.com ([::1]) with mapi id 14.02.0342.003; Thu, 20 Jun 2013 20:02:07 +0530 From: Rommel Sharma To: "modperl@perl.apache.org" Subject: RE: mod_perl install error (build perl with -Dusethreads) Thread-Topic: mod_perl install error (build perl with -Dusethreads) Thread-Index: Ac5s34xpagD/0KoHQQSI/wmvuyT6RQA4ktKg Date: Thu, 20 Jun 2013 14:32:07 +0000 Message-ID: <21D67EEA74BD63488C141EA22B514AEAE10916@BANGMAIL02.sapient.com> References: <21D67EEA74BD63488C141EA22B514AEAE1003E@BANGMAIL02.sapient.com> In-Reply-To: <21D67EEA74BD63488C141EA22B514AEAE1003E@BANGMAIL02.sapient.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.209.227.43] Content-Type: multipart/alternative; boundary="_000_21D67EEA74BD63488C141EA22B514AEAE10916BANGMAIL02sapient_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_21D67EEA74BD63488C141EA22B514AEAE10916BANGMAIL02sapient_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable All, The issue got resolved after I used the following options and rebuilt Perl. In the folder where perl .gz file was uncompressed: - make distclean - CFLAGS=3D'-m64 -mtune=3Dnocona' - ./Configure -Dusethreads -Dprefix=3D/install/perl/v5.18 -des -A = ccflags=3D-fPIC Verified using: /install/perl/v5.18/bin/perl -V:useithreads -V:usemultiplicity Result should be like: useithreads=3D'define'; usemultiplicity=3D'define'; I also upgraded mod_perl to 2.0.8 to get over another error message that is= discussed here: http://comments.gmane.org/gmane.os.netbsd.devel.pkgsrc.user/18165 (I've corrected the perl location in my previous mail that was due to a typ= o). It works fine now, thanks. Rommel. From: Rommel Sharma [mailto:rsharma51@sapient.com] Sent: Wednesday, June 19, 2013 4:55 PM To: modperl@perl.apache.org Subject: mod_perl install error (build perl with -Dusethreads) Hi All, I have Apache/2.2.22 and Perl/v5.18.0 and setting up mod_perl/2.0.7. While installing mod_perl I am getting the following error: =D8 file /install/perl/v5.18/bin/perl gives /install/perl/v5.18/bin/perl: ELF 64-bit LSB executable, AMD x86-64, versio= n 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for= GNU/Linux 2.6.9, not stripped =D8 Command to build mod_perl: /install/perl/v5.18/bin/perl Makefile.PL MP_APXS=3D/export/apache/bin/apxs =D8 Result: Reading Makefile.PL args from @ARGV MP_APXS =3D /export/apache/bin/apxs no conflicting prior mod_perl version found - good. Configuring Apache/2.2.22 mod_perl/2.0.7 Perl/v5.18.0 [ error] Using Perl 5.018000 w/o ithreads and 'worker' mpm httpd. [ error] Failed requirements: [ error] - Perl built with ithreads (build perl with -Dusethreads) As recommended in the last line - "build perl with -Dusethreads" I tried th= at while setting up perl but the same error. Please share your inputs to resolve this. Thanks, Rommel. --_000_21D67EEA74BD63488C141EA22B514AEAE10916BANGMAIL02sapient_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

All,

 

The issue got resolved after I used the following op= tions and rebuilt Perl.

 

In the folder where perl .gz file was uncompressed:<= o:p>

 

-       = ;   make distclean

-       = ;   CFLAGS=3D'-m64 -mtune=3Dnocona'

-       = ;   ./Configure -Dusethreads -Dprefix=3D/install/perl/v= 5.18 -des -A ccflags=3D-fPIC

 

Verified using:

 

/install/perl/v5.18/bin/perl -V:useithreads -V:usemu= ltiplicity

Result should be like:

useithreads=3D'define';

usemultiplicity=3D'define';

 

 

I also upgraded mod_perl to 2.0.8 to get over anothe= r error message that is discussed here:

http://comments.gmane.org/gmane.os.netbsd.devel.p= kgsrc.user/18165

 

(I’ve corrected the perl location in my previo= us mail that was due to a typo).

 

It works fine now, thanks.

Rommel.

 

 

 

From: Rommel S= harma [mailto:rsharma51@sapient.com]
Sent: Wednesday, June 19, 2013 4:55 PM
To: modperl@perl.apache.org
Subject: mod_perl install error (build perl with -Dusethreads)<= /o:p>

 

Hi All,

 

I have Apache/2.2.22 and Perl/v5.18.0 and setting up= mod_perl/2.0.7.

 

While installing mod_perl I am getting the following= error:

 

=D8  file /install/perl/v5.18/bin/perl
gives
/install/perl/v5.18/bin/perl: ELF 64-bit LSB executable, AMD x86-64, versio= n 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for= GNU/Linux 2.6.9, not stripped

=D8  Command to build mod_perl:
/install/perl/v5.18/bin/perl Makefile.PL MP_APXS=3D/export/apache/bin/apxs<= o:p>

=D8  Result:

Reading Makefile.PL args from @ARGV

   MP_APXS =3D /export/apache/bin/apxs

no conflicting prior mod_perl version found - good.<= o:p>

Configuring Apache/2.2.22 mod_perl/2.0.7 Perl/v5.18.= 0

[  error] Using Perl 5.018000 w/o ithreads and = 'worker' mpm httpd.

[  error] Failed requirements:

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

 

As recommended in the last line – “build= perl with –Dusethreads” I tried that while setting up perl but= the same error.

 

Please share your inputs to resolve this.=

 

Thanks,

Rommel.

--_000_21D67EEA74BD63488C141EA22B514AEAE10916BANGMAIL02sapient_--