Subject: | DBD-mysql CPAN shell install fail |
Date: | Wed, 30 Nov 2016 21:22:08 +0000 |
To: | "bug-DBD-mysql [...] rt.cpan.org" <bug-DBD-mysql [...] rt.cpan.org> |
From: | "Gefvert, Chris" <Chris.Gefvert [...] fisglobal.com> |
I'll apologize advance for any breaking of decorum, since this is my first submission.
Platform AIX 7.2 on IBM power8
# perl -v
This is perl 5, version 20, subversion 1 (v5.20.1) built for aix-thread-multi
Copyright 1987-2014, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v2.05)
Enter 'h' for help.
cpan[1]> install DBD::mysql
Reading '/home/cgefvert/.cpan/Metadata'
Database was generated on Wed, 30 Nov 2016 16:53:54 GMT
Running install for module 'DBD::mysql'
Checksum for /home/cgefvert/.cpan/sources/authors/id/M/MI/MICHIELB/DBD-mysql-4.041.tar.gz ok
Scanning cache /home/cgefvert/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring M/MI/MICHIELB/DBD-mysql-4.041.tar.gz with Makefile.PL
PLEASE NOTE:
For 'make test' to run properly, you must ensure that the
database user 'cgefvert' 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.
Show quoted text
mysql> grant all privileges on test.* to 'cgefvert'@'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/local/mysql/include -q64 -ma -qstrict -qoptimize=2 -qmaxmem=8192
embedded (mysql_config) =
ldflags (guessed ) =
libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl_r -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
nossl (default ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testport (default ) =
testsocket (default ) =
testuser (guessed ) = cgefvert
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.636 (for perl 5.020001 on aix-thread-multi) installed in /usr/opt/perl5/lib/site_perl/5.20.1/aix-thread-multi/auto/DBI/
Generating a Unix-style Makefile
Writing Makefile for DBD::mysql
Wide character in print at /usr/opt/perl5/lib/5.20.1/ExtUtils/MakeMaker.pm line 1167.
Wide character in print at /usr/opt/perl5/lib/5.20.1/ExtUtils/MakeMaker.pm line 1167.
Writing MYMETA.yml and MYMETA.json
MICHIELB/DBD-mysql-4.041.tar.gz
/usr/opt/perl5/bin/perl Makefile.PL -- OK
Running make for M/MI/MICHIELB/DBD-mysql-4.041.tar.gz
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
/usr/opt/perl5/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "DBD::mysql", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
xlc_r -q32 -c -I/usr/opt/perl5/lib/site_perl/5.20.1/aix-thread-multi/auto/DBI -I/usr/local/mysql/include -q64 -ma -qstrict -qoptimize=2 -qmaxmem=8192 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -O -DVERSION=\"4.041\" -DXS_VERSION=\"4.041\" "-I/usr/opt/perl5/lib/5.20.1/aix-thread-multi/CORE" dbdimp.c
"dbdimp.c", line 351.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_DOUBLE.
"dbdimp.c", line 351.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 352.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_FLOAT.
"dbdimp.c", line 352.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 356.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_SHORT.
"dbdimp.c", line 356.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 357.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_TINY.
"dbdimp.c", line 357.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 358.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_LONG.
"dbdimp.c", line 358.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 359.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_INT24.
"dbdimp.c", line 359.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 360.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_YEAR.
"dbdimp.c", line 360.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 378.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_DECIMAL.
"dbdimp.c", line 378.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 383.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_LONGLONG.
"dbdimp.c", line 383.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 385.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_DATE.
"dbdimp.c", line 385.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 386.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_TIME.
"dbdimp.c", line 386.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 387.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_DATETIME.
"dbdimp.c", line 387.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 388.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_NEWDATE.
"dbdimp.c", line 388.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 389.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_TIMESTAMP.
"dbdimp.c", line 389.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 390.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_VAR_STRING.
"dbdimp.c", line 390.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 394.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_STRING.
"dbdimp.c", line 394.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 401.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_BLOB.
"dbdimp.c", line 401.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 402.8: 1506-045 (S) Undeclared identifier MYSQL_TYPE_TINY_BLOB.
"dbdimp.c", line 402.8: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 1732.31: 1506-045 (S) Undeclared identifier MYSQL_OPT_WRITE_TIMEOUT.
"dbdimp.c", line 1743.31: 1506-045 (S) Undeclared identifier MYSQL_OPT_READ_TIMEOUT.
"dbdimp.c", line 1754.31: 1506-045 (S) Undeclared identifier MYSQL_SECURE_AUTH.
"dbdimp.c", line 3729.12: 1506-045 (S) Undeclared identifier use_server_side_prepare.
"dbdimp.c", line 4251.14: 1506-045 (S) Undeclared identifier MYSQL_TYPE_DOUBLE.
"dbdimp.c", line 4251.14: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 4257.14: 1506-045 (S) Undeclared identifier MYSQL_TYPE_LONG.
"dbdimp.c", line 4257.14: 1506-051 (S) Case expression must be a valid integral constant.
"dbdimp.c", line 4258.14: 1506-045 (S) Undeclared identifier MYSQL_TYPE_LONGLONG.
"dbdimp.c", line 4258.14: 1506-051 (S) Case expression must be a valid integral constant.
make: 1254-004 The error code from the last command is 1.
Stop.
MICHIELB/DBD-mysql-4.041.tar.gz
/usr/bin/make -- NOT OK
Failed during this command:
MICHIELB/DBD-mysql-4.041.tar.gz : make NO
Chris Gefvert
System Administrator / Developer
Wealth Management and Retirement
T: 610.251.6688
C: 484.639.4028
E: chris.gefvert@fisglobal.com<mailto:chris.gefvert@fisglobal.com>
FIS | Empowering the Financial World [cid:image005.png@01D11265.2C7F1D60] <https://www.facebook.com/FIStoday> [cid:image006.png@01D11265.2C7F1D60] <https://twitter.com/FISGlobal> [cid:image007.png@01D11265.2C7F1D60] <https://www.linkedin.com/company/fis>
Show quoted text_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
Message body is not shown because it is too large.