Ken: Thank you for your response. I tried the 'mysql_config' command and got an errot message. I will add 'mysql_config' to the path (if I figure out how!!!).
I noticed that on my installation the 'mysql_config' is in '/usr/local/mysql/bin' directory whereas you have indicated that it should be in '/usr/local/bin' directory! Please clarify!! Two more questions: (1) Since I have doen partial installation, would it hurt if I re-do the entire Perl instalation or start from the command where the errors were encountered? (2) I also have two Client MySQL servers (which connect to master MySQL server for data). Do I also need to install Perl on these Client MySQL Servers? Please remember, I am an IBM mainframe guy & my knowledge of LINUX related soft is pretty low on scale. Thanks. Kirti -----Original Message----- From: Ken Menzel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 3:29 PM To: Kirti S. Bajwa; [EMAIL PROTECTED] Subject: Re: Perl Modelues Hi Kirti, mysql_config tell the perl build module how to link with the driver. The easiest way to fix this is make sure the bin driectory of MySQL is in your path. If you can type 'mysql_config' at the command line and get an answer like: Usage: /usr/local/bin/mysql_config [OPTIONS] Options: etc The perl DBD module should be able to find and use this program to configure itself. If you get a command not found error add the mysql bin driectory to the path. Ken ----- Original Message ----- From: "Kirti S. Bajwa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004 1:53 PM Subject: RE: Perl Modelues > > First a big thanks to Mark, BAO, Beacker, Matthais, Rich & Ken for their > response. > > My problem was that I thought that I needed to download "tar" file to start > the installation. Rich's response somewhat cleared that. I ran the following > commands, and got the following errors: > > % perl -MCPAN -e shell > cpan> install Data::Dumper > cpan> install DBI > (no problem upto this point) > cpan> install DBD::mysql > Errors returned: > > 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 > ... (there are 10 such errors) > > Then few other lines of output without error. Then I get the following > (error) response: > > Checking if your kit is complete... > looks good > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97. > ... (number of such errors) > Note (probabally harmless): No library found for -lmysqlclient > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/5.8.0/ExtUtils/Liblist/Kid.pm line 97. > ... (again quite a number of such errors) > Note (probabally harmless): No library found for -lgz > Writing Makefile for DBD::mysql > Makefile:89: *** missing separator. Stop. > /usr/bin/make --NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible > cpan> > > > > What are these errors? > How should I fix them? > Can I continue installing other software (Apache, qmail, etc.) > > Thanks. > > Kirti > > > > -----Original Message----- > From: Rich Allen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 07, 2004 6:02 PM > To: Kirti S. Bajwa > Cc: '[EMAIL PROTECTED]' > Subject: Re: Perl Modelues > > > you can install Perl modules with > > $ perl -MCPAN -e shell > cpan> install [module::name] > > - hcir > > mysql > > - hcir > On Apr 7, 2004, at 10:57 AM, Kirti S. Bajwa wrote: > > > Hello List: > > > > I have run into stone wall in figuring out installation of Perl DBI > > modules > > with MySQL. When I review the MySQL documentation, 2.7.1 Installing > > Perl on > > Unix, > > it mentions that the "easiest" way to install Perl DBI is to use CPAN. > > However when I go to the link provided in the documentation > > <http://search.cpan.org>, I can't figure out how to find the Perl > > module. > > Can someone show me the light. > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]