Error in DBD::Mysql

Error in DBD::Mysql

am 27.03.2006 12:08:38 von Indraveni

--0-1936878002-1143454118=:13501
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,

I am using Linux Operating system and lampp tool for apache,php,mysql and perl. I am tring to install bugzilla. So when i tried to install the DBD:Mysql module it is showing the following error:

perl Makefile.PL
Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 454.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I



to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help

I tried to show the path of mysql_config to perl
by giving perl Makefile.pl --mysql_config=/opt/lampp/bin/mysql_config

It is showing the following error::

perl Makefile.PL --mysql_config=/opt/lampp/bin/mysql_config
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/opt/lampp/include/mysql -I/opt/lampp/include -L/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib
embedded (mysql_config) =
libs (mysql_config) = -L/opt/lampp/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/opt/lampp/lib -lssl -lcrypto
mysql_config (Users choice) = /opt/lampp/bin/mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

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

Multiple copies of Driver.xst found in: /usr/local/lib/perl/5.8.4/auto/DBI/ /usr/lib/perl5/auto/DBI/ at Makefile.PL line 727
Using DBI 1.50 (for perl 5.008004 on i386-linux-thread-multi) installed in /usr/local/lib/perl/5.8.4/auto/DBI/
Writing Makefile for DBD::mysql

Can any one help me please.





---------------------------------
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
--0-1936878002-1143454118=:13501--

Re: Error in DBD::Mysql

am 28.03.2006 00:24:38 von Rudy Lippan

5A
On Mon, 27 Mar 2006, Indraveni wrote:

> Date: Mon, 27 Mar 2006 11:08:38 +0100 (BST)
> From: Indraveni
> To: perl@lists.mysql.com
> Subject: Error in DBD::Mysql
>
> Hi,
>
> I am using Linux Operating system and lampp tool for apache,php,mysql and perl. I am tring to install bugzilla. So when i tried to install the DBD:Mysql module it is showing the following error:
>
> perl Makefile.PL
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.


You need to have mysql_config in your path. mysql_config is a program that comes
with mysql and it tells DBB::mysql where to find the includes & library files
for the bild process.


-r

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org