2 messages in com.mysql.lists.perlRe: trying to install DBD::mysql
FromSent OnAttachments
Andreas Epple14 Jun 2001 09:10 
Char...@nysd.uscourts.gov14 Jun 2001 09:46 
Subject:Re: trying to install DBD::mysql
From:Char...@nysd.uscourts.gov (Char@nysd.uscourts.gov)
Date:06/14/2001 09:46:16 AM
List:com.mysql.lists.perl

I think this is easy to correct... the installation can't find mysql.h (and errmsg.h for the same reason). Just do a search for mysql.h (find / -name mysql.h -print) and make sure it's in the path for the installation to find it. I can't remember the exact directory structure that gave me this same error a couple of years ago, but supposing the program expects to find mysql.h in "/usr/local/mysql/lib", and it's actually located in "/usr/local/mysql/include", all you need is a link, ln -s "/usr/local/mysql/include/mysql.h "/usr/local/mysql/lib/mysql.h" The same goes for errmsg.h. Another way would be to set the PATH correctly. At least, this is what fixed my problem, as I recall.

ck

Andreas Epple <aep@aip.org> on 06/14/2001 12:10:39 PM

To: msql@lists.mysql.com cc: (bcc: Charles Kirby/Usdcsdny)

Subject: trying to install DBD::mysql

.... on a solaris 8 box running with a mysql server intsalled with the binary version. On running make i get;

gcc -c -I/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/DBI -I/disk0/mysql-3.23.33-sun-solaris2.7-sparc -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.0901\" -DXS_VERSION=\"2.0901\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE dbdimp.c In file included from dbdimp.c:29: dbdimp.h:31: mysql.h: No such file or directory dbdimp.h:32: errmsg.h: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `dbdimp.o'

Any help is greatly appreciated.

-Andreas