I've recompile everything with your purposed changes (i wasn't understanding 
what a mp2
statically build did mean), but i get the same error in apreq2.

What i've done:

#perl
/Configure -des -Dusethreads
make
make install

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

#XSBuilder
perl Makefile.PL
make install

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

what i get, in apreq "make"

Making all in glue
make[1]: Entering directory `/blah/sources/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/sources/libapreq2-2.06-dev/glue'
make: *** [all-recursive] Error 1
Making install in .
/.../
Making install in glue
make[1]: Entering directory `/blah/sources/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/sources/libapreq2-2.06-dev/glue'
make: *** [install-recursive] Error 1


Any idea? Thanks for your responses!






>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 <a 
>> href="javascript:sendMsg('(@INC');">(@INC</a>
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.
>--

---------------------------------------------------------
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

Reply via email to