You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Arnaud Blancher <Ar...@ungi.net> on 2004/08/03 19:12:27 UTC

How to use a particular version of perl

Hi,

I want try to use perl 5.8.5 with MP2,
in my system (fedora core 1) i have perl 5.8.3 ( the last rpm package)

In have compile the last perl in other directory ( usr/local/bin/perl )

How could i tell MP to use this version of perl ?
(i havent found it in MP2' doc)

thanks
Arnaud




-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: How to use a particular version of perl

Posted by Perrin Harkins <pe...@elem.com>.
On Tue, 2004-08-03 at 13:12, Arnaud Blancher wrote:
> How could i tell MP to use this version of perl ?

In the step where you run Makefile.PL, specify the perl binary you want
to use:

/full/path/to/perl Makefile.PL ...

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: How to use a particular version of perl

Posted by Arnaud Blancher <Ar...@ungi.net>.
Thanks Tom and Perrin
I ok now

I decide mysefl to update to fedora2.
And add a perl 5.8.5 in addition of the "official" perl 5.8.3  from my 
fedora.
in more, i have taken the last apache 2.50 and  mod_perl 1.99_14
and reintall all my perl module.


Tom Schindl wrote:

> Hi,
>
> Well now you need to recompile mod_perl using the new perl you 
> compiled your own,
> I also recommend that you install your own apache. This way you can 
> use the latest versions
> with the fewest bugs. If you are running into problems it is most 
> likely that people will help you
> when running the latest versions.
>
> Download mod_perl from perl.apache.org and apache from 
> httpd.apache.org and simply follow
> the INSTALL-File coming with mp2 you'll see it's not a mystery to get 
> up your own httpd/perl. If you want
> mp2 to be compiled with your own perl instead of writing
>
> ------------------------>8------------------------------------------
> perl Makefile.PL && make && make test
> ------------------------>8------------------------------------------
> do
> ------------------------>8------------------------------------------
> /usr/local/bin/perl Makefile.PL && make && make test
> ------------------------>8------------------------------------------
>
> Maybe you also have to install some more cpan-modules in front of 
> mod_perl but it will perl Makefile.PL will tell you about
> that. You can e.g. use the cpan-shell to install the missing 
> prerequesits, and do not built as root as I think the test-suite has to
> be run as an non-root user.
>
> Tom
>
> Arnaud Blancher wrote:
>
>> Hi,
>>
>> I want try to use perl 5.8.5 with MP2,
>> in my system (fedora core 1) i have perl 5.8.3 ( the last rpm package)
>>
>> In have compile the last perl in other directory ( usr/local/bin/perl )
>>
>> How could i tell MP to use this version of perl ?
>> (i havent found it in MP2' doc)
>>
>> thanks
>> Arnaud
>>
>>
>>
>>
>
>


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: How to use a particular version of perl

Posted by Tom Schindl <to...@gmx.at>.
Hi,

Well now you need to recompile mod_perl using the new perl you compiled 
your own,
I also recommend that you install your own apache. This way you can use 
the latest versions
with the fewest bugs. If you are running into problems it is most likely 
that people will help you
when running the latest versions.

Download mod_perl from perl.apache.org and apache from httpd.apache.org 
and simply follow
the INSTALL-File coming with mp2 you'll see it's not a mystery to get up 
your own httpd/perl. If you want
mp2 to be compiled with your own perl instead of writing

------------------------>8------------------------------------------
perl Makefile.PL && make && make test
------------------------>8------------------------------------------
do
------------------------>8------------------------------------------
/usr/local/bin/perl Makefile.PL && make && make test
------------------------>8------------------------------------------

Maybe you also have to install some more cpan-modules in front of 
mod_perl but it will perl Makefile.PL will tell you about
that. You can e.g. use the cpan-shell to install the missing 
prerequesits, and do not built as root as I think the test-suite has to
be run as an non-root user.

Tom

Arnaud Blancher wrote:

> Hi,
>
> I want try to use perl 5.8.5 with MP2,
> in my system (fedora core 1) i have perl 5.8.3 ( the last rpm package)
>
> In have compile the last perl in other directory ( usr/local/bin/perl )
>
> How could i tell MP to use this version of perl ?
> (i havent found it in MP2' doc)
>
> thanks
> Arnaud
>
>
>
>


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html