You can also make sure that mysql-config is in your path. Then DBD::mysql
should be able to extract the information that it is looking for.

Rudy


On Tue, 24 Jun 2003 [EMAIL PROTECTED] wrote:

> Date: Tue, 24 Jun 2003 10:21:12 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: RE: PERL/DBI Help
> 
> And yes, I know it's www.mysql.com, not .org!  My bad.
> 
> For example:
>       http://www.mysql.com/downloads/mysql-4.1.html
> (depending on the version of MySQL you are using).
> 
> and look for 'Libraries and Headers' in the Linux RPMs section.
> 
> Headers are not generally available (and if you get them they have to be the right 
> version) so I would suggest building the whole thing from source because you have 
> control over the optional features.
> 
> Greg
> 
> Gregory L. Hering
> (256) 722-6420
> 4807 Bradford Dr
> Benchmark Electronics, Inc.
> Hunvtsville, Al 35805
>  
> 
> -----Original Message-----
> From: Hering, Greg 
> Sent: Tuesday, June 24, 2003 9:36 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: PERL/DBI Help
> 
> I think you need the mysql source, my friend.
> Unless you can just download the include files... which I think is possible.
> Check mysql.org.
> 
> Gregory L. Hering
> (256) 722-6420
> 4807 Bradford Dr
> Benchmark Electronics, Inc.
> Hunvtsville, Al 35805
>  
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 24, 2003 9:08 AM
> To: [EMAIL PROTECTED]
> Subject: PERL/DBI Help
> 
> 
> I've now downloaded DBD-mysql-2.1027 into a directory called /u2/anthony I now run 
> perl Makefile.PL from /u2/anthony/DBD-mysql-2
> 
> I  now recieve this error:
> 
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
> readline() on closed filehandle main::PIPE at Makefile.PL line 171.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
> readline() on closed filehandle main::PIPE at Makefile.PL line 171.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
> readline() on closed filehandle main::PIPE at Makefile.PL line 171.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
> readline() on closed filehandle main::PIPE at Makefile.PL line 171.
> Can't exec "mysql_config": No such file or directory at Makefile.PL line 169.
> readline() on closed filehandle main::PIPE at Makefile.PL line 171.
> 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
> 
> AAAARRRRRGGGGGG Help
> 
> Thanks for your help so far.
> 
> 
> 
> Chris Kearns (Operations Assistant)
> 
> Voice Media Limited
> 
> Telephone Number: 01923 815 075
> 
> Internal Telephone Number: 2075
> 
> Out Of Office Number: 07050 823 823
> 
> Fax Number: 01923 815 116
> 
> E-Mail: [EMAIL PROTECTED]
> 
> Web Site: www.voicemedia.co.uk
> 
> *'Figures are purely indicative, for information only and subject to verification'
> 
> 
> 
> 

Reply via email to