You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Joseph Turian <tu...@cs.nyu.edu> on 2004/01/09 05:38:06 UTC

[mp1] 'make' fails with APACI_ARGS='--show-layout'

Fresh mod_perl 1.29 and apache-1.3.27 source fails on 'make' if, when
mod_perl is being configured, '--show-layout' is passed to Apache.

e.g. if I configure with:
perl Makefile.PL APACHE_SRC=../apache_1.3.27/ DO_HTTPD=1 USE_APACI=1
EVERYTHING=1 APACI_ARGS='--show-layout'

Then the 'make' will break at:
===> src/modules/perl
make: don't know how to make all. Stop in
/usr/src/apache_1.3.29/src/modules/perl.
*** Error code 1

However, if I configure without '--show-layout', it works fine:
perl Makefile.PL APACHE_SRC=../apache_1.3.27/ DO_HTTPD=1 USE_APACI=1
EVERYTHING=1 APACI_ARGS='' && make

This was a big headscratcher, I nearly gave up on the APACI method.

Hope this helps, let me know if more information is necessary to duplicate
the bug.

	Joseph

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: [mp1] 'make' fails with APACI_ARGS='--show-layout'

Posted by Stas Bekman <st...@stason.org>.
Joseph Turian wrote:
> Fresh mod_perl 1.29 and apache-1.3.27 source fails on 'make' if, when
> mod_perl is being configured, '--show-layout' is passed to Apache.
> 
> e.g. if I configure with:
> perl Makefile.PL APACHE_SRC=../apache_1.3.27/ DO_HTTPD=1 USE_APACI=1
> EVERYTHING=1 APACI_ARGS='--show-layout'
> 
> Then the 'make' will break at:
> ===> src/modules/perl
> make: don't know how to make all. Stop in
> /usr/src/apache_1.3.29/src/modules/perl.
> *** Error code 1
> 
> However, if I configure without '--show-layout', it works fine:
> perl Makefile.PL APACHE_SRC=../apache_1.3.27/ DO_HTTPD=1 USE_APACI=1
> EVERYTHING=1 APACI_ARGS='' && make
> 
> This was a big headscratcher, I nearly gave up on the APACI method.
> 
> Hope this helps, let me know if more information is necessary to duplicate
> the bug.

Hmm, why in the world would you use --show-layout to configure Apache? It does 
just that, shows the layout of what's going to be configured, it doesn't 
configure. See for yourself:

apache-1.3> ./configure --show-layout
apache-1.3> make
===> src
make[1]: Entering directory `/home/stas/apache.org/apache-1.3'
make[2]: Entering directory `/home/stas/apache.org/apache-1.3/src'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/stas/apache.org/apache-1.3/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/stas/apache.org/apache-1.3'
make: *** [build] Error 2

it is not a bug in mod_perl.
__________________________________________________________________
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


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html