You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by eps com estem <gg...@mixmail.com> on 2005/10/15 15:21:16 UTC

libapreq2-2.06-dev MM.pm compile problems

Hi, in the procedure to compile new apache+modperl2+apreq2 i'm finding
problems with apreq2 compilation.

perl 5.87
apache 2.0.55
modperl 2.01
ExtUtils-XSBuilder-0.27
libapreq2-2.06-dev

The commands i do

#perl
/Configure -des -Dusethreads
make
make install

#apache
/configure --prefix=/usr/local/apache2 --with-mpm=prefork
make
make install

#modperl
perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=/blah/httpd-2.0.55/ \
MP_AP_CONFIGURE="--with-mpm=prefork"

#xsbuilder
perl Makefile.PL
make install

#apreq
perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs
make
make install


And the error i get in apreq compilation

Making install in glue
make[1]: Entering directory `/blah/libapreq2-2.06-dev/glue'
cd perl; /usr/local/bin/perl Makefile.PL -apxs /usr/local/apache2/bin/apxs 
Can't locate ModPerl/MM.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.7/i686-linux-thread-multi /usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
make[1]: *** [perl/Makefile] Error 2
make[1]: Leaving directory `/blah/libapreq2-2.06-dev/glue'
make: *** [install-recursive] Error 1



I've search MM.pm, i have /usr/local/lib/perl/5.8.4/ModPerl/MM.pm but
/usr/local/lib/perl/5.8.7/ExtUtils/MM.pm


Any idea? Any information i have forgotten? Any bad command in the installation of any
component??
Thanks!
---------------------------------------------------------
Juega y ll�vate una PS2 two: http://juegos.ya.com/consolas_y_pc/2005/09/concurso-ps2.html
Ya.com ADSL 2MB + Llamadas 24 horas: desde 26,95 �/mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/2mb

Re: libapreq2-2.06-dev MM.pm compile problems

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
eps com estem wrote:
> Hi, in the procedure to compile new apache+modperl2+apreq2 i'm finding
> problems with apreq2 compilation.
> 
> perl 5.87
> apache 2.0.55
> modperl 2.01
> ExtUtils-XSBuilder-0.27
> libapreq2-2.06-dev
> 
> The commands i do
> 
> #perl
> /Configure -des -Dusethreads
> make
> make install
good.

> 
> #apache
> /configure --prefix=/usr/local/apache2 --with-mpm=prefork
> make
> make install
Skip all this stuff for apache it gets installed below with mp2

> 
> #modperl
> perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=/blah/httpd-2.0.55/ \
> MP_AP_CONFIGURE="--with-mpm=prefork"
add --prefix from httpd above to MP_AP_CONFIGURE here.

run
make
make install
> 
> #xsbuilder
> perl Makefile.PL
> make install
good.

> 
> #apreq
> perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs
> make
> make install

> 
> 
> And the error i get in apreq compilation
> 
> Making install in glue
> make[1]: Entering directory `/blah/libapreq2-2.06-dev/glue'
> cd perl; /usr/local/bin/perl Makefile.PL -apxs /usr/local/apache2/bin/apxs 
> Can't locate ModPerl/MM.pm in @INC (@INC contains:
> /usr/local/lib/perl5/5.8.7/i686-linux-thread-multi /usr/local/lib/perl5/5.8.7
> /usr/local/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at Makefile.PL line 2.
> BEGIN failed--compilation aborted at Makefile.PL line 2.
> make[1]: *** [perl/Makefile] Error 2
> make[1]: Leaving directory `/blah/libapreq2-2.06-dev/glue'
> make: *** [install-recursive] Error 1
> 
> 
> 
> I've search MM.pm, i have /usr/local/lib/perl/5.8.4/ModPerl/MM.pm but
> /usr/local/lib/perl/5.8.7/ExtUtils/MM.pm
> Any idea? Any information i have forgotten? Any bad command in the installation of any
> component??
Yeah, you never installed mp2 above.

-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com