From owner-freebsd-gnome Wed Feb 19 5:12:22 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E92C237B401 for ; Wed, 19 Feb 2003 05:12:19 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A264843FA3 for ; Wed, 19 Feb 2003 05:12:18 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from [212.41.243.28] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 9DA15766E7; Wed, 19 Feb 2003 14:12:16 +0100 (CET) Subject: Re: build error: no libXft2 From: Franz Klammer To: Joe Marcus Clarke Cc: Martin Klaffenboeck , FreeBSD GNOME Users In-Reply-To: <1045624703.48325.14.camel@shumai.marcuscom.com> References: <1045595277.2937.14.camel@ds9.webonaut.com> <1045595837.309.28.camel@gyros> <1045597705.309.41.camel@gyros> <1045607245.34172.10.camel@ds9.webonaut.com> <1045607404.309.74.camel@gyros> <20030218225745.GG2488@martin.kdrache.org> <1045611434.34172.71.camel@ds9.webonaut.com> <1045616738.48325.3.camel@shumai.marcuscom.com> <1045620939.661.9.camel@ds9.webonaut.com> <1045622754.3611.15.camel@ds9.webonaut.com> <1045624703.48325.14.camel@shumai.marcuscom.com> Content-Type: text/plain Organization: Message-Id: <1045660339.646.148.camel@ds9.webonaut.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 19 Feb 2003 14:12:20 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Mi, 2003-02-19 um 04.18 schrieb Joe Marcus Clarke: > On Tue, 2003-02-18 at 21:45, Franz Klammer wrote: > > Am Mi, 2003-02-19 um 03.15 schrieb Franz Klammer: > > > Am Mi, 2003-02-19 um 02.05 schrieb Joe Marcus Clarke: > > > > On Tue, 2003-02-18 at 18:37, Franz Klammer wrote: > > > > > Am Di, 2003-02-18 um 23.57 schrieb Martin Klaffenboeck: > > > > > > Am 2003.02.18 23:30 schrieb(en) Joe Marcus Clarke: > > > > > > > On Tue, 2003-02-18 at 17:27, Franz Klammer wrote: > > > > > > > > Am Di, 2003-02-18 um 20.48 schrieb Joe Marcus Clarke: > > > > > > > > > On Tue, 2003-02-18 at 14:17, Joe Marcus Clarke wrote: > > > > > > > > > > On Tue, 2003-02-18 at 14:07, Franz Klammer wrote: > > > > > > > > > > > problems since there is no libXft2 in /usr/X11R6/lib. > > > the rebuild is done, but: > > > > > > > ldd /usr/X11R6/bin/nautilus | grep Xft > > > libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28950000) > > > libXft2.so.2 => /usr/local/lib/compat/pkg/libXft2.so.2 (0x28dd5000) > > > > > > i'm confused. how is this possible? because a other library used > > > by nautilus still needs it or should i remove the library from > > > .../compat/pkg before rebuilding the ports? > > > > > > also: > > > > > > "ldd * | grep -c libXft2" in /usr/X11R6/bin --> 85 > > > "find /usr/X11R6/lib - name "*.so" | grep -c libXft2" --> 27 > > > > > > it's 3am here and i'm tired. > > > maybe i should try remove the library "tomorrow" and recompile > > > again? hope you have an better idea that makes more fun. > > > > > > good night. > > > > > > > ok! i'm back (for one minute ;) > > > > if figured out following: > > > > if i ... > > > > ... remove the library from compat and make a symlink in X11R6/lib > > then nautilus (as example) only depends on _one_ resp. the _right_ > > library: > > > > 1. mv libXft2.so to libXft2.so.xx (in /usr/local/lib/compat/pkg) > > 2. ln -s libXft.so.2 libXft2.so.2 (in /usr/X11R6/lib) > > 3. ldd ../bin/nautilus | grep Xft > > libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28950000) > > > > > > ... only remove the library from compat/pkg then ldd says that: > > > > 4. rm libXft2.so.2 > > 5. ldd ../bin/nautilus | grep Xft > > libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28950000) > > libXft2.so.2 => not found (0x0) > > libXft2.so.2 => not found (0x0) > > > > else the output of ldd is like i've send you before. > > This isn't the right thing to do. I'm doing the rebuild now, and I'll > let you know how it goes. Technically, if all the ports that depend on > Xft had correct LIB_DEPENDS, after the upgrade completes, you shouldn't > see anything linked against Xft2 even if the library exists in > compat/pkg. > > Joe > ok! today i've learned something new: "ldd -a" :-) the parameter shows me that not gnome-terminal needs Xft but libgnomeui and libbonoboui. "portupgrade -rf Xft" is of course the right way but only as starter. the ports above are not listet in Xft/+REQUIRED_BY. currently i've updated by hand: libgnomeui, libbonoboui, libgail-gnome i know also that gnomegames will not be updated with "-rf Xft" of course i know that this is maybe only my personal and lokal problem. but i don't really think so. franz. > > > > > > Martin -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message