aurorac
07-10-2001, 03:18 PM
Perl upgrade to 5.6.1 causes control panel to fail.
This is my experience on how to upgrade perl and make control panel to work.
[list=1]
Download & install latest stable perl release
Download URL: http://www.perl.com/CPAN/src/stable.tar.gz (http://www.perl.com/CPAN/src/stable.tar.gz)
gunzip < stable.tar.gz | tar xvf -
cd perl-5.6.1
./Configure –d
make
make install
Copying Cobalt modules to current perl install folder
cp –r /usr/lib/perl5/site_perl/5.005/Cobalt /usr/local/lib/perl5/site_perl/5.6.1/Cobalt
Copying old GIFgraph module to current perl install folder
cp /usr/lib/perl5/site_perl/5.005/GIFgraph.pm /usr/local/lib/perl5/site_perl/5.6.1/GIFgraph.pm
cp -r /usr/local/lib/perl5/site_perl/5.6.1/GIFgraph /home/packages/install/GIFgraph-1.20/blib/lib/GIFgraph
Installing modules that are required by control panel
- DBI module
Download URL:http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.18.tar.gz (http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.18.tar.gz)
gunzip < DBI-1.18.tar.gz | tar xvf -
cd DBI-1.18
perl Makefile.pl
make
make install
- Postgre SQL support
Download URL:http://www.cpan.org/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz (http://www.cpan.org/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz)
gunzip < pgsql_perl5-1.9.0.tar.gz | tar xvf -
cd pgsql_perl5-1.9.0
perl Makefile.pl
make
make install
- Locale gettext support
Download URL:http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-1.01.tar.gz (http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-1.01.tar.gz)
gunzip < gettext-1.01.tar.gz | tar xvf -
cd gettext-1.01
perl Makefile.pl
make
make install
- Expat library download& compilation. It is required by XML parser
Download URL : http://prdownloads.sourceforge.net/expat/expat-1.95.1.tar.gz (http://prdownloads.sourceforge.net/expat/expat-1.95.1.tar.gz)
gunzip < expat-1.95.1.tar.gz | tar xvf –
cd expat-1.95.1
./configure
make
make install
- Download and installation of XML-parser module
Download URL: http://www.cpan.org/authors/id/C/CO/COOPERCL/XML-Parser.2.30.tar.gz (http://www.cpan.org/authors/id/C/CO/COOPERCL/XML-Parser.2.30.tar.gz)
gunzip < XML-Parser.2.30.tar.gz | tar xvf –
cd XML-Parser.2.30
perl Makefile.pl
make
make install
- Quota module
Download URL: http://www.cpan.org/authors/id/T/TO/TOMZO/Quota-1.3.4.tar.gz (http://www.cpan.org/authors/id/T/TO/TOMZO/Quota-1.3.4.tar.gz)
gunzip < Quota-1.3.4.tar.gz | tar xvf -
cd Quota-1.3.4
perl Makefile.pl
make
make install
- MIME base 64 module installation
Download URL:http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz (http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz)
gunzip < MIME-Base64-2.12.tar.gz | tar xvf –
cd MIME-Base64-2.12
perl Makefile.pl
make
make install
- GD interface module
Download URL:http://cpan.valueclick.com/authors/id/L/LD/LDS/GD-1.16.tar.gz (http://cpan.valueclick.com/authors/id/L/LD/LDS/GD-1.16.tar.gz)
gunzip < GD-1.16.tar.gz | tar xvf –
cd GD-1.16.tar.gz
perl Makefile.pl
make
make install
Other modules you may want to install
MySQL support :http://www.cpan.org/authors/id/J/JW/JWIED/DBD-mysql-2.0902.tar.gz (http://www.cpan.org/authors/id/J/JW/JWIED/DBD-mysql-2.0902.tar.gz)
Interbase support :http://www.cpan.org/authors/id/E/ED/EDPRATOMO/DBD-InterBase-0.28.tar.gz (http://www.cpan.org/authors/id/E/ED/EDPRATOMO/DBD-InterBase-0.28.tar.gz)
Postgre SQL DBD support :http://www.cpan.org/authors/id/M/ME/MERGL/DBD-Pg-1.01.tar.gz (http://www.cpan.org/authors/id/M/ME/MERGL/DBD-Pg-1.01.tar.gz)
TIP: to download modules directly to your RAQ you can use lynx
e.q lynx http://path/to/the/module
DISCLAIMER: Please, note, it is only my experience and there is no warranty it will work for you. Also in case your installation fail your hosting provider can charge you a fee for restoring defaults. ;)
[/list=1]
This is my experience on how to upgrade perl and make control panel to work.
[list=1]
Download & install latest stable perl release
Download URL: http://www.perl.com/CPAN/src/stable.tar.gz (http://www.perl.com/CPAN/src/stable.tar.gz)
gunzip < stable.tar.gz | tar xvf -
cd perl-5.6.1
./Configure –d
make
make install
Copying Cobalt modules to current perl install folder
cp –r /usr/lib/perl5/site_perl/5.005/Cobalt /usr/local/lib/perl5/site_perl/5.6.1/Cobalt
Copying old GIFgraph module to current perl install folder
cp /usr/lib/perl5/site_perl/5.005/GIFgraph.pm /usr/local/lib/perl5/site_perl/5.6.1/GIFgraph.pm
cp -r /usr/local/lib/perl5/site_perl/5.6.1/GIFgraph /home/packages/install/GIFgraph-1.20/blib/lib/GIFgraph
Installing modules that are required by control panel
- DBI module
Download URL:http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.18.tar.gz (http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.18.tar.gz)
gunzip < DBI-1.18.tar.gz | tar xvf -
cd DBI-1.18
perl Makefile.pl
make
make install
- Postgre SQL support
Download URL:http://www.cpan.org/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz (http://www.cpan.org/authors/id/M/ME/MERGL/pgsql_perl5-1.9.0.tar.gz)
gunzip < pgsql_perl5-1.9.0.tar.gz | tar xvf -
cd pgsql_perl5-1.9.0
perl Makefile.pl
make
make install
- Locale gettext support
Download URL:http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-1.01.tar.gz (http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-1.01.tar.gz)
gunzip < gettext-1.01.tar.gz | tar xvf -
cd gettext-1.01
perl Makefile.pl
make
make install
- Expat library download& compilation. It is required by XML parser
Download URL : http://prdownloads.sourceforge.net/expat/expat-1.95.1.tar.gz (http://prdownloads.sourceforge.net/expat/expat-1.95.1.tar.gz)
gunzip < expat-1.95.1.tar.gz | tar xvf –
cd expat-1.95.1
./configure
make
make install
- Download and installation of XML-parser module
Download URL: http://www.cpan.org/authors/id/C/CO/COOPERCL/XML-Parser.2.30.tar.gz (http://www.cpan.org/authors/id/C/CO/COOPERCL/XML-Parser.2.30.tar.gz)
gunzip < XML-Parser.2.30.tar.gz | tar xvf –
cd XML-Parser.2.30
perl Makefile.pl
make
make install
- Quota module
Download URL: http://www.cpan.org/authors/id/T/TO/TOMZO/Quota-1.3.4.tar.gz (http://www.cpan.org/authors/id/T/TO/TOMZO/Quota-1.3.4.tar.gz)
gunzip < Quota-1.3.4.tar.gz | tar xvf -
cd Quota-1.3.4
perl Makefile.pl
make
make install
- MIME base 64 module installation
Download URL:http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz (http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz)
gunzip < MIME-Base64-2.12.tar.gz | tar xvf –
cd MIME-Base64-2.12
perl Makefile.pl
make
make install
- GD interface module
Download URL:http://cpan.valueclick.com/authors/id/L/LD/LDS/GD-1.16.tar.gz (http://cpan.valueclick.com/authors/id/L/LD/LDS/GD-1.16.tar.gz)
gunzip < GD-1.16.tar.gz | tar xvf –
cd GD-1.16.tar.gz
perl Makefile.pl
make
make install
Other modules you may want to install
MySQL support :http://www.cpan.org/authors/id/J/JW/JWIED/DBD-mysql-2.0902.tar.gz (http://www.cpan.org/authors/id/J/JW/JWIED/DBD-mysql-2.0902.tar.gz)
Interbase support :http://www.cpan.org/authors/id/E/ED/EDPRATOMO/DBD-InterBase-0.28.tar.gz (http://www.cpan.org/authors/id/E/ED/EDPRATOMO/DBD-InterBase-0.28.tar.gz)
Postgre SQL DBD support :http://www.cpan.org/authors/id/M/ME/MERGL/DBD-Pg-1.01.tar.gz (http://www.cpan.org/authors/id/M/ME/MERGL/DBD-Pg-1.01.tar.gz)
TIP: to download modules directly to your RAQ you can use lynx
e.q lynx http://path/to/the/module
DISCLAIMER: Please, note, it is only my experience and there is no warranty it will work for you. Also in case your installation fail your hosting provider can charge you a fee for restoring defaults. ;)
[/list=1]
