Gnome-libs 1.2.11 configure error - libdb and dbopen()



Hi Folks, 
I'm new to the list, but I've been trying to compile
gnome-libs for a few weeks :-)


I'm trying to compile gnome-libs-1.2.11 on i586-sco-sysv5uw7.1.1
using gcc 2.95.2.1 and gnu-make 3.79.1.

The configure error says BerkeleyDB 1.85 compatablity is not
available, even though I have BDB 3.1.17 installed, which passed
all it's tests and was compiled with --enable-compat185, so the
185 stuff is there.

Here's my configure command:

  CPPFLAGS=-I/usr/local/BerkeleyDB.3.1/include \
  LDFLAGS=-L/usr/local/BerkeleyDB.3.1/lib LIBS="-lsocket -lnsl -pthread" \
  ./configure --x-libraries=/usr/X/lib --x-includes=/usr/X/include --disable-nls


Here's what I know from the config.log:

  1)  libdb.so is being found.

  2)  libdb-3.so is being found.

  3)  the gcc statement to comile a conftest.c in each case
      succeeds, but the ld phase doesn't.

  4)  I always get an error with the ld phase, no matter
      whether it was bdb-2.7.7, 3.1.17, or 3.2.3h.


Please be kind and take a look at the following config.log.
Does this issue ring a bell with anyone?  My apologies if
this is the wrong list.


Thanks,
Matthew


=================================================

configure:8160: checking for umode_t
configure:8203: checking for dbopen
configure:8231: gcc -o conftest -g -O2 -Wall -Wunused  -I/usr/local/BerkeleyDB.3.1/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X/include -L/usr/local/BerkeleyDB.3.1/lib 
conftest.c -lz -lm -lsocket -lnsl -pthread 1>&5
/var/tmp/cc7X2zHb.o: In function `main':
/home/matthew/Uber/Gnome/gnome-libs-1.2.11/configure:8225: undefined reference to `dbopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8208 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dbopen(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_dbopen) || defined (__stub___dbopen)
choke me
#else
dbopen();
#endif

; return 0; }
configure:8375: checking for dbopen in -ldb
configure:8394: gcc -o conftest -g -O2 -Wall -Wunused  -I/usr/local/BerkeleyDB.3.1/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X/include -L/usr/local/BerkeleyDB.3.1/lib 
conftest.c -ldb  -lz -lm -lsocket -lnsl -pthread 1>&5
/var/tmp/cchJS5mc.o: In function `main':
/home/matthew/Uber/Gnome/gnome-libs-1.2.11/configure:8391: undefined reference to `dbopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8383 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {
dbopen()
; return 0; }
configure:8413: checking for dbopen in -ldb1
configure:8432: gcc -o conftest -g -O2 -Wall -Wunused  -I/usr/local/BerkeleyDB.3.1/include 
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X/include -L/usr/local/BerkeleyDB.3.1/lib 
conftest.c -ldb1  -lz -lm -lsocket -lnsl -pthread 1>&5
/usr/local/i586-sco-sysv5uw7.1.1/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
configure: failed program was:
#line 8421 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbopen();

int main() {
dbopen()
; return 0; }
configure:8451: checking for __db185_open in -ldb-3
configure:8470: gcc -o conftest -g -O2 -Wall -Wunused  -I/usr/local/BerkeleyDB.3.1/include 
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X/include -L/usr/local/BerkeleyDB.3.1/lib
conftest.c -ldb-3  -lz -lm -lsocket -lnsl -pthread 1>&5
/var/tmp/ccDWBshe.o: In function `main':
/home/matthew/Uber/Gnome/gnome-libs-1.2.11/configure:8467: undefined reference to `__db185_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8459 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __db185_open();

int main() {
__db185_open()
; return 0; }
==========================================================================




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]