Installing DBD::mysql??

Installing DBD::mysql??

am 18.04.2008 08:10:22 von sanket vaidya

------=_NextPart_000_0019_01C8A149.0CE04CD0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

I cannot instead module using ppm or MCPAN (office proxy wont allow me to do
this) & I have never installed a perl module manually. I am installing
DBD::mysql module. When I get into the module directory & type "perl
makefile.pl" I get error as below:



Failed to determine directory of mysql.h. Use "perl makefile.PL
-cflags=-I

to set this directory.



I have searched for mysql.h file in downloaded module folder but there is no
such file. Can anyone suggest me how to resolve this?



I have mysql 4.1 installed. OS is XP & Perl version is 5.10




------=_NextPart_000_0019_01C8A149.0CE04CD0--

Re: Installing DBD::mysql??

am 18.04.2008 16:15:12 von Joshua Miller

sanket vaidya wrote:
> I cannot instead module using ppm or MCPAN (office proxy wont allow me to do
> this) & I have never installed a perl module manually. I am installing
> DBD::mysql module. When I get into the module directory & type "perl
> makefile.pl" I get error as below:
>
> Failed to determine directory of mysql.h. Use "perl makefile.PL
> -cflags=-I

to set this directory.


It looks like you need the mysql development libraries which provide
mysql.h.

You'll have to find out how your operating system provides these
libraries and install them. On a system with yum, you might issue the
following command:

yum install mysql-devel

HTH,
Josh Miller, RHCE

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/