How to upgrade to Perl v5.6.1  [RaQ 4]
------------------------------------------
1. Shell into RaQ4 as the user 'root'
2. cd /root/
3. wget http://www.cpan.org/src/5.0/perl-5.6.1.tar.gz
4. tar zxvf perl-5.6.1.tar.gz
5. cd perl-5.6.1
6. sh Configure -
Dotherlibdirs='/usr/lib/perl5/site_perl/5.005:/usr/lib/perl5/site_perl/5.005
/i386-linux' -des
**The above is all one line, and it important to run it as one line. If you
don't, it will not work!**
7. make && make test && make install
8. Need to press Enter once during the 'make install' step.
**Ensure you install it somewhere different from the loaded version**
END




How to upgrade to Perl v5.8.4  [RaQ 4]
------------------------------------------
Required: none
Date written: April 22, 2004
Date revised: 23 may 2004, added missing Cobalt directory on the second cp
step
----------------------------------------------------------------------------
----
Installing:
Before doing anything, we want a backup of the original Perl made as shown
below. Also keep in mind that perl based packages such as openwebmail and
mailscanner can be dependent on your existing perl, making a reinstall or
the installation of additional perl modules neccesary after upgrading perl
on your system. You should upgrade perl before adding such packages to avoid
complications.

type: cp /usr/bin/perl /usr/bin/perl-backup (make this backup)

Now, download the source for Perl 5.8.4 stable ( ca.10Mb) from this website:
http://www.cpan.org/src/5.0/perl-5.8.4.tar.gz
(Perl 5.8.4. source tarball).

type: gunzip perl-584.tar.gz to unzip the archive

type: tar -xvf perl-584 to unpack all files

type: cd perl-5.8.4

type: ./Configure -deDprefix=/usr

Next, we will modify the configuration script to build perlsuid too.

type; pico -w config.sh

hit ctrl-w and search for d_dosuid

change the value from 'undef' to 'define'

type: make

type: make test (output again, you'll see a lot of tests being performed,
all should either result in OK, or be skipped for the platform)

type: make install (things are put into place)

Now we have to integrate the Cobalt specific things into our new Perl 5.8.4.
The command below copy's all old installed mofules from Perl to the 5.8.4.
structure. In a pefect world, you should recompile all those modules to make
a perfect match with the new core.

The copy commands below are critical to the functioning of the GUI, since
they are quite lengthy, i suggest using a programm like midnight commander
to prevent typo's

Type; cp -r /usr/lib/perl5/site_perl/5.005/i386-linux/*
/usr/lib/perl5/site_perl/5.8.4/i586-linux -v

Type; cp -r /usr/lib/perl5/site_perl/5.005/Cobalt
/usr/lib/perl5/site_perl/5.8.4/Cobalt -v

rm /usr/lib/perl5/site_perl/5.8.4/i586-linux/auto/Pg -R

POSTGRES_LIB=/usr/lib

POSTGRES_INCLUDE=/usr/include/pgsql

export POSTGRES_LIB

export POSTGRES_INCLUDE

Type; perl -MCPAN -e shell

Select the default answers to all initial configuration question, except;

Select your continent ? (pick a number from the list)

Select your country ? (pick a number from the list)

Select URLS ? Pick at least 3 numbers from the list, seperated by spaces

when the CPAN shell enters the command prompt mode, type:
install Compress::Zlib
install Quota
- Enter path to get Quota for: /home
- Enter a uid to get Quota for: 0
- Enter path to set quota: <enter>
force install Pg

Type; quit to leave the CPAN shell and return to the prompt.


Thats it! Type perl -v to verify that your version is 5.8.4, Also, check the
GUI, it should still be fully functional.(creating and deleting a user is a
good test).

If you run into problems, all you need to do is copy the backup executable
back into place, since all the 5.003 library's are still untouched.
END

The above guides came from various websites - sorry I should quote them but
no longer know where they came from...

I have NOT used the guides to upgrade as yet.

Cheers,
Charles

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Atami Org.
Sent: 18 August 2005 06:53
To: [email protected]
Subject: [cobaltfacts] upgrading perl to 5.6.1 or later


Dear;

I was join to this mailing list today,
in order to just ask a question of upgrade perl of RaQs.

I like to upgrade the perl from 5.005 to 5.6.1 or later on RaQ4,
from 5.6.0 to 5.6.1 or later on RaQ550.
Because of "Mail-SpamAssassin" requires Perl 5.6.1 or later.

May I ask it in this  mailing list ?
Yuji Yamada.
_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to