On Fri, Mar 29, 2002 at 05:47:56PM +1200, Phil G wrote: > Hello all, > > I have been tring to get perl to connect to a mysql database but have been having >problems. > > Firstly my system is raq4i with mysql, php, perl installed. > > The problem i am facing is when i run the command > perl -MCPAN -e 'install Bundle::DBD::mysql' > > it throws the following error at me: > Can't exec "mysql_config": No such file or directory at Makefile.PL line 167. > Can't exec "mysql_config": No such file or directory at Makefile.PL line 167. > Can't exec "mysql_config": No such file or directory at Makefile.PL line 167. > Can't exec "mysql_config": No such file or directory at Makefile.PL line 167. > Can't exec "mysql_config": No such file or directory at Makefile.PL line 167. > Failed to determine directory of mysql.h. Use > > Any help would be great!! > > Thanks, > Phil G
Line 167 in the Makefile.PL file appears to attempt to execute mysql_config file, and it cannot find it. In my RH 7.1 the file can be found in the /usr/bin directory and it is installed by the MySQL package itself: [root@milan /root]# locate mysql_config /usr/bin/mysql_config [root@milan /root]# rpm -qf /usr/bin/mysql_config mysql-3.23.36-1 Are you sure you successfully installed MySQL on the system? In any case, you may be better off by downloading the RPM for DBD::mysql from rpmfind.net and installing that way. [root@milan /root]# rpm -qa | grep -i mysql mysql-3.23.36-1 mysql-server-3.23.36-1 php-mysql-4.0.4pl1-9 perl-DBD-MySQL-1.2215-1 mysql-devel-3.23.36-1 mysqlclient9-3.23.22-4 ---------------- Nitebirdz Mozilla--> http://www.mozilla.org/ Linux XFS--> http://oss.sgi.com/projects/xfs/ _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list