[ic] MCPAN install failure for DBD::mysql

Matthew Crosswell matthew at compedge.co.nz
Fri Jul 4 18:15:55 EDT 2003


I have not been able to install the DBI::mysql modules back into my
interchange environment after an upgrade to Perl 5.8 and Interchange 4.9.8
running on Redhat 8.1.

Anyone have any ideas as to how to progress from here based on the following
error?

Cheers
Matthew :)

The following is an excerpt from my {perl - MCPAN -e 'install DBD::mysql'}
command.

Using DBI 1.37 installed in
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI
Writing Makefile for DBD::mysql
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI -I'/usr/in
clude' -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/us
r/include/gdbm -O3   -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fpic
"-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE"   dbdimp.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from dbdimp.c:29:
dbdimp.h:31:49: mysql.h: No such file or directory
dbdimp.h:32:49: errmsg.h: No such file or directory
In file included from dbdimp.c:29:
dbdimp.h:116: parse error before "MYSQL"
dbdimp.h:116: warning: no semicolon at end of struct or union
dbdimp.h:127: parse error before '}' token


RESULT WAS --> "/usr/bin/make -- NOT OK"



More information about the interchange-users mailing list