Re: RC6 build problems

[prev] [thread] [next] [Date index for 2005/05/14]

From: Stas Bekman
Subject: Re: RC6 build problems
Date: 00:06 on 14 May 2005
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@xxxxxx.xxx 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--

(message missing)

RC6 build problems
Malcolm J Harwood 21:35 on 13 May 2005

Re: RC6 build problems
Stas Bekman 00:06 on 14 May 2005

Re: RC6 build problems
Malcolm J Harwood 00:49 on 14 May 2005

Re: RC6 build problems
Malcolm J Harwood 03:12 on 14 May 2005

Re: RC6 build problems
Malcolm J Harwood 17:52 on 14 May 2005

Re: RC6 build problems
Stas Bekman 17:28 on 17 May 2005

latest svn build problems (was Re: RC6 build problems)
Malcolm J Harwood 21:00 on 24 May 2005

Re: RC6 build problems
Stas Bekman 17:59 on 17 May 2005

Re: RC6 build problems
Malcolm J Harwood 15:36 on 24 May 2005

Re: RC6 build problems
Stas Bekman 19:15 on 24 May 2005

Re: latest svn build problems
Malcolm J Harwood 21:42 on 24 May 2005

Re: latest svn build problems
Stas Bekman 17:55 on 25 May 2005

Re: latest svn build problems
Malcolm J Harwood 19:28 on 25 May 2005

Re: RC6 build problems
Malcolm J Harwood 19:55 on 24 May 2005

Re: RC6 build problems
Stas Bekman 21:00 on 24 May 2005

Re: RC6 build problems
Malcolm J Harwood 21:17 on 24 May 2005

Re: RC6 build problems
Stas Bekman 21:21 on 24 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52