[root@sccmbug root]# perl -MCPAN -eshell cpan shell -- CPAN exploration and modules installation (v1.61) ReadLine support available (try 'install Bundle::CPAN') cpan> force install DBD::mysql CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 08 Jun 2005 11:57:15 GMT Running install for module DBD::mysql Running make for R/RU/RUDY/DBD-mysql-2.9008.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9008.tar.gz ok Scanning cache /root/.cpan/build for sizes DBD-mysql-2.9008/ DBD-mysql-2.9008/t/ DBD-mysql-2.9008/t/60leaks.t DBD-mysql-2.9008/t/40listfields.t DBD-mysql-2.9008/t/10dsnlist.t DBD-mysql-2.9008/t/40numrows.t DBD-mysql-2.9008/t/30insertfetch.t DBD-mysql-2.9008/t/00base.t DBD-mysql-2.9008/t/insertid.t DBD-mysql-2.9008/t/50commit.t DBD-mysql-2.9008/t/40nulls.t DBD-mysql-2.9008/t/dbdadmin.t DBD-mysql-2.9008/t/lib.pl DBD-mysql-2.9008/t/20createdrop.t DBD-mysql-2.9008/t/mysql.dbtest DBD-mysql-2.9008/t/40bindparam.t DBD-mysql-2.9008/t/mysql.t DBD-mysql-2.9008/t/40blobs.t DBD-mysql-2.9008/t/akmisc.t DBD-mysql-2.9008/t/50chopblanks.t DBD-mysql-2.9008/t/ak-dbd.t DBD-mysql-2.9008/t/mysql2.t DBD-mysql-2.9008/lib/ DBD-mysql-2.9008/lib/DBD/ DBD-mysql-2.9008/lib/DBD/mysql/ DBD-mysql-2.9008/lib/DBD/mysql/GetInfo.pm DBD-mysql-2.9008/lib/DBD/mysql/INSTALL.pod DBD-mysql-2.9008/lib/DBD/mysql.pm DBD-mysql-2.9008/lib/Bundle/ DBD-mysql-2.9008/lib/Bundle/DBD/ DBD-mysql-2.9008/lib/Bundle/DBD/mysql.pm DBD-mysql-2.9008/lib/Mysql/ DBD-mysql-2.9008/lib/Mysql/Statement.pm DBD-mysql-2.9008/lib/Mysql.pm DBD-mysql-2.9008/TODO DBD-mysql-2.9008/myld DBD-mysql-2.9008/constants.h DBD-mysql-2.9008/dbdimp.c DBD-mysql-2.9008/dbdimp.h DBD-mysql-2.9008/README DBD-mysql-2.9008/MANIFEST.SKIP DBD-mysql-2.9008/Makefile.PL DBD-mysql-2.9008/META.yml DBD-mysql-2.9008/INSTALL.html DBD-mysql-2.9008/ChangeLog DBD-mysql-2.9008/MANIFEST DBD-mysql-2.9008/mysql.xs Removing previously used /root/.cpan/build/DBD-mysql-2.9008 CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9008.tar.gz $ENV{LANG} is not 'C' execing 'perl Makefile.PL' with ENV{LANG} == 'C' You can skip this check by: 'export LANG='C' before running 'perl Makefile.PL or by upgrading your Perl' I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include -mcpu=pentiumpro 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 Note (probably harmless): No library found for -lmysqlclient Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ at Makefile.PL line 395 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 -mcpu=pentiumpro -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=\"2.9008\" -DXS_VERSION=\"2.9008\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI//Driver.xst > mysql.xsi /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 196 Warning: duplicate function definition 'rows' detected in mysql.xs, line 294 gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ -I/usr/include -mcpu=pentiumpro -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=\"2.9008\" -DXS_VERSION=\"2.9008\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="/usr/lib:/lib" /usr/bin/perl myld gcc -shared -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv chmod 755 blib/arch/auto/DBD/mysql/mysql.so cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs chmod 644 blib/arch/auto/DBD/mysql/mysql.bs Manifying blib/man3/DBD::mysql.3pm Manifying blib/man3/Mysql.3pm Manifying blib/man3/DBD::mysql::INSTALL.3pm Manifying blib/man3/Bundle::DBD::mysql.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base...........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/00base.t line 38 t/00base...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/10dsnlist........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/10dsnlist.t line 45 t/10dsnlist........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay t/20createdrop.....install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/20createdrop.t line 45 t/20createdrop.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t/30insertfetch....install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/30insertfetch.t line 48 t/30insertfetch....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay t/40bindparam......install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at t/40bindparam.t line 64 t/40bindparam......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-28 Failed 28/28 tests, 0.00% okay t/40blobs..........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/40blobs.t line 68 t/40blobs..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay t/40listfields.....install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/40listfields.t line 57 t/40listfields.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-18 Failed 18/18 tests, 0.00% okay t/40nulls..........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/40nulls.t line 50 t/40nulls..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay t/40numrows........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/40numrows.t line 59 t/40numrows........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-25 Failed 25/25 tests, 0.00% okay t/50chopblanks.....install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/50chopblanks.t line 57 t/50chopblanks.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-35 Failed 35/35 tests, 0.00% okay t/50commit.........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/50commit.t line 64 t/50commit.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-30 Failed 30/30 tests, 0.00% okay t/60leaks..........skipped all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not installed t/ak-dbd...........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/ak-dbd.t line 59 t/ak-dbd...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-91 Failed 91/91 tests, 0.00% okay t/akmisc...........Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 1167. Can't locate object method "connect" via package "Mysql" at /root/.cpan/build/DBD-mysql-2.9008/blib/lib/Mysql.pm line 71. t/akmisc...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-352 Failed 352/352 tests, 0.00% okay t/dbdadmin.........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/dbdadmin.t line 74 t/dbdadmin.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-21 Failed 21/21 tests, 0.00% okay t/insertid.........install_driver(mysql) failed: Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/insertid.t line 13 t/insertid.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-12 Failed 12/12 tests, 0.00% okay t/mysql............Can't load '/root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /root/.cpan/build/DBD-mysql-2.9008/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_rollback at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at /root/.cpan/build/DBD-mysql-2.9008/blib/lib/Mysql.pm line 13 Compilation failed in require at /root/.cpan/build/DBD-mysql-2.9008/blib/lib/Mysql.pm line 13. Compilation failed in require at t/mysql.t line 34. BEGIN failed--compilation aborted at t/mysql.t line 34. t/mysql............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-68 Failed 68/68 tests, 0.00% okay t/mysql2...........Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 1167. Use of uninitialized value in subroutine entry at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 1167. Can't locate object method "connect" via package "Mysql" at /root/.cpan/build/DBD-mysql-2.9008/blib/lib/Mysql.pm line 71. t/mysql2...........dubious Test returned status 255 (wstat 65280, 0xff00) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/00base.t 255 65280 5 2 40.00% 4-5 t/10dsnlist.t 255 65280 9 9 100.00% 1-9 t/20createdrop.t 255 65280 5 5 100.00% 1-5 t/30insertfetch.t 255 65280 11 11 100.00% 1-11 t/40bindparam.t 255 65280 28 28 100.00% 1-28 t/40blobs.t 255 65280 11 11 100.00% 1-11 t/40listfields.t 255 65280 18 18 100.00% 1-18 t/40nulls.t 255 65280 11 11 100.00% 1-11 t/40numrows.t 255 65280 25 25 100.00% 1-25 t/50chopblanks.t 255 65280 35 35 100.00% 1-35 t/50commit.t 255 65280 30 30 100.00% 1-30 t/ak-dbd.t 255 65280 91 91 100.00% 1-91 t/akmisc.t 255 65280 352 352 100.00% 1-352 t/dbdadmin.t 255 65280 21 21 100.00% 1-21 t/insertid.t 255 65280 12 12 100.00% 1-12 t/mysql.t 255 65280 68 68 100.00% 1-68 t/mysql2.t 255 65280 ?? ?? % ?? 1 test skipped. Failed 17/18 test scripts, 5.56% okay. 729/732 subtests failed, 0.41% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/.packlist Appending installation info to /usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OK cpan> quit Lockfile removed.