You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by cfaust-dougot <cf...@doyougot.com> on 2005/01/11 15:52:36 UTC
MP2 Won't Install
Morning,
I'm having problems just getting MP2 to install.. I can build MP2, make, make test make install with no errors at all, mod_perl.so is built and is put into the proper modules directory and is called correctly in the httpd.conf file - but its not installed, it doesn't show up in the error log or installed modules or anything (it does show in the error log in t/logs/error_log).
Apache still runs fine and no errors are produced even though things like "PerlModule ModPerl::Registry" are in the conf.
I've tried building a few times via the mp2 source:
perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs MP_AP_CONFIGURE="--with-mpm=prefork"
perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_AP_CONFIGURE="--with-mpm=prefork"
I've also tried to do it to the apache source as outlined in the docs
perl Makefile.PL MP_USE_STATIC=1 \
MP_AP_PREFIX=/home/chris/httpd-2.0.52 \
MP_AP_CONFIGURE="--with-mpm=prefork"
This does produce an error when make test is done on apache:
make[1]: *** No rule to make target `/home/chris/mod_perl-2.0.0-RC3/src/modules/perl/mod_perl.a', needed by `httpd'. Stop.
I'm going nuts trying to figure out what to do - Any idea?
Thanks
-Chris
Re: MP2 Won't Install
Posted by Stas Bekman <st...@stason.org>.
cfaust-dougot wrote:
> Morning,
>
> I'm having problems just getting MP2 to install.. I can build MP2,
> make, make test make install with no errors at all, mod_perl.so is
> built and is put into the proper modules directory and is called
> correctly in the httpd.conf file - but its not installed, it doesn't
> show up in the error log or installed modules or anything (it does show
> in the error log in t/logs/error_log).
>
> Apache still runs fine and no errors are produced even though things
> like "PerlModule ModPerl::Registry" are in the conf.
That means only one thing: your httpd.conf is broken. Start with a hello
world config from the documentation, see it working and then proceed to
ensure that your own stuff is configured to run modperl.
--
__________________________________________________________________
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