The way we do it is:
Take a stock RH9, no applications installed.
first do 'rpm -qa | grep perl'
then uninstall all the rpms listed above.
then 'rm /usr/lib/perl5'
then install the new perl, and reinstall everything you want.
It will work correctly.
On Oct 1, 2004, at 11:30 AM, Kirti S. Bajwa wrote:
Rudy:
I am doing fresh install of RH9. At the present time, I am by-passing
installing PERL or any additional modules. I plan to buy a book to read
little and then:
1) Uninstall PERL which came with RH 9
2) Re-install latest verion of PERL
3) Instal DBI & DBD::mysql modules
I have 1-question:
If I install, RH9, mySQL, openSSL, Postfix, dbmail, etc (all latest
versions), would it be a problem to remove PERL & rte-install latest
version
of PERL as described in three steps above?
Thanks
-----Original Message-----
From: Rudy Lippan [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 1:37 PM
To: Kirti S. Bajwa
Cc: [EMAIL PROTECTED]
Subject: RE: Perl with MySQL
On Thu, 30 Sep 2004, Kirti S. Bajwa wrote:
Since posting this problem, there has been 4-5 good responses except
each
respondent has their own way of doing things. I am doing a fresh
install
of
RH9 & mysql-4.0.21. After that I will install PERL. Since I am in the
learning process, I do need the actual instructions. From what I can
figure
out, I have to include "LANG" in my instructios to install PERL. I
have
concluded that the following should be the sequence of instructions:
If you are doing a fresh install of perl, you will probably not need to
unset
LANG anymore as newer perls should be just fine (The probem you are
running
into
with LANG is a problem with the perl that ships with RH9).
Make sure that the mysql_config for the version of mysql that you
installed
and
not that one that comes with red hat before running the CPAN shell.
You can
check this by doing a 'which mysql_config'.
% perl -MCPAN -e shell
Note: Answer "no" to auto-configure perl.
cpan> LANG=C
^^^^^^^^^^^^^^
Don't need that; an even if you did it would be set before you ran the
CPAN
shell 'unset LANG; perl -MCPAN -e shell'
Rudy