Re: gnome-libs-1.4.1.1 configure failure on Solaris 2.6 -- doesn't re cognize db-3.3.11
- From: Claudio Bley <bley mail cs uni-magdeburg de>
- To: "'gnome-devel-list gnome org'" <gnome-devel-list gnome org>
- Subject: Re: gnome-libs-1.4.1.1 configure failure on Solaris 2.6 -- doesn't re cognize db-3.3.11
- Date: Wed, 5 Sep 2001 23:58:37 +0200
>>>>> Frey, Zachary <zachary frey il proquest com> writes:
> 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 $
<snip>
> 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
Just use the CPPFLAGS variable - it holds C preprocessor flags, since as
you can see only preprocessing ('gcc -E') is done when looking for header
files.
,----[ configure ]
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
| ac_cpp='$CPP $CPPFLAGS'
`----
Claudio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]