> I have a working version of Perl and mod_perl on a live system at the
> moment.  Since installation, I have installed pgcc.
> 
> I want to recompile Apache and mod_perl to use a proxy front end, and
> would like to do this using pgcc and its optimisations.
> 
> Stas says in his guide that Perl and mod_perl should be compiled with
> the same compiler, so it seems that I should recompile Perl with pgcc at
> the same time. I would prefer to compile Perl into a separate place to
> my current Perl.  
> 
> My question is, when I compile mod_perl, how do I specify which version
> of Perl it should refer to?  

Assuming that you have:

/usr/bin/perl5.00503
/usr/bin/perl5.6052

if you do:

perl5.00503 Makefile.PL ... it would use the perl5.00503 for mod_perl, if
you do:

perl5.6052 Makefile.PL ... - it would use the perl5.6052

Hope that this answers your question...

_______________________________________________________________________
Stas Bekman  mailto:[EMAIL PROTECTED]    www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to