Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 7026
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: mcmullen [...] florin.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.9004_2
Fixed in: (no value)



Subject: Can't exec "mysql_config": No such file or directory at Makefile.PL
* perl, v5.8.1 built for i386-linux-thread-multi * CPAN install: DBD::mysql * Linux 2.4.22-32mdk Show quoted text
cpan> install DBD::mysql
Running install for module DBD::mysql Running make for R/RU/RUDY/DBD-mysql-2.9004.tar.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/R/RU/RUDY/DBD-mysql-2.9004.tar.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/R/RU/RUDY/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9004.tar.gz ok DBD-mysql-2.9004/ DBD-mysql-2.9004/t/ DBD-mysql-2.9004/t/mysql2.t DBD-mysql-2.9004/t/akmisc.t DBD-mysql-2.9004/t/60leaks.t DBD-mysql-2.9004/t/10dsnlist.t DBD-mysql-2.9004/t/ak-dbd.t DBD-mysql-2.9004/t/50chopblanks.t DBD-mysql-2.9004/t/mysql.t DBD-mysql-2.9004/t/lib.pl DBD-mysql-2.9004/t/40blobs.t DBD-mysql-2.9004/t/40nulls.t DBD-mysql-2.9004/t/insertid.t DBD-mysql-2.9004/t/40listfields.t DBD-mysql-2.9004/t/40bindparam.t DBD-mysql-2.9004/t/mysql.dbtest DBD-mysql-2.9004/t/dbdadmin.t DBD-mysql-2.9004/t/20createdrop.t DBD-mysql-2.9004/t/00base.t DBD-mysql-2.9004/t/30insertfetch.t DBD-mysql-2.9004/t/40numrows.t DBD-mysql-2.9004/t/50commit.t DBD-mysql-2.9004/t/mysql.mtest DBD-mysql-2.9004/MANIFEST DBD-mysql-2.9004/myld DBD-mysql-2.9004/dbdimp.c DBD-mysql-2.9004/lib/ DBD-mysql-2.9004/lib/DBD/ DBD-mysql-2.9004/lib/DBD/mysql/ DBD-mysql-2.9004/lib/DBD/mysql/GetInfo.pm DBD-mysql-2.9004/lib/DBD/mysql/INSTALL.pod DBD-mysql-2.9004/lib/DBD/mysql.pm DBD-mysql-2.9004/lib/Mysql/ DBD-mysql-2.9004/lib/Mysql/Statement.pm DBD-mysql-2.9004/lib/Bundle/ DBD-mysql-2.9004/lib/Bundle/DBD/ DBD-mysql-2.9004/lib/Bundle/DBD/mysql.pm DBD-mysql-2.9004/lib/Mysql.pm DBD-mysql-2.9004/dbdimp.h DBD-mysql-2.9004/mysql.xs DBD-mysql-2.9004/MANIFEST.SKIP DBD-mysql-2.9004/README DBD-mysql-2.9004/INSTALL.html DBD-mysql-2.9004/META.yml DBD-mysql-2.9004/Makefile.PL DBD-mysql-2.9004/ChangeLog DBD-mysql-2.9004/constants.h DBD-mysql-2.9004/TODO CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9004.tar.gz Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Failed to determine directory of mysql.h. Use perl Makefile.PL --cflags=-I<dir> to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
From: nkcbalaji [...] sify.com
Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Failed to determine directory of mysql.h. Use perl Makefile.PL --cflags=-I<dir> to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help
On Tue Jul 20 08:56:36 2004, guest wrote: Show quoted text
> * perl, v5.8.1 built for i386-linux-thread-multi > * CPAN install: DBD::mysql > * Linux 2.4.22-32mdk >
> cpan> install DBD::mysql
> > Running install for module DBD::mysql > Running make for R/RU/RUDY/DBD-mysql-2.9004.tar.gz > Fetching with LWP: > ftp://ftp.perl.org/pub/CPAN/authors/id/R/RU/RUDY/DBD-mysql- > 2.9004.tar.gz > Fetching with LWP: > ftp://ftp.perl.org/pub/CPAN/authors/id/R/RU/RUDY/CHECKSUMS > Checksum for /root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql- > 2.9004.tar.gz ok > DBD-mysql-2.9004/ > DBD-mysql-2.9004/t/ > DBD-mysql-2.9004/t/mysql2.t > DBD-mysql-2.9004/t/akmisc.t > DBD-mysql-2.9004/t/60leaks.t > DBD-mysql-2.9004/t/10dsnlist.t > DBD-mysql-2.9004/t/ak-dbd.t > DBD-mysql-2.9004/t/50chopblanks.t > DBD-mysql-2.9004/t/mysql.t > DBD-mysql-2.9004/t/lib.pl > DBD-mysql-2.9004/t/40blobs.t > DBD-mysql-2.9004/t/40nulls.t > DBD-mysql-2.9004/t/insertid.t > DBD-mysql-2.9004/t/40listfields.t > DBD-mysql-2.9004/t/40bindparam.t > DBD-mysql-2.9004/t/mysql.dbtest > DBD-mysql-2.9004/t/dbdadmin.t > DBD-mysql-2.9004/t/20createdrop.t > DBD-mysql-2.9004/t/00base.t > DBD-mysql-2.9004/t/30insertfetch.t > DBD-mysql-2.9004/t/40numrows.t > DBD-mysql-2.9004/t/50commit.t > DBD-mysql-2.9004/t/mysql.mtest > DBD-mysql-2.9004/MANIFEST > DBD-mysql-2.9004/myld > DBD-mysql-2.9004/dbdimp.c > DBD-mysql-2.9004/lib/ > DBD-mysql-2.9004/lib/DBD/ > DBD-mysql-2.9004/lib/DBD/mysql/ > DBD-mysql-2.9004/lib/DBD/mysql/GetInfo.pm > DBD-mysql-2.9004/lib/DBD/mysql/INSTALL.pod > DBD-mysql-2.9004/lib/DBD/mysql.pm > DBD-mysql-2.9004/lib/Mysql/ > DBD-mysql-2.9004/lib/Mysql/Statement.pm > DBD-mysql-2.9004/lib/Bundle/ > DBD-mysql-2.9004/lib/Bundle/DBD/ > DBD-mysql-2.9004/lib/Bundle/DBD/mysql.pm > DBD-mysql-2.9004/lib/Mysql.pm > DBD-mysql-2.9004/dbdimp.h > DBD-mysql-2.9004/mysql.xs > DBD-mysql-2.9004/MANIFEST.SKIP > DBD-mysql-2.9004/README > DBD-mysql-2.9004/INSTALL.html > DBD-mysql-2.9004/META.yml > DBD-mysql-2.9004/Makefile.PL > DBD-mysql-2.9004/ChangeLog > DBD-mysql-2.9004/constants.h > DBD-mysql-2.9004/TODO > > CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9004.tar.gz > > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 174. > readline() on closed filehandle PIPE at Makefile.PL line 176. > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 174. > readline() on closed filehandle PIPE at Makefile.PL line 176. > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 174. > readline() on closed filehandle PIPE at Makefile.PL line 176. > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 174. > readline() on closed filehandle PIPE at Makefile.PL line 176. > Can't exec "mysql_config": No such file or directory at Makefile.PL > line 174. > readline() on closed filehandle PIPE at Makefile.PL line 176. > Failed to determine directory of mysql.h. Use > > perl Makefile.PL --cflags=-I<dir> > > to set this directory. For details see the INSTALL.html file, > section "C Compiler flags" or type > > perl Makefile.PL --help > Running make test > Make had some problems, maybe interrupted? Won't test > Running make install > Make had some problems, maybe interrupted? Won't install > >
Add mysql_config to your path. Look in your MySQL installation directory in bin/. Make sure that's executable.