/scripts/upcp give module DBD::mysql error

neonix

Well-Known Member
Oct 21, 2004
124
2
168
Hi,

/scripts/upcp mails are reporting this error for the past few days...is anyone else facing this problem...what could be the reason for this error?

Mysql is up to date.
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for
/home/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz ok
Scanning cache /home/.cpan/build for sizes
DBD-mysql-3.0001/
DBD-mysql-3.0001/ChangeLog
DBD-mysql-3.0001/constants.h
DBD-mysql-3.0001/dbdimp.c
DBD-mysql-3.0001/dbdimp.h
DBD-mysql-3.0001/INSTALL.html
DBD-mysql-3.0001/lib/
DBD-mysql-3.0001/lib/Bundle/
DBD-mysql-3.0001/lib/Bundle/DBD/
DBD-mysql-3.0001/lib/Bundle/DBD/mysql.pm
DBD-mysql-3.0001/lib/DBD/
DBD-mysql-3.0001/lib/DBD/mysql/
DBD-mysql-3.0001/lib/DBD/mysql/GetInfo.pm
DBD-mysql-3.0001/lib/DBD/mysql/INSTALL.pod
DBD-mysql-3.0001/lib/DBD/mysql.pm
DBD-mysql-3.0001/lib/Mysql/
DBD-mysql-3.0001/lib/Mysql/Statement.pm
DBD-mysql-3.0001/lib/Mysql.pm
DBD-mysql-3.0001/Makefile.PL
DBD-mysql-3.0001/Makefile.PL.embedded
DBD-mysql-3.0001/MANIFEST
DBD-mysql-3.0001/MANIFEST.SKIP
DBD-mysql-3.0001/META.yml
DBD-mysql-3.0001/myld
DBD-mysql-3.0001/mysql.xs
DBD-mysql-3.0001/README
DBD-mysql-3.0001/t/
DBD-mysql-3.0001/t/00base.t
DBD-mysql-3.0001/t/10dsnlist.t
DBD-mysql-3.0001/t/20createdrop.t
DBD-mysql-3.0001/t/30insertfetch.t
DBD-mysql-3.0001/t/35limit.t
DBD-mysql-3.0001/t/40bindparam.t
DBD-mysql-3.0001/t/40blobs.t
DBD-mysql-3.0001/t/40listfields.t
DBD-mysql-3.0001/t/40nulls.t
DBD-mysql-3.0001/t/40numrows.t
DBD-mysql-3.0001/t/41blobs_prepare.t
DBD-mysql-3.0001/t/50chopblanks.t
DBD-mysql-3.0001/t/50commit.t
DBD-mysql-3.0001/t/60leaks.t
DBD-mysql-3.0001/t/ak-dbd.t
DBD-mysql-3.0001/t/akmisc.t
DBD-mysql-3.0001/t/dbdadmin.t
DBD-mysql-3.0001/t/insertid.t
DBD-mysql-3.0001/t/lib.pl
DBD-mysql-3.0001/t/mysql.dbtest
DBD-mysql-3.0001/t/mysql.t
DBD-mysql-3.0001/t/mysql2.t
DBD-mysql-3.0001/TODO
Removing previously used /home/.cpan/build/DBD-mysql-3.0001

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-3.0001.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -mcpu=i486
-fno-strength-reduce
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz
-lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files
-lnss_dns -lresolv
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

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

Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008 on i386-linux-thread-multi) installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/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
gcc -c
-I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
-mcpu=i686 -DVERSION=\"3.0001\" -DXS_VERSION=\"3.0001\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:2775: `MYSQL_BIND' undeclared (first use in this function)
dbdimp.c:2775: (Each undeclared identifier is reported only once
dbdimp.c:2775: for each function it appears in.)
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
DBD::mysql
 

ngchandak

Well-Known Member
Apr 5, 2005
54
0
156
India
Run the /script/updatenow before running the upcp script. It will help you.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
/scripts/updatenow has nothing to do with that. It is up to the cpan mirror that perlinstaller uses as to when you'll get the latest version that is OK.