Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 51434 invoked from network); 14 May 2005 00:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 May 2005 00:06:39 -0000 Received: (qmail 28131 invoked by uid 500); 14 May 2005 00:10:53 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 28107 invoked by uid 500); 14 May 2005 00:10:53 -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 28076 invoked by uid 99); 14 May 2005 00:10:53 -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; Fri, 13 May 2005 17:10:52 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id E1689D6933; Sat, 14 May 2005 02:06:23 +0200 (CEST) Message-ID: <428540FD.9010103@stason.org> Date: Fri, 13 May 2005 20:06:21 -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: Malcolm J Harwood CC: modperl@perl.apache.org Subject: Re: RC6 build problems References: <200505131735.40610.mjhlist-modperl@liminalflux.net> In-Reply-To: <200505131735.40610.mjhlist-modperl@liminalflux.net> Content-Type: multipart/mixed; boundary="------------030504050805080305070702" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------030504050805080305070702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Malcolm J Harwood wrote: > I'm attempting to build a static apache/mp RC6, and running into some build > issues. > > The config line ends up looking like this: > > perl Makefile.PL > MP_AP_PREFIX=/home/mjh/devel/abs/local/apache-mod_perl//src/httpd-2.0.53 > MP_USE_STATIC=1 MP_AP_CONFIGURE="--with-mpm=prefork --prefix=/usr > --enable-layout=RedHat --datadir=/home/httpd --disable-auth > --disable-autoindex --disable-cgi --disable-dir --disable-env --disable-imap > --disable-include --disable-negotiation --disable-userdir --enable-deflate > --enable-logio --enable-ssl --enable-access --disable-mime" > MP_AP_DESTDIR=/home/mjh/devel/abs/local/apache-mod_perl//pkg/ > > and results in a line reading: > cd "/home/mjh/devel/abs/local/apache-mod_perl/src/httpd-2.0.53" && make > DESTDIR=0 10 6 4 3 2 10DESTDIR) install It comes from Makefile.PL: ap_install: ap_build cd "$build->{MP_AP_PREFIX}" && make DESTDIR=$(DESTDIR) install EOF Please apply the attached patch. It should fix the problem. -- __________________________________________________________________ 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 --------------030504050805080305070702 Content-Type: text/plain; name="diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff" Index: Makefile.PL =================================================================== --- Makefile.PL (revision 170103) +++ Makefile.PL (working copy) @@ -641,12 +641,12 @@ $string .= <<"EOF"; ap_build: modperl_lib cd "$build->{MP_AP_PREFIX}" && make - + ap_install: ap_build - cd "$build->{MP_AP_PREFIX}" && make DESTDIR=$(DESTDIR) install + cd "$build->{MP_AP_PREFIX}" && make DESTDIR=\$(DESTDIR) install EOF } - + ModPerl::MM::add_dep(\$string, pure_all => 'modperl_lib'); $string .= <<'EOF'; --------------030504050805080305070702--