Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 13:36:48 -0800 (PST)
From:      Adam Nealis <adamnealis@yahoo.co.uk>
To:        Joe Clarke <marcus@marcuscom.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Difficulty upgrading gnomelibs from ports collection.
Message-ID:  <20020118213648.95417.qmail@web20702.mail.yahoo.com>
In-Reply-To: <20020116194305.T47550-100000@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Joe Clarke <marcus@marcuscom.com> wrote:
> On Wed, 16 Jan 2002, Adam Nealis wrote:
> 
> > Having used pkg_add to install gnomelibs-1.4.1.2_2.tgz
> > I attempted to do
> >
> > /usr/local/sbin/portupgrade gnomelibs
> >
> > in order to install the evolution 1.0.1 port, purely
> > out of interest. Things proceed well, but then THIS
> > happens. I suspect some subtle dependency somewhere
> > needs to be fixed, but am uncertain which "scandir"
> > and "opendir" calls are being referred to. I'd like
> > to avoid a complete rebuild!
> >
> > Who will apply a cluebat to my head?
> 
> What version of FreeBSD is this?  It looks like GNOME can't determine that

4.4-RC - started life as 4.3-RELEASE but I cvsup and
make world occasionally.

> it needs to include db.h.  Have you installed other versions of db.h on
> the system in /usr/include, /usr/X11R6/include, or /usr/local/include?
> The db.h gnomelibs expects is in /usr/include, and is the old BDB 1.x.
> Make sure it's not finding a db.h from BDB 3.x.

That got it I think. I found a /usr/local/include/db.h that
was in fact 3.2.9 (here's the version string).

#define DB_VERSION_STRING       \
"Sleepycat Software: Berkeley DB 3.2.9: (January 24, 2001)"

That got in there due to some stuff I was messing round with
back in July from source that wasn't out of the ports. AFAIR
it might have been a BIND 9 that wanted db3.

I did

cd /usr/local/include
mv db.h DB.H
cd /usr/ports/x11/gnomelibs
make clean all

and gnomelibs built!

Presumably the gnomelibs configure script looked for
/usr/local/include/db.h before /usr/include/db.h

Many thanks,

Adam.

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020118213648.95417.qmail>