Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 19566 invoked from network); 15 Aug 2008 18:47:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2008 18:47:08 -0000 Received: (qmail 18479 invoked by uid 500); 15 Aug 2008 18:47:03 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 18453 invoked by uid 500); 15 Aug 2008 18:47:03 -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 18442 invoked by uid 99); 15 Aug 2008 18:47:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 11:47:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.44.157] (HELO yx-out-1718.google.com) (74.125.44.157) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 18:46:04 +0000 Received: by yx-out-1718.google.com with SMTP id 4so648106yxp.40 for ; Fri, 15 Aug 2008 11:46:13 -0700 (PDT) Received: by 10.142.11.2 with SMTP id 2mr1094533wfk.29.1218825972606; Fri, 15 Aug 2008 11:46:12 -0700 (PDT) Received: from pooky.redhotpenguin.com ( [98.210.132.81]) by mx.google.com with ESMTPS id 24sm8164816wff.17.2008.08.15.11.46.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Aug 2008 11:46:11 -0700 (PDT) Message-ID: <48A5CEF0.4010308@redhotpenguin.com> Date: Fri, 15 Aug 2008 11:46:08 -0700 From: Fred Moyer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Charlie Reddington CC: modperl@perl.apache.org Subject: Re: mod_perl 2.0 fails on make References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Charlie Reddington wrote: > System stats: > > OS = Fedora Core 6 x86_64 > Apache = 2.2.9 - latest stable > Perl = 5.8.8 > Mod_Perl = 2.0 - Pulled the latest from svn as of today aug15 > > Hi, I am trying to build a static modperl into apache. I'm using this > for the modperl line. > > perl Makefile.PL MP_USE_STATIC=1 \ > MP_AP_PREFIX=/home/charlier/httpd-2.2.9 \ > MP_AP_CONFIGURE="--prefix=/usr/local/apache --enable-ssl > --enable-rewrite --enable-so --with-included-apr --enable-cgi > --enable-autoindex --enable-pie" > > This step goes fine, with no issues at all. > > When I run 'make'. It goes pretty fair but it ends with this. > > modperl_exports.c:1169: error: `modperl_thx_interp_get' undeclared here > (not in a function) > modperl_exports.c:1173: error: `modperl_thx_interp_set' undeclared here > (not in a function) > make[1]: *** [modperl_exports.o] Error 1 > make[1]: Leaving directory `/home/charlier/modperl-2.0/src/modules/perl' > make: *** [modperl_lib] Error 2 > > Is there any known fix to work around this? Try with the 2.0.4 stable version of mod_perl. Also I would suggest building mod_perl as a shared object (dynamically, not statically), so would say remove the MP_USE_STATIC=1. I've seen people get it to work but almost everyone I know builds mod_perl as a loadable module instead of into the httpd binary. > > Charlie >