hrm, sorry....  I meant to say the library/dev/include files for MySQL
itself (the Server/Client).

-Matt

-----Original Message-----
From: Matthew Walkup [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 11:32 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Problems with DBD::mysql


Just a suggestion, I ran into similar problems but I dont remember if they
are the same.  Be sure to have the library/dev /include files installed and
specify the diretory they are in in the MakeFile.pl or whatever it uses.
You may have to install manually after getting the package from CPAN.

Hope it helps,

Matthew Walkup
[EMAIL PROTECTED]

-----Original Message-----
From: joni [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 11:16 AM
To: [EMAIL PROTECTED]
Subject: Problems with DBD::mysql


Hello,

I hope someone can give me a hand with this...

I'm trying to use DBI to connect to our mysql database, but according to the
error messages DBI module wasn't installed. So I used CPAN to install it and
ended up recompiling perl etc.

To cut long story short, even after installing DBI i got error messages
like:

"install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
contains:  /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/) at (eval 1) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: ExampleP, Proxy."

I tired to install DBD::mysql on it's own via CPAN shell, but something
seemed to go wrong:

"In file included from dbdimp.c:29:
dbdimp.h:31:49: mysql.h: No such file or directory
dbdimp.h:32:49: errmsg.h: No such file or directory
make: *** [dbdimp.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status
Running make install
  Oops, make had returned bad status
Warning: Cannot install configure, don't know what it is. "

Does anyone have any pointers on how to get out of this mess?

Much appreciated!

Cheers,

Joni


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to