[Beds] How to run 2 perl side by side

Lee Larcombe lee at larcombe.uk-internet.org.uk
Wed Oct 12 16:56:41 BST 2005


Hi

If you go down the route of compiling the latest perl from CPAN, there are
detailed installation instructions in the INSTALL file with the source. Your
current perl would be installed somewhere like /usr/local/perl5.6.8 with the
perl executable simlinked to /usr/bin/perl or somesuch.

You can specify the directory into which the newly compiled version will be
installed at compile time (follow the details in the INSTALL file) - use
something like /usr/local/perl5.8.7 then you can simlink to the executable
with something like /usr/bin/perl5.8.7

Any perl script that you use will have a first line which tells it the path
to the perl interpreter it should use - such as #! /usr/bin/perl

In this case you would change the corresponding lines in your spamassasin
script to #! /usr/bin/perl5.8.7

All you old scripts will use the old version - only spamassasin will use the
new one.

If anyone knows a simpler way - or spots an error, please feel free to
correct me.

Hope it helps.

Lee


On 10/10/05 3:10 pm, "Stephen Elliott" <techweb at ntlworld.com> wrote:

> Hi,
> 
> Please could you give me instructions on how to run two versions of perl
> side by side as I only need the new version to run spamassassin.
> 
> Many Thanks
> Stephen Elliott
> 
> -----Original Message-----
> From: beds-bounces at mailman.lug.org.uk
> [mailto:beds-bounces at mailman.lug.org.uk]On Behalf Of
> beds-request at mailman.lug.org.uk
> Sent: 06 October 2005 12:15
> To: beds at mailman.lug.org.uk
> Subject: Beds Digest, Vol 49, Issue 2
> 
> 
> Send Beds mailing list submissions to
> beds at mailman.lug.org.uk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.lug.org.uk/mailman/listinfo/beds
> or, via email, send a message with subject or body 'help' to
> beds-request at mailman.lug.org.uk
> 
> You can reach the person managing the list at
> beds-owner at mailman.lug.org.uk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beds digest..."
> 
> 
> Today's Topics:
> 
>    1. RE: Upgrading Perl (Stephen Elliott)
>    2. Re: RE: Upgrading Perl (Lee Larcombe)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 5 Oct 2005 12:47:28 +0100
> From: "Stephen Elliott" <techweb at ntlworld.com>
> Subject: [Beds] RE: Upgrading Perl
> To: <beds at mailman.lug.org.uk>
> Message-ID: <IIEJIKFPPDCDIOOHEDKIOEGKCBAA.techweb at ntlworld.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi,
> 
> I don't really want to upgrade the distribution as I have everything in
> place, working perfectly. I do most stuff from source so it's up to date.
> Just that I want to upgrade perl but am worried it may end up being a messy
> process.
> 
> Steve...
> 
> -----Original Message-----
> From: beds-bounces at mailman.lug.org.uk
> [mailto:beds-bounces at mailman.lug.org.uk]On Behalf Of
> beds-request at mailman.lug.org.uk
> Sent: 05 October 2005 12:15
> To: beds at mailman.lug.org.uk
> Subject: Beds Digest, Vol 49, Issue 1
> 
> 
> Send Beds mailing list submissions to
> beds at mailman.lug.org.uk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.lug.org.uk/mailman/listinfo/beds
> or, via email, send a message with subject or body 'help' to
> beds-request at mailman.lug.org.uk
> 
> You can reach the person managing the list at
> beds-owner at mailman.lug.org.uk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beds digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Upgrading Perl (Neil Darlow)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 4 Oct 2005 21:50:32 +0100
> From: Neil Darlow <neil at darlow.co.uk>
> Subject: Re: [Beds] Upgrading Perl
> To: beds at mailman.lug.org.uk
> Message-ID: <200510042150.32971.neil at darlow.co.uk>
> Content-Type: text/plain;  charset="iso-8859-1"
> 
> Hi Steve,
> 
> On Friday 30 Sep 2005 15:26, Stephen Elliott wrote:
>> Anyone know a quick, easy and safe way to upgrade perl. I'm currently
> using
>> perl 5.6.1 on a slackware 8 box. I would like to upgrade to the latest
>> version.
> 
> Odd you got no replies, we have Slackware users in the group.
> 
> Can't you update to a more recent version of Slackware with a newer Perl
> distribution?
> 
> Regards,
> Neil Darlow
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Beds mailing list
> Beds at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/beds
> 
> End of Beds Digest, Vol 49, Issue 1
> ***********************************
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 05 Oct 2005 14:33:54 +0100
> From: Lee  Larcombe <lee at larcombe.uk-internet.org.uk>
> Subject: Re: [Beds] RE: Upgrading Perl
> To: "beds at mailman.lug.org.uk" <beds at mailman.lug.org.uk>
> Message-ID: <BF6994D2.FC5%lee at larcombe.uk-internet.org.uk>
> Content-Type: text/plain; charset="US-ASCII"
> 
> 
> I don't use slackware, but I would have thought it would be perfectly ok to
> just uninstall the slackware perl 5.6 packages and compile the latest perl
> from cpan.
> 
> The perl compilation is quite simple - then you would just need to install
> any modules are not part of the standard perl distribution.
> 
> Alternatively, you can run two different versions of perl side-by-side.
> 
> Lee
> 
> 
> On 5/10/05 12:47 pm, "Stephen Elliott" <techweb at ntlworld.com> wrote:
> 
>> Hi,
>> 
>> I don't really want to upgrade the distribution as I have everything in
>> place, working perfectly. I do most stuff from source so it's up to date.
>> Just that I want to upgrade perl but am worried it may end up being a
> messy
>> process.
>> 
>> Steve...
>> 
>> -----Original Message-----
>> From: beds-bounces at mailman.lug.org.uk
>> [mailto:beds-bounces at mailman.lug.org.uk]On Behalf Of
>> beds-request at mailman.lug.org.uk
>> Sent: 05 October 2005 12:15
>> To: beds at mailman.lug.org.uk
>> Subject: Beds Digest, Vol 49, Issue 1
>> 
>> 
>> Send Beds mailing list submissions to
>> beds at mailman.lug.org.uk
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman.lug.org.uk/mailman/listinfo/beds
>> or, via email, send a message with subject or body 'help' to
>> beds-request at mailman.lug.org.uk
>> 
>> You can reach the person managing the list at
>> beds-owner at mailman.lug.org.uk
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Beds digest..."
>> 
>> 
>> Today's Topics:
>> 
>>    1. Re: Upgrading Perl (Neil Darlow)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Tue, 4 Oct 2005 21:50:32 +0100
>> From: Neil Darlow <neil at darlow.co.uk>
>> Subject: Re: [Beds] Upgrading Perl
>> To: beds at mailman.lug.org.uk
>> Message-ID: <200510042150.32971.neil at darlow.co.uk>
>> Content-Type: text/plain;  charset="iso-8859-1"
>> 
>> Hi Steve,
>> 
>> On Friday 30 Sep 2005 15:26, Stephen Elliott wrote:
>>> Anyone know a quick, easy and safe way to upgrade perl. I'm currently
>> using
>>> perl 5.6.1 on a slackware 8 box. I would like to upgrade to the latest
>>> version.
>> 
>> Odd you got no replies, we have Slackware users in the group.
>> 
>> Can't you update to a more recent version of Slackware with a newer Perl
>> distribution?
>> 
>> Regards,
>> Neil Darlow
>> 
>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Beds mailing list
>> Beds at mailman.lug.org.uk
>> http://mailman.lug.org.uk/mailman/listinfo/beds
>> 
>> End of Beds Digest, Vol 49, Issue 1
>> ***********************************
>> 
>> 
>> 
>> _______________________________________________
>> Beds mailing list
>> Beds at mailman.lug.org.uk
>> http://mailman.lug.org.uk/mailman/listinfo/beds
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Beds mailing list
> Beds at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/beds
> 
> End of Beds Digest, Vol 49, Issue 2
> ***********************************
> 
> 
> 
> _______________________________________________
> Beds mailing list
> Beds at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/beds





More information about the Beds mailing list