j1n3l0 has asked for the wisdom of the Perl Monks concerning the following question:
Now this seemed to work fine (admittedly after several attempts) so I went on to test the new installation. I tried the following:% sh Configure -de % make % make test % sudo make install
As you can see, that lot works as expected. However when I tried the following:% which perl /usr/local/bin/perl % perl -v This is perl, v5.10.0 built for i686-linux Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 so +urce kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access + to the Internet, point your browser at http://www.perl.org/, the Perl Hom +e Page. % perl -e 'use feature qw(:5.10); say q(Hello World!);' Hello World!
For some reason it is still checking the 5.8.8 version of Config.pm =( Is there something obvious I am missing? Is this the wrong place to be asking this question? Any help would be much appreciated. Thank you.% sudo perl -MCPAN -e 'shell' Perl lib version (v5.8.8) doesn't match executable version (v5.10.0) a +t /usr/lib/perl/5.8/Config.pm line 46. Compilation failed in require at /usr/local/share/perl/5.8.8/CPAN.pm l +ine 14. BEGIN failed--compilation aborted at /usr/local/share/perl/5.8.8/CPAN. +pm line 14. Compilation failed in require. BEGIN failed--compilation aborted. % perldoc perl Perl lib version (v5.8.8) doesn't match executable version (v5.10.0) a +t /usr/lib/perl/5.8/Config.pm line 46. Compilation failed in require at /usr/share/perl/5.8/Pod/Perldoc.pm li +ne 7. BEGIN failed--compilation aborted at /usr/share/perl/5.8/Pod/Perldoc.p +m line 7. Compilation failed in require at /usr/local/bin/perldoc line 9. BEGIN failed--compilation aborted at /usr/local/bin/perldoc line 9.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems upgrading perl 5.8.8 to 5.10.0 on Ubuntu Desktop 7.10
by chromatic (Archbishop) on Jan 17, 2008 at 02:52 UTC | |
|
Re: Problems upgrading perl 5.8.8 to 5.10.0 on Ubuntu Desktop 7.10
by hipowls (Curate) on Jan 17, 2008 at 01:56 UTC | |
|
Re: Problems upgrading perl 5.8.8 to 5.10.0 on Ubuntu Desktop 7.10
by j1n3l0 (Friar) on Jan 17, 2008 at 10:15 UTC | |
by hipowls (Curate) on Jan 17, 2008 at 10:47 UTC | |
|
Re: Problems upgrading perl 5.8.8 to 5.10.0 on Ubuntu Desktop 7.10
by j1n3l0 (Friar) on Jan 17, 2008 at 22:36 UTC |