Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 73306 invoked from network); 9 May 2005 20:47:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2005 20:47:01 -0000 Received: (qmail 59064 invoked by uid 500); 9 May 2005 20:49:43 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 59002 invoked by uid 500); 9 May 2005 20:49:42 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 58784 invoked by uid 99); 9 May 2005 20:49:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.logilune.com (HELO mail.logilune.com) (195.80.154.36) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 09 May 2005 13:49:39 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id C9C9BD6E48; Mon, 9 May 2005 22:46:14 +0200 (CEST) Message-ID: <427FCC12.1050603@stason.org> Date: Mon, 09 May 2005 16:46:10 -0400 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050322 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Tom Caldwell CC: Marc ? , modperl@perl.apache.org Subject: Re: [mp2] modperl2 compile error References: <1114619727.7020.22.camel@dizzy> <426FC09C.9020504@stason.org> <1114705739.7020.1203.camel@dizzy> <4271110E.30703@stason.org> <1114717573.7020.1220.camel@dizzy> <42714DCE.2030902@stason.org> <1114800891.7020.1287.camel@dizzy> <427324BE.9010801@stason.org> <1115020398.16316.67.camel@localhost> <42765DC8.1040305@stason.org> <1115201362.12059.30.camel@localhost> <427AFF46.6010502@stason.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tom Caldwell wrote: > Stas and Marc, > > So after a week hiatus I was finally able to return to my > Perl/ModPerl2/Apache2 woes on my Dell 64bit box running redhat linux. > > When we last left the main saga, I had just rebuilt perl and modperl > with the -fPIC flag only to find that the tests for subprocess.t would > not work. I tried several suggestions from Stas but nothing worked. Mark > suggested recompiling apache as well and that was to be my next step > before I was sidelined by other issues. > > When I rebuilt apache today, the modperl tests still failed at > subprocess.t even after another modperl rebuild. So I did another > reinstall of perl. This time during the configure operation when the > script prompted for directories to search for standard libs the defaults > were /usr/local/lib /lib /usr/lib (as before). After checking out the > original redhat installed version of perl (from rpm vesion 5.8.0), I > noticed that it used mostly libs from /lib64 and /usr/lib64. So I > overrode the defaults for this question with - /lib /usr/lib /lib64 > /usr/lib64. Then when I got to the prompt for default libs it had all > the ones I needed as the default value which it had failed to do before. > I still had to change the link flags from -fpic to -fPIC and replace the > default link switches with values I found in the redhat perl, but then > all of the tests for perl and modperl passed. > > I did not even have to rebuild apache after that. Great. Tom any chance you could write a simple step by step document of what you have done, including commands for other users who will hit the same problem? we can add it to the troubleshooting docs. Thanks! -- __________________________________________________________________ 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