View Full Version : Ugrade Perl to 3.8.8
Hi!
how upgrade perl 3.8.0 to 3.8.8 ? and how install CPAN?
Thanks!
floyd
05-06-2007, 05:56 AM
how upgrade perl 3.8.0
That would be a downgrade. The current version is 5.8.8. Perl and cpan are automatically installed in most distributions.
Sorry my Perl version is 5.8.0 and i want upgrade to 5.8.8 how?
Thanks!
floyd
05-06-2007, 10:24 AM
If there is no rpm for that version for your distribution then you will have to do it from source. http://www.perl.com/download.csp
Do you really have a need for upgrading?
modem
05-06-2007, 10:29 AM
Based on the SpamAssassin 3.2.0 thread, the new SA requires features that indirectly require Perl 5.8.8.
yes for spamassassin 3.2 and others...
Thanks!
and How do a good upgrade for perl 5.8.8 ?
smtalk
05-06-2007, 03:38 PM
You can compile it from the source (http://www.perl.com/CPAN/src/stable.tar.gz) or install its RPM (if it's created for your OS). Please consult the appropriate README and INSTALLING files if you have trouble configuring, compiling, and installing Perl.
for upgrade command line... REDHAT 8.0 it's ok?
-----------
cd /usr/local/directadmin/customapache
wget http://www.perl.com/download.csp#stable
tar -zxvf stable.tar.gz
cd perl-5.8.8
./configure.gnu
make
make install
-----------
or... ??
thanks
floyd
05-08-2007, 12:38 PM
I think you mean:
wget http://www.perl.com/CPAN/src/stable.tar.gz
modem
05-08-2007, 12:50 PM
Will this modify or harm the current Perl paths in CentOS 3.8? Rather what I'm asking is that, does CentOS 3.8 have custom path's for perl that if I was to compile perl from source that it'd put it in a different location??
hostpc.com
05-08-2007, 04:24 PM
You're running Redhat 8.0 ???
Might be time to think about an upgrade there... RH8 is even beyond Legacy support I thought.
for upgrade command line... REDHAT 8.0 it's ok?
-----------
cd /usr/local/directadmin/customapache
wget http://www.perl.com/download.csp#stable
tar -zxvf stable.tar.gz
cd perl-5.8.8
./configure.gnu
make
make install
-----------
or... ??
thanks
hi!
i do:
--------
wget http://www.perl.com/CPAN/src/stable.tar.gz
tar -zxvf stable.tar.gz
cd perl-5.8.8
./configure.gnu
make
make install
--------
and i have all time perl 5.8.0 why? (perl -v)
Thanks!
DirectAdmin Support
05-09-2007, 12:19 AM
It might have been installed at /usr/local/bin/perl, but /usr/bin/perl (the old one) has higher priority in the $PATH....
Type:
updatedb
locatel perl |grep bin
to see what you have.
Check the versions of those files directly, eg:
/usr/local/bin/perl -v
John
don't work...
if write: perl -v
i have always perl 5.8.0
if write: /usr/local/bin/perl -v ...it's ok
why?
floyd
05-09-2007, 02:50 PM
Because now you have two versions of perl installed. One in /usr/bin/perl and one in /usr/local/bin/perl
If you do not want to delete the old installation then change the top line of your perl scripts to #!/usr/local/bin/perl
if i want 5.8.8 by default? and spamassassin have same error...
thanks!
rohit
05-09-2007, 11:15 PM
Read my post http://www.directadmin.com/forum/showthread.php?t=18730 see if this is of any help?? it is long but is for what you are talking here!!!
Don't work for me!:( thank for your post!
floyd
05-10-2007, 05:26 AM
What do you mean it doesn't work? We cannot help you if all you say is it doesn't work. There has got to be some errors or something. Did you try rebuilding from the src rpm? What happened when you rebuilt the rpm? What happened when you installed the rpm? Give us something to work with.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.