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

[cobalt-users] Perl 5.6.1 Upgrade for RaQ 4i - CORRECTED!!!



I am trying to install spamassassin & razor, which really want a more
current version of perl than is on the RaQ 4i. So here is the perl upgrade
(a more detailed version than I found in the archives). I will post
separately on the spamassassin install. Use at your own risk, as I have not
tested that all aspect of the Cobalt GUI work with 5.6.1

I used William Ross' post as a basis (you are a lifesaver, William!):

http://list.cobalt.com/pipermail/cobalt-users/2001-November/059032.html

mkdir PerlRecovery
cd PerlRecovery

wget http://search.cpan.org/CPAN/authors/id/G/GS/GSAR/perl-5.6.1.tar.gz
rm -f config.sh Policy.sh
tar -xzvf perl-5.6.1.tar.gz
cd perl-5.6.1.tar.gz
        sh Configure -de
        make
        make test
        make install

OK, perl is upgraded. But  your GUI is now history - the rest of this deals
with getting the GUI back (make sure to piece back together any lines broken
by line breaks):

wget http://search.cpan.org/CPAN/authors/id/T/TO/TOMZO/Quota-1.4.6.tar.gz
wget http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-1.01.tar.gz
wget 
http://search.cpan.org/CPAN/authors/id/C/CO/COOPERCL/XML-Parser-2.31.tar.gz
wget 
http://easynews.dl.sourceforge.net/sourceforge/expat/expat-1.95.5-1.i386.rpm
rpm -i expat-1.95.5-1.i386.rpm
wget 
http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz

tar -xzvf Quota-1.4.6.tar.gz
tar -xzvf gettext-1.01.tar.gz
tar -xzvf MIME-Base64-2.12.tar.gz
tar -xzvf  XML-Parser-2.31.tar.gz
cd Quota-1.4.6
(perl ./Makefile.PL make;make test;make install)
cd ../ gettext-1.01
(perl ./Makefile.PL make;make install)
cd ../ MIME-Base64-2.12
(perl ./Makefile.PL make;make test;make install)
cd ../XML-Parser-2.31
(perl ./Makefile.PL make;make test;make install)

cp -r /usr/lib/perl5/site_perl/5.005/Cobalt
/usr/local/lib/perl5/site_perl/5.6.1/
cp /usr/lib/perl5/site_perl/5.005/i386-linux/Pg.pm
/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/
cp -r /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Pg
/usr/local/lib/perl5/site_perl/5.6.1/i586-linux/auto/


If the GUI still doesn't work, keep running

/usr/admserv/cgi-bin/.cobalt/siteList/siteList.cgi

and installing the perl modules that it complains are missing.

Jim Cowing