Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 118447
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: MICHIELB [...] cpan.org
Requestors: FERKI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.038
Fixed in: (no value)



Subject: DBD::mysql-4.038 fails to compile with MariaDB-10.0.27
`cpanm DBD::mysql` fails for me with: ... cc -c -I/home/ferki/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/x86_64-linux/auto/DBI -I/usr/include/mysql -I/usr/include/mysql/.. -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"4.038\" -DXS_VERSION=\"4.038\" -fPIC "-I/home/ferki/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux/CORE" mysql.c mysql.xs: In function ‘XS_DBD__mysql__GetInfo_dbd_mysql_get_info’: mysql.xs:919:29: error: ‘MYSQL_OPT_NET_BUFFER_LENGTH’ undeclared (first use in this function) mysql_get_option(NULL, MYSQL_OPT_NET_BUFFER_LENGTH, &buffer_len); ^ mysql.xs:919:29: note: each undeclared identifier is reported only once for each function it appears in Makefile:353: recipe for target 'mysql.o' failed make: *** [mysql.o] Error 1 ... See also full build.log attached. I have MariaDB-10.0.27 installed, and DBD::myql-4.037 builds fine. Let me know if you need more info and/or testing!
Subject: build.log
Download build.log
application/octet-stream 5.1k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 176b
Fixed by https://github.com/perl5-dbi/DBD-mysql/commit/f65d0300afbb564beaa0d623f4fc65a2a1f00b9b - I'm planning on releasing a new version including this fix possibly next week.
Download (untitled) / with headers
text/plain 286b
On Fri Oct 28 07:42:18 2016, MICHIELB wrote: Show quoted text
> Fixed by https://github.com/perl5-dbi/DBD- > mysql/commit/f65d0300afbb564beaa0d623f4fc65a2a1f00b9b - I'm planning > on releasing a new version including this fix possibly next week.
I can confirm it as solved after that commit. Thank you!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.