[ic] DBD::mysql install problems

DB DB at M-and-D.com
Wed Mar 5 14:06:09 EST 2008


I have a fresh install of Centos 5.1 on a multi-cpu 64-bit machine. I've 
installed a separate perl 5.8.8 without threads. A 'which perl' gives me 
/usr/local/bin/perl

I was able to compile and install IC 5.4.2. When I try to start IC with 
my test catalog (which uses mysql), I get the following error:

config error: Required Perl module DBD::mysql not present. Aborting 
catalog. In line 2 of the configuration file 'dbconf/mysql/mysql.cfg':

perl -MCPAN -e 'install "DBD::mysql"' fails with:

Can't locate DBI/DBD.pm in @INC (@INC contains: 
/usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 
/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) 
at Makefile.PL line 23.


So I downloaded DBD-mysql-2.1012 and tried to install manually:

# perl Makefile.PL
I will use the following settings for compiling and testing:

   cflags        (mysql_config) = -I/usr/include/mysql -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
   libs          (mysql_config) = -L/usr/lib64/mysql -lmysqlclient -lz 
-lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
   nocatchstderr (default     ) = 0
   testdb        (default     ) = test
   testhost      (default     ) =
   testpassword  (default     ) =
   testuser      (default     ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.


WARNING: EXE_FILES takes a array reference not a string/number.
          Please inform the author.
Checking if your kit is complete...
Looks good
Warning: prerequisite DBI 1.08 not found.
Can't use string ("dbimon pmysql") as an ARRAY ref while "strict refs" 
in use at /usr/local/lib/perl5/5.8.8/ExtUtils/MM_Unix.pm line 1388.

But perl -MCPAN -e 'install "DBI"' completes.

Can anyone assist ?




More information about the interchange-users mailing list