Re: Problem with DBI-1.45
"jose isaias cabrera" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <009e01c4cab1$b838f860$258c850d@jicman> |
Minh, according to this group, you need to install the complete MySQL server on that machine that you are installing DBI-1.45. It makes no sense to me, since the MySQL server is a complete different server, so I don't see why I need to install MySQL on a machine that all it's going to do is run some perl script to manage the MySQL server. So, I guess you need to install MySQL server. I am still compiling it on my server, so, I'll let you know in a day or two. :-) I hope that helps. josé ----- Original Message ----- From: "Minh Nguyen" <[email protected]> To: <[email protected]> Sent: Sunday, November 14, 2004 8:15 PM Subject: Problem with DBI-1.45 > > Hi, I have just installed DBI-1.45 but when I run a > Perl > program to connect to MySQL I've got this errror > > install_driver(mysql) failed: Can't locate > DBD/mysql.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.3/i586-linux-thread-multi > /usr/lib/perl5/5.8.3 > /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3 > /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.3 > /usr/lib/perl5/vendor_perl .) 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: DBM, ExampleP, File, Proxy, Sponge. > at mysql.pl line 2 > > Seeing the above error, I think I miss DBD so I also > downloaded DBD. But when I try to do perl Makefile.PL > I've got this error > > 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 mysql.h. Use > > perl Makefile.PL --cflags=-I<dir> > > to set this directory. For details see the > INSTALL.html file, > section "C Compiler flags" or type > > perl Makefile.PL --help > > Does anyone know what's going on? > > Thanks, > > Minh > > > > > > > __________________________________ > Do you Yahoo!? > Check out the new Yahoo! Front Page. > www.yahoo.com > > > > -- > MySQL Perl Mailing List > For list archives: http://lists.mysql.com/perl > To unsubscribe: > http://lists.mysql.com/[email protected] > > -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]