perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ell...@iinet.net.au
Subject Re: DBD::mysql
Date Fri, 01 Mar 2002 06:38:35 GMT
> Got A Prob When Compileing DBD::mysql

Not really an ASP problem

DBD::mysql has always worked out of the box for me...
could it be a problem either with the way mysql is installed on your 
machine or the way DBD::mysql has been ./configured ?

Try working back making sure mysql is all fine first (ie you can run mysql 
client etc). If not then re-install. Once thats proven trying downloading 
the DBD bundle and installing it fresh

Alternatively add another -I directive after finding which dir the 
mysql .h files are with something like 'find / -name mysql.h'. Adding the -
I directive might be an option to ./configure, I can't recall.

HTH

Ellers

> 
> [root@main DBD-mysql-2.1011]# make
> cc -c -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -
I'/usr/in
> clude/mysql' -fno-strict-aliasing -I/usr/local/include -
D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=3D64 -O2   -DVERSION=3D\2.1011\ -DXS_VERSION=3D\2.10
> 11\ -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE  dbdimp.c
> In file included from dbdimp.c:29:
> dbdimp.h:31:48: mysql.h: No such file or directory
> dbdimp.h:32:49: errmsg.h: No such file or directory
> make: *** [dbdimp.o] Error 1
> 
> the files i even moved them in the same dir as the .o file

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message