Re: Solaris Installation problem and fix...



"Nils Lohner" writes:
>
>I tried to compile gnome from scratch on my solaris box according to the 
>instructions on http://www.gnome.org/start/installing/  but found that I was 
>missing something:
>
>checking for dbopen... no

Actually, even when I do have it compiled and installed it does not find it.  I compile with --prefix=/sup and the gnome-libs does not have a -L/sup/lib in the compile line so it never finds the library.

/sup/build/gnome-libs-1.2.3 > ls /sup/lib/libdb*
/sup/lib/libdb.a
/sup/build/gnome-libs-1.2.3 > nm /sup/lib/libdb* | grep dbopen
00000444 T __db_dbopen
         U __db_dbopen
/sup/build/gnome-libs-1.2.3 > 

the relevant config.log part is attached.

Ninls.

configure:8139: checking for dbopen
configure:8167: gcc -o conftest -g -O2 -Wall -Wunused   -I/sup/lib/glib/include -I/sup/include -I/usr/openwin/include  conftest.c -lz -lresolv -lm  1>&5
/var/tmp/cc2ITVZQ.o: In function `main':
/sup/build/gnome-libs-1.2.3/configure:8161: undefined reference to `dbopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8144 "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:8270: checking for dbopen in -ldb
configure:8289: gcc -o conftest -g -O2 -Wall -Wunused   -I/sup/lib/glib/include -I/sup/include -I/usr/openwin/include  conftest.c -ldb  -lz -lresolv -lm  1>&5
/var/tmp/ccolGHMq.o: In function `main':
/sup/build/gnome-libs-1.2.3/configure:8285: undefined reference to `dbopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 8278 "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:8308: checking for dbopen in -ldb1
configure:8327: gcc -o conftest -g -O2 -Wall -Wunused   -I/sup/lib/glib/include -I/sup/include -I/usr/openwin/include  conftest.c -ldb1  -lz -lresolv -lm  1>&5
/sup/sparc-sun-solaris2.7/bin/ld: cannot open -ldb1: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 8316 "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; }


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