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]

Reply via email to