#./mysqlmonlite.sh
----------------------------------------------------------
Detected missing perl DBD::mysql module
Installing missing perl module...
----------------------------------------------------------
perl -MCPAN -e 'install DBD::mysql'
CPAN: Storable loaded ok (v2.20)
Reading '/home/.cpan/Metadata'
Database was generated on Mon, 26 May 2014 02:06:08 GMT
Running install for module 'DBD::mysql'
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /home/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.58)
DBD-mysql-4.027/
DBD-mysql-4.027/ChangeLog
DBD-mysql-4.027/constants.h
DBD-mysql-4.027/dbdimp.c
DBD-mysql-4.027/dbdimp.h
DBD-mysql-4.027/eg/
DBD-mysql-4.027/lib/
DBD-mysql-4.027/Makefile.PL
DBD-mysql-4.027/Makefile.PL.embedded
DBD-mysql-4.027/MANIFEST
DBD-mysql-4.027/MANIFEST.SKIP
DBD-mysql-4.027/META.json
DBD-mysql-4.027/META.yml
DBD-mysql-4.027/myld
DBD-mysql-4.027/mysql.xs
DBD-mysql-4.027/README.pod
DBD-mysql-4.027/t/
DBD-mysql-4.027/TODO
DBD-mysql-4.027/t/00base.t
DBD-mysql-4.027/t/10connect.t
DBD-mysql-4.027/t/15reconnect.t
DBD-mysql-4.027/t/20createdrop.t
DBD-mysql-4.027/t/25lockunlock.t
DBD-mysql-4.027/t/29warnings.t
DBD-mysql-4.027/t/30insertfetch.t
DBD-mysql-4.027/t/31insertid.t
DBD-mysql-4.027/t/32insert_error.t
DBD-mysql-4.027/t/35limit.t
DBD-mysql-4.027/t/35prepare.t
DBD-mysql-4.027/t/40bindparam.t
DBD-mysql-4.027/t/40bindparam2.t
DBD-mysql-4.027/t/40blobs.t
DBD-mysql-4.027/t/40catalog.t
DBD-mysql-4.027/t/40keyinfo.t
DBD-mysql-4.027/t/40listfields.t
DBD-mysql-4.027/t/40nulls.t
DBD-mysql-4.027/t/40nulls_prepare.t
DBD-mysql-4.027/t/40numrows.t
DBD-mysql-4.027/t/40server_prepare.t
DBD-mysql-4.027/t/40server_prepare_error.t
DBD-mysql-4.027/t/40types.t
DBD-mysql-4.027/t/41bindparam.t
DBD-mysql-4.027/t/41blobs_prepare.t
DBD-mysql-4.027/t/42bindparam.t
DBD-mysql-4.027/t/43count_params.t
DBD-mysql-4.027/t/50chopblanks.t
DBD-mysql-4.027/t/50commit.t
DBD-mysql-4.027/t/51bind_type_guessing.t
DBD-mysql-4.027/t/52comment.t
DBD-mysql-4.027/t/53comment.t
DBD-mysql-4.027/t/55utf8.t
DBD-mysql-4.027/t/60leaks.t
DBD-mysql-4.027/t/65segfault.t
DBD-mysql-4.027/t/65types.t
DBD-mysql-4.027/t/70takeimp.t
DBD-mysql-4.027/t/71impdata.t
DBD-mysql-4.027/t/75supported_sql.t
DBD-mysql-4.027/t/76multi_statement.t
DBD-mysql-4.027/t/80procs.t
DBD-mysql-4.027/t/81procs.t
DBD-mysql-4.027/t/85init_command.t
DBD-mysql-4.027/t/86_bug_36972.t
DBD-mysql-4.027/t/87async.t
DBD-mysql-4.027/t/88async-multi-stmts.t
DBD-mysql-4.027/t/89async-method-check.t
DBD-mysql-4.027/t/90no-async.t
DBD-mysql-4.027/t/91errcheck.t
DBD-mysql-4.027/t/99_bug_server_prepare_blob_null.t
DBD-mysql-4.027/t/lib.pl
DBD-mysql-4.027/t/manifest.t
DBD-mysql-4.027/t/mysql.dbtest
DBD-mysql-4.027/t/mysql.mtest
DBD-mysql-4.027/t/pod.t
DBD-mysql-4.027/t/rt25389-bin-case.t
DBD-mysql-4.027/t/rt50304-column_info_parentheses.t
DBD-mysql-4.027/t/rt83494-quotes-comments.t
DBD-mysql-4.027/t/rt85919-fetch-lost-connection.t
DBD-mysql-4.027/t/rt86153-reconnect-fail-memory.t
DBD-mysql-4.027/t/rt91715.t
DBD-mysql-4.027/lib/Bundle/
DBD-mysql-4.027/lib/DBD/
DBD-mysql-4.027/lib/DBD/mysql/
DBD-mysql-4.027/lib/DBD/mysql.pm
DBD-mysql-4.027/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.027/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.027/lib/Bundle/DBD/
DBD-mysql-4.027/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.027/eg/bigint_quotes.pl
DBD-mysql-4.027/eg/bug14979.pl
DBD-mysql-4.027/eg/bug21028.pl
DBD-mysql-4.027/eg/bug30033.pl
DBD-mysql-4.027/eg/bug30033pg.pl
DBD-mysql-4.027/eg/decimal_test.pl
DBD-mysql-4.027/eg/issue21946.pl
DBD-mysql-4.027/eg/prepare_memory_usage.pl
DBD-mysql-4.027/eg/proc_example1.pl
DBD-mysql-4.027/eg/proc_example2.pl
DBD-mysql-4.027/eg/proc_example2a.pl
DBD-mysql-4.027/eg/proc_example2b.pl
DBD-mysql-4.027/eg/proc_example3.pl
DBD-mysql-4.027/eg/proc_example4.pl
CPAN: File::Temp loaded ok (v0.22)
'YAML' not installed, will not store persistent state
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120351)
CPAN: Module::CoreList loaded ok (v2.18)
Configuring C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz with Makefile.PL
PLEASE NOTE:
For 'make test' to run properly, you must ensure that the
database user 'root' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.
mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';
You can also optionally set the user to run 'make test' with:
perl Makefile.PL --testuser=username
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
embedded (mysql_config) =
ldflags (mysql_config) =
libs (mysql_config) = -L/usr/lib -lmysqlclient -lpthread -lm -lrt -ldl
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testport (default ) =
testsocket (default ) =
testuser (guessed ) = root
To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.631 (for perl 5.010001 on i386-linux-thread-multi) installed in /usr/local/lib/perl5/auto/DBI/
Generating a Unix-style Makefile
Writing Makefile for DBD::mysql
Writing MYMETA.yml and MYMETA.json
CAPTTOFU/DBD-mysql-4.027.tar.gz
/usr/bin/perl Makefile.PL -- OK
Running make for C/CA/CAPTTOFU/DBD-mysql-4.027.tar.gz
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
gcc -c -I/usr/local/lib/perl5/auto/DBI -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"4.027\" -DXS_VERSION=\"4.027\" -fPIC "-I/usr/lib/perl5/CORE" dbdimp.c
dbdimp.c: In function ‘dbd_discon_all’:
dbdimp.c:2241: warning: unused variable ‘imp_xxh’
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:2417: warning: value computed is not used
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:2530: warning: value computed is not used
dbdimp.c:2537: warning: value computed is not used
dbdimp.c: In function ‘mysql_st_prepare’:
dbdimp.c:2660: warning: unused variable ‘limit_flag’
dbdimp.c: In function ‘mysql_st_next_results’:
dbdimp.c:3096: warning: value computed is not used
dbdimp.c:3097: warning: value computed is not used
dbdimp.c:3098: warning: value computed is not used
dbdimp.c:3099: warning: value computed is not used
dbdimp.c:3100: warning: value computed is not used
dbdimp.c:3101: warning: value computed is not used
dbdimp.c:3102: warning: value computed is not used
dbdimp.c:3103: warning: value computed is not used
dbdimp.c:3104: warning: value computed is not used
dbdimp.c:3105: warning: value computed is not used
dbdimp.c:3106: warning: value computed is not used
dbdimp.c:3107: warning: value computed is not used
dbdimp.c:3108: warning: value computed is not used
dbdimp.c:3109: warning: value computed is not used
dbdimp.c:3110: warning: value computed is not used
dbdimp.c:3111: warning: value computed is not used
dbdimp.c:3112: warning: value computed is not used
dbdimp.c:3113: warning: value computed is not used
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:4508: warning: value computed is not used
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/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
gcc -c -I/usr/local/lib/perl5/auto/DBI -I/usr/include/mysql -g -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"4.027\" -DXS_VERSION=\"4.027\" -fPIC "-I/usr/lib/perl5/CORE" mysql.c
mysql.xs: In function ‘XS_DBD__mysql__db_do’:
mysql.xs:309: warning: value computed is not used
mysql.xs:260: warning: unused variable ‘statement_ptr’
mysql.xs: In function ‘XS_DBD__mysql__st_more_results’:
mysql.xs:691: warning: unused variable ‘retval’
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib -lmysqlclient -lpthread -lm -lrt -ldl \
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644
Manifying blib/man3/DBD::README.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
CAPTTOFU/DBD-mysql-4.027.tar.gz
/usr/bin/gmake -- OK
Running make test
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.t ........................... ok
t/10connect.t ........................ Bailout called. Further testing stopped: ERROR: Access denied for user 'root'@'localhost' (using password: NO)
FAILED--Further testing stopped: ERROR: Access denied for user 'root'@'localhost' (using password: NO)
gmake: *** [test_dynamic] Error 255
CAPTTOFU/DBD-mysql-4.027.tar.gz
/usr/bin/gmake test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports CAPTTOFU/DBD-mysql-4.027.tar.gz
----------------------------------------------------------
Installation complete. Exiting script...
Please re-run ./mysqlmymonlite.sh again