DBD::mysql perl module installation on RH9

resolveit

Verified User
Joined
Mar 22, 2004
Messages
764
Hi,

This has nothing to do with the DA but thought you might want to know this.

When trying to install the DBD::mysql perl module I ran into difficulties, everything I tried failed until I found the simple answer to all my problems (at least the DBD::mysql installation and possibly other PERL module problems).

The answer reads ...

RedHat 9 has a bug, in order to install DBD::mysql you need to type "export LANG=C" on the commandline before your start.

the Installation instructions would be as follows:

download the file DBD-mysql-2.9004.tar.gz (or a newer version) from CPAN
FTP this file to your server
Log into your box (as root) and go to where you uploaded the file.

# export LANG=C
# gzip -cd DBD-mysql-2.9004.tar.gz | tar xf -
# cd DBD-mysql-2.9004
# perl Makefile.PL
# make
# make install

You now have DBD::mysql installed on your RH9 box.

Make sure you have installed the DBI bundle before you install DBD::mysql because the DBI bundle is a requirement for installation.

I hope this saves some frustrations..

Kind Regards,
Onno Vrijburg
 
Back
Top