gnome-libs-1.4.1.1 configure failure on Solaris 2.6 -- doesn't re cognize db-3.3.11



Hi,

I'm trying to compile the latest stable GNOME on Solaris 2.6,
and I've run into a snag configuring gnome-libs-1.4.1.1 (same behavior
occurs with gnome-libs-1.2.13):

$ CFLAGS=-I/usr/local/apps/include ./configure --prefix=/usr/local/apps
[...]
checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
checking for __db185_open in -ldb-3... yes
checking for db.h... no
checking for db_185.h... no
checking for db1/db.h... no
configure: error: Berkeley db library required for Gnome
$

Now, I've installed (under the same prefix) db-3.3.11, and I
can see perfectly well that db.h and db_185.h are there under
/usr/local/apps/include.  I look at config.log and see --

configure:8313: checking for db.h
configure:8323: gcc -E  -I/usr/local/apps/include/gtk-1.2
-I/usr/local/apps/incl
ude/glib-1.2 -I/usr/local/apps/lib/glib/include -I/usr/openwin/include
conftest.
c >/dev/null 2>conftest.out
configure:8319:16: db.h: No such file or directory
configure: failed program was:
#line 8318 "configure"
#include "confdefs.h"
#include <db.h>
configure:8313: checking for db_185.h
configure:8323: gcc -E  -I/usr/local/apps/include/gtk-1.2
-I/usr/local/apps/incl
ude/glib-1.2 -I/usr/local/apps/lib/glib/include -I/usr/openwin/include
conftest.
c >/dev/null 2>conftest.out
configure:8319:20: db_185.h: No such file or directory
configure: failed program was:
#line 8318 "configure"
#include "confdefs.h"
#include <db_185.h>
configure:8313: checking for db1/db.h
configure:8323: gcc -E  -I/usr/local/apps/include/gtk-1.2
-I/usr/local/apps/incl
ude/glib-1.2 -I/usr/local/apps/lib/glib/include -I/usr/openwin/include
conftest.
c >/dev/null 2>conftest.out
configure:8319:20: db1/db.h: No such file or directory
configure: failed program was:
#line 8318 "configure"
#include "confdefs.h"
#include <db1/db.h>

So, it looks like my problem is that /usr/local/apps/include is not
specified on
the test compile line.  Shouldn't the CFLAGS=... have forced it to be there?
Have I found a configure bug, or am I just doing something braindead?


Thanks,

Zach





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