Subject: | Does not build against libtdb-dev 1.2.0-1 on ubuntu lucid |
Errors while building 0.96a against libtdb 1.2.0-1 (on ubuntu 10.4 lucid):
Checking if your kit is complete...
Looks good
Checking for TDB_ERR_LOCK_TIMEOUT .. yes
Checking for hash_func argument to tdb_open_ex() .. yes
Writing Makefile for TDB_File
Could not read '/root/.cpan/build/TDB_File-0.96a-lYBrur/META.yml'.
Falling back to other methods to determine prerequisites
cp TDB_File.pm blib/lib/TDB_File.pm
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -prototypes -typemap
/usr/share/perl/5.10/ExtUtils/typemap -typemap typemap TDB_File.xs >
TDB_File.xsc && mv TDB_File.xsc TDB_File.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.96a\"
-DXS_VERSION=\"0.96a\" -fPIC "-I/usr/lib/perl/5.10/CORE"
-DTDB_HAS_ERR_LOCK_TIMEOUT -DTDB_HAS_HASH_FUNC TDB_File.c
TDB_File.xs:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘hash_func_cb’
TDB_File.xs: In function ‘XS_TDB_File_logging_function’:
TDB_File.xs:256: warning: ‘tdb_logging_function’ is deprecated (declared
at /usr/include/tdb.h:103)
TDB_File.xs:256: warning: passing argument 2 of ‘tdb_logging_function’
from incompatible pointer type
/usr/include/tdb.h:103: note: expected ‘tdb_log_func’ but argument is of
type ‘void (*)(struct TDB_CONTEXT *, int, const char *)’
TDB_File.xs: In function ‘XS_TDB_File_open’:
TDB_File.xs:289: error: ‘hash_func_cb’ undeclared (first use in this
function)
TDB_File.xs:289: error: (Each undeclared identifier is reported only once
TDB_File.xs:289: error: for each function it appears in.)
TDB_File.xs:299: warning: assignment from incompatible pointer type
TDB_File.xs:306: warning: passing argument 6 of ‘tdb_open_ex’ from
incompatible pointer type
/usr/include/tdb.h:95: note: expected ‘const struct tdb_logging_context
*’ but argument is of type ‘tdb_log_func’
TDB_File.c: In function ‘XS_TDB_File_reopen_all’:
TDB_File.c:1057: error: too few arguments to function ‘tdb_reopen_all’
make: *** [TDB_File.o] Error 1
ANGUSLEES/TDB_File-0.96a.tar.gz
/usr/bin/make -- NOT OK