[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade to Perl 5.005 for slink. HOWTO ???



On Fri, Nov 26, 1999 at 04:06:04PM +0100, Robert J. Alexander wrote
> Is there a place with hints on the right packages to upgrade to install
> perl 5.005 on a slink platform ??
> 

It isn't clear whether you intend to *replace* the perl packages with
perl-5.005, or install the new version alongside of the old.

Many packages add files to /usr/lib/perl5 and its subdirectories, and in
general these packages install files in directories that are specific to the
perl minor version (e.g., 5.004/ or 5.005/); this means that they will not
be available under perl 5.005 unless you muck about with @INC (not
guaranteed to work) or rebuild the packages from source (not difficult for
most, but some involve rebuilding large packages (e.g., libpgperl)).  If you
rebuild them for perl-5.005, you have to also allow for the fact that the
directories under /usr/lib/perl5 have been reorganised between slink and
potato (what is /usr/lib/perl5/i386-linux/5.004/ in slink has become
/usr/lib/perl5/5.005/i386-linux/ on potato).

Because perl is such an important package and many things rely on it working
as expected, you should proceed with caution in any event. Make sure you
have local copies of the regular slink perl packages (at least perl-base and
perl) so you have some chance of sorting things out if things go
pear-shaped, and when you do install perl-5.005 make sure you examine and
understand what perl binaries are installed, and what version is being
invoked as /usr/bin/perl.


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark


Reply to: