From owner-freebsd-questions Wed Jan 16 17: 0:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id DD26637B400 for ; Wed, 16 Jan 2002 17:00:13 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0H10MU65729; Wed, 16 Jan 2002 20:00:22 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 16 Jan 2002 20:00:22 -0500 (EST) From: Joe Clarke To: Adam Nealis Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Difficulty upgrading gnomelibs from ports collection. In-Reply-To: <20020117002827.63369.qmail@web20704.mail.yahoo.com> Message-ID: <20020116194305.T47550-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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. Joe > > Any takers, please CC me as I am not subscribed > to the list (can't take the volume). > > TIA, > Adam Nealis. > > cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support -I../support > -I../intl -I../intl -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include > -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include > -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include > -DGNOMELIBDIR=\"/usr/X11R6/lib\" -DGNOMEDATADIR=\"/usr/X11R6/share/gnome\" > -DGNOMEBINDIR=\"/usr/X11R6/bin\" -DGNOMELOCALSTATEDIR=\"/usr/X11R6/share/gnome\" > -DGNOMELOCALEDIR=\"/usr/X11R6/share/locale\" -DGNOMESYSCONFDIR=\"/usr/X11R6/etc\" > -DVERSION=\"1.4.1.3\" -DG_LOG_DOMAIN=\"Gnome\" -I/usr/local/include -I/usr/X11R6/include/gtk12 > -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -O -pipe -Wall -Wunused -c > gnome-metadata.c -fPIC -DPIC -o .libs/gnome-metadata.lo > gnome-metadata.c: In function `init': > gnome-metadata.c:176: warning: implicit declaration of function `dbopen' > gnome-metadata.c:177: warning: assignment makes pointer from integer without a cast > gnome-metadata.c: In function `metadata_set': > gnome-metadata.c:302: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:302: too few arguments to function > gnome-metadata.c:329: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:329: too few arguments to function > gnome-metadata.c:350: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:350: too few arguments to function > gnome-metadata.c:357: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:357: too few arguments to function > gnome-metadata.c: In function `metadata_remove': > gnome-metadata.c:389: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:389: too few arguments to function > gnome-metadata.c:416: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:416: too few arguments to function > gnome-metadata.c:433: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:433: too few arguments to function > gnome-metadata.c:450: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:450: too few arguments to function > gnome-metadata.c: In function `metadata_get_list': > gnome-metadata.c:482: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:482: too few arguments to function > gnome-metadata.c: In function `metadata_get_no_dup': > gnome-metadata.c:515: warning: passing arg 2 of pointer to function from incompatible pointer type > gnome-metadata.c:515: too few arguments to function > gnome-metadata.c: In function `maybe_scan_app_dir': > gnome-metadata.c:784: warning: passing arg 3 of `scandir' from incompatible pointer type > gmake[2]: *** [gnome-metadata.lo] Error 1 > gmake[2]: Leaving directory `/usr/ports/x11/gnomelibs/work/gnome-libs-1.4.1.3/libgnome' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/x11/gnomelibs/work/gnome-libs-1.4.1.3' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 > > Stop in /usr/ports/x11/gnomelibs. > *** Error code 1 > > Stop in /usr/ports/x11/gnomelibs. > *** Error code 1 > > Stop in /usr/ports/x11/gnomelibs. > ** Command failed: make clean build > ** Fix the problem and try again. > > > __________________________________________________ > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message