Also RT https://rt.cpan.org/Ticket/Display.html?id=60085 cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs chmod 644 blib/arch/auto/DBD/mysql/mysql.bs /usr/bin/perl5.14.0 /usr/lib64/perl5/vendor_perl/5.14/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.14/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 225 Warning: duplicate function definition 'rows' detected in mysql.xs, line 650 x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/vendor_perl/5.14/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -DUNIV_LINUX -DUNIV_LINUX -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=native -mtune=native -O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -pg -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" -fPIC "-I/usr/lib64/perl5/5.14/x86_64-linux-thread-multi/CORE" mysql.c dbdimp.c: In function 'mysql_db_FETCH_attrib': dbdimp.c:2447:64: error: 'sv_undef' undeclared (first use in this function) dbdimp.c:2447:64: note: each undeclared identifier is reported only once for each function it appears in dbdimp.c: In function 'mysql_st_internal_execute41': dbdimp.c:3298:19: warning: format '%d' expects type 'int', but argument 3 has type 'my_ulonglong' dbdimp.c: In function 'mysql_describe': dbdimp.c:3517:23: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' dbdimp.c:3521:23: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' dbdimp.c: In function 'mysql_st_fetch': dbdimp.c:3738:27: warning: format '%d' expects type 'int', but argument 3 has type 'long int' dbdimp.c:3780:7: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'struct MYSQL_RES *' dbdimp.c:3782:21: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'unsigned int' dbdimp.c: In function 'mysql_st_FETCH_attrib': dbdimp.c:4365:11: warning: format '%d' expects type 'int', but argument 3 has type 'my_ulonglong' dbdimp.c: In function 'mysql_bind_ph': dbdimp.c:4571:27: warning: format '%d' expects type 'int', but argument 3 has type 'IV' dbdimp.c:4583:27: warning: format '%d' expects type 'int', but argument 3 has type 'IV' dbdimp.c:4595:27: warning: format '%d' expects type 'int', but argument 3 has type 'IV' dbdimp.c:4609:25: warning: format '%d' expects type 'int', but argument 3 has type 'IV' dbdimp.c:4630:25: warning: format '%d' expects type 'int', but argument 5 has type 'IV' make: *** [dbdimp.o] Error 1
http://search.cpan.org/~capttofu/DBD-mysql-4.019/ Appears to solve the compilation errors for me ( at least with the stock version on CPAN ) I've only tested it locally with tar/make/make test, but it seems to work. ( Only one test failed and it was due to not being able to connect to the database due to privelage control, ie: probably because I was running it as a user or something trivial ) Would love to see this on Gentoo =)
Bumped on ::perl-experimental for impatient people to test. http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=dafb37e95c895e5ec3c3ad85b22ecde41dd4b429
dev-perl/DBD-mysql-4.19.0 is in the tree. Thanks