Install Picks Wrong Dir for Include Files

From: Michael Gillis (gillisme_at_GARBAGE.gov.ns.ca)
Date: 02/17/05


Date: Thu, 17 Feb 2005 19:13:32 GMT

Hi,

I am trying to install DBD::mysql

 perl -MCPAN -e 'install DBD::mysql'

Compiling dbdimp.c dies because it can't resolve the header files mysql.h
and errmsg.h. Under the setup it states it will use

cflags (mysql_config) = -I/usr/local/mysql/include/mysql

which is wrong - it should be just /usr/local/mysql/include

Can anyone tell me where it is picking up the extra mysql subdir for the
include files? Note that it also adds the mysql subdir to the library file
definition. Is there any way I can override what it thinks it should be
using?

Thanks,

Michael.
~~~~~~~~~
Remove GARBAGE from email address when replying
~~~~~~~~~
M Gillis
TPW-CITO
Nova Scotia
Canada



Relevant Pages