Menu

#9 DB2 pb

open
nobody
libtabe (5)
5
2014-08-25
2004-01-18
Anonymous
No

hi,

with libtabe-0.2.3, i get :

checking for db_open in -ldb... no
checking for db_open in -ldb2... (cached) no
You need Berkeley DB2 to compile bimsphone module.
Please use --with-dblib to configure.

but with libtabe-0.1.9, it works :

checking for db_open in -ldb... no
checking for db_open in -ldb2... yes

my db2 is :
db-4.2.52
../dist/configure --prefix=/usr
make
su
make install

ok, after all these efforts, in order to reach this point,
now in libtabe-0.1.9, make does :

make[1]: Entering directory
`/home/frederic/libtabe-0.1.9/src'
gcc -c -Wall -fsigned-char -O2 -DHAVE_CONFIG_H -o
tabe_tsidbint.o tabe_tsidbint.c
tabe_tsidbint.c: In function `tabeTsiDBOpen':
tabe_tsidbint.c:85: warning: implicit declaration of
function `db_open'
tabe_tsidbint.c: In function `tabeTsiDBRecordNumber':
tabe_tsidbint.c:163: warning: passing arg 3 of pointer
to function makes integer from pointer without a cast
tabe_tsidbint.c:163: too many arguments to function
tabe_tsidbint.c:165: structure has no member named
`bt_nrecs'
tabe_tsidbint.c: In function `tabeTsiDBCursorSet':
tabe_tsidbint.c:394: too few arguments to function
make[1]: *** [tabe_tsidbint.o] Error 1
make[1]: Leaving directory
`/home/frederic/libtabe-0.1.9/src'
make: *** [all] Error 2

uname -a
Linux gonot 2.4.18 #4 Mon Apr 22 22:40:08 CEST 2002
i686 unknown

Discussion


Log in to post a comment.

MongoDB Logo MongoDB