Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

w2ksp4.exe, WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF

Links

XODOX
Impressum

#1: Installing DBD::mysql??

Posted on 2008-04-18 08:10:22 by 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<dir> 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--

Report this message

#2: Re: Installing DBD::mysql??

Posted on 2008-04-18 16:15:12 by 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<dir> 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/

Report this message