tigerknight
10-10-2003, 11:21 AM
I'm trying to get the itemdata.db function to work, and I'd made decent progress since my previous issue with it until I hit this one. BTW before someone gives a rtfm response, I searched both here and google for the error message and came up blank. Thanks in advance, I appreciate the work everyone is doing on this project :]
I'm running debian on a 2.4.20 kernel, and have the following packages installed:
altaica:~/seq/showeq# dpkg -l|grep Berkeley
ii libberkeleydb- 0.17-1 Use Berkeley DB 3 databases from Perl
ii libdb1-compat 2.1.3-7 The Berkeley database routines [glibc 2.0/2.
ii libdb2 2.7.7.0-7 The Berkeley database routines (run-time fil
ii libdb3 3.2.9-16 Berkeley v3 Database Libraries [runtime]
ii libdb3++ 3.2.9-16 Berkeley v3 Database Libraries for C++ [runt
ii libdb3++-dev 3.2.9-16 Berkeley v3 Database Libraries for C++ [deve
ii libdb3-dev 3.2.9-16 Berkeley v3 Database Libraries [development]
ii libdb3-util 3.2.9-16 Berkeley v3 Database Utilities
Here's my configure output (./configure --with-db3) starting with the db3 line, then followed by the make command and bomb. Anyone have ideas?
checking whether to build with Berkeley DB3... yes
checking db_cxx.h usability... yes
checking db_cxx.h presence... yes
checking for db_cxx.h... yes
checking for DbEnv::version in -ldb_cxx... no
checking whether to build for use with the test server... no
checking for rpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating maps/Makefile
config.status: creating conf/Makefile
config.status: creating conf.h
config.status: executing default-1 commands
Success!
Please run:
make
altaica:~/seq/showeq# make
make all-recursive
make[1]: Entering directory `/root/seq/showeq'
Making all in maps
make[2]: Entering directory `/root/seq/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/seq/showeq/maps'
Making all in src
make[2]: Entering directory `/root/seq/showeq/src'
g++-3.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c main.cpp
main.cpp: In function `void displayVersion()':
main.cpp:840: `GDBMConvenience' undeclared (first use this function)
main.cpp:840: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cpp:840: parse error before `::' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/root/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/seq/showeq'
make: *** [all-recursive-am] Error 2
I'm running debian on a 2.4.20 kernel, and have the following packages installed:
altaica:~/seq/showeq# dpkg -l|grep Berkeley
ii libberkeleydb- 0.17-1 Use Berkeley DB 3 databases from Perl
ii libdb1-compat 2.1.3-7 The Berkeley database routines [glibc 2.0/2.
ii libdb2 2.7.7.0-7 The Berkeley database routines (run-time fil
ii libdb3 3.2.9-16 Berkeley v3 Database Libraries [runtime]
ii libdb3++ 3.2.9-16 Berkeley v3 Database Libraries for C++ [runt
ii libdb3++-dev 3.2.9-16 Berkeley v3 Database Libraries for C++ [deve
ii libdb3-dev 3.2.9-16 Berkeley v3 Database Libraries [development]
ii libdb3-util 3.2.9-16 Berkeley v3 Database Utilities
Here's my configure output (./configure --with-db3) starting with the db3 line, then followed by the make command and bomb. Anyone have ideas?
checking whether to build with Berkeley DB3... yes
checking db_cxx.h usability... yes
checking db_cxx.h presence... yes
checking for db_cxx.h... yes
checking for DbEnv::version in -ldb_cxx... no
checking whether to build for use with the test server... no
checking for rpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating maps/Makefile
config.status: creating conf/Makefile
config.status: creating conf.h
config.status: executing default-1 commands
Success!
Please run:
make
altaica:~/seq/showeq# make
make all-recursive
make[1]: Entering directory `/root/seq/showeq'
Making all in maps
make[2]: Entering directory `/root/seq/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/seq/showeq/maps'
Making all in src
make[2]: Entering directory `/root/seq/showeq/src'
g++-3.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c main.cpp
main.cpp: In function `void displayVersion()':
main.cpp:840: `GDBMConvenience' undeclared (first use this function)
main.cpp:840: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cpp:840: parse error before `::' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/root/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/seq/showeq'
make: *** [all-recursive-am] Error 2