[ic] MCPAN install failure for DBD::mysql

Cameron G ritontor at icenet.com.au
Fri Jul 4 14:46:00 EDT 2003

DBD::mysql usually needs to be installed manually - well atleast that's how
it's turned out for me. It won't pass the check unless you supply it with
valid details to test with your mysql server, and if it doesn't pass the
check, it won't automatically install in that cute little CPAN style we all
know and love.

----- Original Message ----- 
From: "Matthew Crosswell" <matthew at compedge.co.nz>
To: <interchange-users at icdevgroup.org>
Sent: Friday, July 04, 2003 1:15 PM
Subject: [ic] MCPAN install failure for DBD::mysql

> 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
> 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"
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

More information about the interchange-users mailing list