PDA

View Full Version : Error Install DBD::mysql


oller
01-18-03, 12:08
Hi,

I tried installing it manually, so

# perl Makefile.PL --cflags=-I/opt/mysql/include/mysql "--libs=-L/opt/mysql/lib/mysql -lmysqlclient -lz"

Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
readline() on closed filehandle 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 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 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 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 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 PIPE at Makefile.PL line 171.
I will use the following settings for compiling and testing:

cflags (Users choice) = -I/opt/mysql/include/mysql
libs (Users choice) = -L/opt/mysql/lib/mysql -lmysqlclient -lz
nocatchstderr (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Using DBI 1.32 installed in /opt/Perl5.8/lib/perl5/site_perl/5.8.0/i386-freebsd/auto/DBI
Writing Makefile for DBD::mysql

what have I done wrong here?

Bernd Dulfer
01-21-03, 03:38
Using DBI 1.32 installed in /opt/Perl5.8/lib/perl5/site_perl/5.8.0/i386-freebsd/auto/DBI
Writing Makefile for DBD::mysql

what have I done wrong here?

Probably nothing.
There should be a Makefile now.

Just try:
make
make test

If there are no errors:
make install

If there are errors, come back with them.

rgds
Bernd

oller
01-21-03, 07:40
Originally posted by Bernd Dulfer
Probably nothing.
There should be a Makefile now.

Just try:
make
make test

If there are no errors:
make install

If there are errors, come back with them.

rgds
Bernd

Tks, Bernd