Gossamer Forum
Home : General : Databases and SQL :

DBD Installation error on Red Hat 7.2

Quote Reply
DBD Installation error on Red Hat 7.2
I am running Red Hat 7.2, I have checked http://ethesys.lib.nsysu.edu.tw/...-Module/INSTALL.html link to see what is going on as described in the previous discussions. Plz let me know what is going on: here are the error it gives me: I did Perl Makefile.PL --testdb = test and all the switches. I must have been doing something wrong. thanks in advance. Wond [root@plesk root]# gzip -dc DBD-mysql-2.1017.tar.gz | tar -xof -
[root@plesk root]# cd DBD-mysql-2.1017
[root@plesk DBD-mysql-2.1017]# perl Makefile.PL
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle main::PIPE at Makefile.PL line 171.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>


Quote Reply
Re: [wondewossen] DBD Installation error on Red Hat 7.2 In reply to
You installed mysql first right?

http://search.yahoo.com/...Makefile.PL+line+169
Quote Reply
Re: [Paul] DBD Installation error on Red Hat 7.2 In reply to
Yes Paul give us a link but I still couldn't figure out what is going on, I keep on getting the same problem, I did install mysql and it is running perfect, I am just couldn't use DBI to connect from the browser.

thanks again

Wond
Quote Reply
Re: [wondewossen] DBD Installation error on Red Hat 7.2 In reply to
Try the following from your ssh/telnet account:

locate mysql_config

Does anything show up?
Quote Reply
Re: [Paul] DBD Installation error on Red Hat 7.2 In reply to
Nope, thing comes up, I tired to find mysql_config too, it is no where in my machine.

Wond
Quote Reply
Re: [wondewossen] DBD Installation error on Red Hat 7.2 In reply to
yes Paul ansered this the same question in his previouse response, but I couldn't able to get anything working after going through what Paul said. I don't get anything when I say loacate mysql_config.

thanks

Wond