MySQL Forums
Forum List  »  Perl

need help installing DBD::mysql
Posted by: naz barriga
Date: January 04, 2005 09:08PM

i am having trouble installing DBD::mysql on my system under windows 2000 perl 5.8
i know that my system misses its mysql client libraries.


C:\dbdmy2.9004>perl makefile.pl --cflags="-IC:\mysql1\inlclude\ Imysql.h" --libs
="-LC:\mysql1\lib\debug\Lmysqlclient.lib
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
'mysql_config' is not recognized as an internal or external command,
operable program or batch file.
I will use the following settings for compiling and testing:

cflags (Users choice) = -IC:\mysql1\inlclude\ Imysql.h
libs (Users choice) = -LC:\mysql1\lib\debug\Lmysqlclient.lib
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.45 (for perl 5.008004 on MSWin32-x86-multi-thread) installed in c:/P
erl/site/lib/auto/DBI/
Writing Makefile for DBD::mysql

as you can see id try to check all linker flags and its libraries.
but i dont how to set up mysql_config?
would someone help me pls.....................
best regard.

Options: ReplyQuote


Subject
Written By
Posted
need help installing DBD::mysql
January 04, 2005 09:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.