*bossert@$#$#$#$#$# DBD-mysql-4.026 $ perl Makefile.PL --testuser=test --testpassword=password --libs="-L/tmp/mysql-static -lmysqlclient" --cflags -I/usr/include/mysql
I will use the following settings for compiling and testing:
cflags (User's choice) = -I/usr/include/mysql
embedded (mysql_config ) =
libs (User's choice) = -L/tmp/mysql-static -lmysqlclient
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (User's choice) = password
testport (default ) =
testsocket (default ) =
testuser (User's choice) = test
To change these settings, see 'perl Makefile.PL --help' and 'perldoc DBD::mysql::INSTALL'.
Checking if your kit is complete...
Warning: the following files are missing in your kit:
META.json
Please inform the author.
Using DBI 1.631 (for perl 5.016003 on x86_64-linux-thread-multi-ld) installed in /tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi-ld/auto/DBI/
Generating a Unix-style Makefile
Writing Makefile for DBD::mysql
Writing MYMETA.yml and MYMETA.json
*bossert@$#$#$#$#$ DBD-mysql-4.026 $ make
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp README.pod blib/lib/DBD/README.pod
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
cc -c -I/tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi-ld/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"4.026\" -DXS_VERSION=\"4.026\" -fPIC "-I/tempssd/bossert/perl/lib/5.16.3/x86_64-linux-thread-multi-ld/CORE" dbdimp.c
dbdimp.c: In function ‘mysql_describe’:
dbdimp.c:3676: warning: assignment from incompatible pointer type
/tempssd/bossert/perl/bin/perl -p -e "s/~DRIVER~/mysql/g" /tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi-ld/auto/DBI/Driver.xst > mysql.xsi
/tempssd/bossert/perl/bin/perl /tempssd/bossert/perl/lib/site_perl/5.16.3/ExtUtils/xsubpp -typemap /tempssd/bossert/perl/lib/5.16.3/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 242
Warning: duplicate function definition 'rows' detected in mysql.xs, line 754
cc -c -I/tempssd/bossert/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi-ld/auto/DBI -I/usr/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"4.026\" -DXS_VERSION=\"4.026\" -fPIC "-I/tempssd/bossert/perl/lib/5.16.3/x86_64-linux-thread-multi-ld/CORE" mysql.c
rm -f blib/arch/auto/DBD/mysql/mysql.so
/tempssd/bossert/perl/bin/perl myld cc -shared -O2 -L/usr/local/lib -fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/tmp/mysql-static -lmysqlclient \
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
/tempssd/bossert/perl/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644
Manifying blib/man3/DBD::README.3
Manifying blib/man3/Bundle::DBD::mysql.3
Manifying blib/man3/DBD::mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
*bossert@#$#$#$# DBD-mysql-4.026 $ make test
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
PERL_DL_NONLAZY=1 /tempssd/bossert/perl/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.t ........................... 1/6 Bailout called. Further testing stopped: Unable to load DBD::mysql
# Failed test 'use DBD::mysql;'
# at t/00base.t line 18.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/users/bossert/.cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.026/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: /users/bossert/.cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.026/blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: __cxa_pure_virtual at /tempssd/bossert/perl/lib/5.16.3/x86_64-linux-thread-multi-ld/DynaLoader.pm line 190.

# at t/00base.t line 18.
# Compilation failed in require at t/00base.t line 18.
# BEGIN failed--compilation aborted at t/00base.t line 18.
FAILED--Further testing stopped: Unable to load DBD::mysql
make: *** [test_dynamic] Error 255