Richey wrote:
I am trying to upgrade from Perl 5.6.0 to 5.8.6 on Slackware 7.1 becasue some of the Perl Modules that I am trying to install whine about 5.6.0 and they want atleast 5.6.1. Since this box is going live after I finish setting it up now is a better time to go ahead and upgrade to 5.8.6. Everything runs fine, no errors or complaints during the compile but when I finish and run perl -v it returns that it is 5.6.0. What am I missing? Below are the steps I am taking to install 5.8.6.


make distclean rm -fv config.sh Policy.sh sh Configure -de make make test make install



Upgrading most likely didn't overwrite the installed Perl (5.6.0) but instead installed to a different location, in many cases /usr/local or /usr/local/perl. But your path is probably configured to pick up the original perl first. Depending on your shell,

> whereis perl

or

> which perl

Will show you which one you will get by default (the first might show you all instances). You probably need to adjust your path, update the shebang (#!) in your scripts, or in many cases 'perl' is really just a symlink to a particular version, in that case you can change the symlink to point to the new one.

Check to see if you can find the old and new perls and get back to us...

http://danconia.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to