[Chicago-talk] Installing another Perl on same box

Jay Strauss me at heyjay.com
Tue May 2 14:15:09 PDT 2006


>
> I've found it useful to use another level of indirection
> it the prefix in the past:
>
>    ./Configure -Dprefix=/opt/perl5/5.8-nothr -d -e -s ...
>
> (also to add compiler optimization, '-O3 -march=i686 -mtune=X -pipe'
> has been helpful).
>
> After that you can:
>
>    cd /opt/perl5/;
>    ln -fs 5.8-nothr/* .;
>
>    cd /opt/bin;
>    ln -fs ../perl5/bin/* .;
>
> at this point you can use "#!/opt/bin/perl" and
> switch to non-threaded or a later version of perl
> by installing it into /opt/perl5/FooBar then:
>
>    cd /opt/perl5;
>    rm *;
>    ln -fs FooBar/* .;

I get it

Thanks
Jay


More information about the Chicago-talk mailing list