I have been trying to install a Perl module DBD::mysql on our Red Hat 7.2 machine and keep running into problems. I am moving from FreeBSD Unix. I had used CPAN on our older system to install this module with no problems.
 
I can't get CPAN to install the module correctly itself. I get the following error:
 
Cannot gzopen cpan/sources/authors/id/J/JW/JWIED/DBD-mysql-2.1017.tar.gz: No such file or directory
 
I set up CPAN with the correct path to gzip, gunzip, tar, etc. The file mentioned above is in fact in the specified directory so I can only assume the error is indicating that it can't find the file gzopen? What is this? Do I need to install something else before CPAN install will work properly and does anyone know what it is?
 
I also tried a manual install but got an error that seems to be related to the location of the mysql include files during the make. I can't find mysql.h on my system. The default is /usr/include/mysql but I have looked and the file is not there.
 
Is there an rpm version I can install and where would I get it? I can only find the tar.gz version at CPAN.
 
Any help would be greatly appreciated.
 
Chris
 

Reply via email to