Re: Problem with DBI-1.45

Minh Nguyen <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
I have already installed MySQL server and client 4.1. 
I can run the command line fine. However, one thing 
I don't understand is that I can not find the
directory
/usr/local/mysql, which should exist right?

Minh

> 
> 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]
> 
> 



		
__________________________________ 
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.