>>>Failed to determine directory of libmysqlclient.a|libmysqlclient.so. Use
>>>
>>> perl Makefile.PL "--libs=-L<dir> -lmysqlclient"
>>Он же говорит как прописать вручную библиотеку.
cpan> install DBD::mysql
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 13 Apr 2004 21:51:42 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://cpan.rinet.ru/pub/mirror/CPAN/authors/01mailrc.txt.gz
==skip==
DBD-mysql-2.9003/ChangeLog
DBD-mysql-2.9003/constants.h
DBD-mysql-2.9003/TODO
Removing previously used /root/.cpan/build/DBD-mysql-2.9003
CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.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.
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 libmysqlclient.a|libmysqlclient.so. Use
perl Makefile.PL "--libs=-L<dir> -lmysqlclient"
to set this directory. For details see the INSTALL.html file,
section "Linker 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
Пробовал вручную прописывать пути как он говорит -
srv:/data/ftp/upload/perl_mods/DBD-mysql-2.9003# perl Makefile.PL --libs=-L/usr/libs
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.
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.
I will use the following settings for compiling and testing:
cflags (guessed ) = -I/usr/local/include
libs (Users choice) = -L/usr/libs
nocatchstderr (default ) = 0
nofoundrows (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.42 (for perl 5.008003 on i686-linux) installed in /usr/lib/perl5/site_perl/5.8.3/i686-linux/auto/DBI
Writing Makefile for DBD::mysql
srv:/data/ftp/upload/perl_mods/DBD-mysql-2.9003#
Вроде всетаки создает makefile ... далее
srv:/data/ftp/upload/perl_mods/DBD-mysql-2.9003# make
cc -c -I/usr/lib/perl5/site_perl/5.8.3/i686-linux/auto/DBI -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fpic "-I/usr/lib/perl5/5.8.3/i686-linux/CORE" dbdimp.c
In file included from dbdimp.h:21,
from dbdimp.c:19:
/usr/local/include/mysql.h:68: mysql_com.h: No such file or directory
/usr/local/include/mysql.h:69: mysql_version.h: No such file or directory
make: *** [dbdimp.o] Error 1
srv:/data/ftp/upload/perl_mods/DBD-mysql-2.9003#
Опять ниху я.