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 |
Message body not shown because it is not plain text.