Subject: | DBD::mysql version 4.019 does not build against MySQL 4.0.27 |
Attempting to build DBD::mysql 4.019 against MySQL 4.0.27 results in failure.
Relevant output:
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -g
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (guessed ) = root
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.616 (for perl 5.008008 on x86_64-linux) installed in
/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI/
Writing Makefile for DBD::mysql
-> OK
Finding PREREQ from Makefile ...
Checking if you have Data::Dumper 0 ... Yes (2.131)
Checking if you have DBI 1.08 ... Yes (1.616)
Building and testing DBD-mysql-4.019
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/DBI -I/usr/include/mysql -g
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fPIC -DPIC -m64 -fno-strict-aliasing -pipe -
Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -Os -mmmx -msse -mfpmath=sse -msse2 -
mssse3 -DVERSION=\"4.019\" -DXS_VERSION=\"4.019\" -fpic "-
I/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE" dbdimp.c
dbdimp.c: In function ‘alloc_param’:
dbdimp.c:223: warning: comparison is always false due to limited range of data type
dbdimp.c: At top level:
dbdimp.c:3481: error: expected identifier or ‘(’ before ‘if’
dbdimp.c:3501: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘->’ token
dbdimp.c:3503: error: expected identifier or ‘(’ before ‘if’
dbdimp.c:3515: error: expected identifier or ‘(’ before ‘return’
dbdimp.c:3516: error: expected identifier or ‘(’ before ‘}’ token
make: *** [dbdimp.o] Error 1