waxox
03-13-2001, 04:57 AM
I am running into some problems installing the mysql module for the perl DBI on RH 7.
I am running into trouble with the Makefile.pl program. The program Makefile.pl needs to know where a couple of files are located (mysql.h && libmysqlclient.a or.so). I posted the output from the program at the bottom of this post.
First there is no mysql.h header file on my machine (so I made one && that worked ..so far). Second there is no libmysqlclient.a file on my machine. I have not been able to get around this problem. Here is the output of the Makfiel.pl program:
[my_bash_shell]# perl Makefile.pl
Which drivers do you want to install?
1) MySQL only
2) mSQL only (either of mSQL 1 or mSQL 2)
3) MySQL and mSQL (either of mSQL 1 or mSQL 2)
4) mSQL 1 and mSQL 2
5) MySQL, mSQL 1 and mSQL 2
Enter the appropriate number: [3] 1
Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n] n
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr] /usr/
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'lib'. [/usr/] /usr/
Cannot find one of lib/mysql/libmysqlclient.a, lib/libmysqlclient.a, lib/mysql/libmysqlclient.so, lib/libmysqlclient.so in /usr/ at lib/DBD/mysql/Install.pm line 165, <STDIN> line 4.
[my_bash_shell]#
ps. I already have the perl DBI, Data-Dumper and Data-ShowTable modules installed with no problems (I tested && tested again).
:)
I am running into trouble with the Makefile.pl program. The program Makefile.pl needs to know where a couple of files are located (mysql.h && libmysqlclient.a or.so). I posted the output from the program at the bottom of this post.
First there is no mysql.h header file on my machine (so I made one && that worked ..so far). Second there is no libmysqlclient.a file on my machine. I have not been able to get around this problem. Here is the output of the Makfiel.pl program:
[my_bash_shell]# perl Makefile.pl
Which drivers do you want to install?
1) MySQL only
2) mSQL only (either of mSQL 1 or mSQL 2)
3) MySQL and mSQL (either of mSQL 1 or mSQL 2)
4) mSQL 1 and mSQL 2
5) MySQL, mSQL 1 and mSQL 2
Enter the appropriate number: [3] 1
Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n] n
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr] /usr/
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'lib'. [/usr/] /usr/
Cannot find one of lib/mysql/libmysqlclient.a, lib/libmysqlclient.a, lib/mysql/libmysqlclient.so, lib/libmysqlclient.so in /usr/ at lib/DBD/mysql/Install.pm line 165, <STDIN> line 4.
[my_bash_shell]#
ps. I already have the perl DBI, Data-Dumper and Data-ShowTable modules installed with no problems (I tested && tested again).
:)