From owner-freebsd-gnome Tue Feb 18 18:15:46 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 609A437B401 for ; Tue, 18 Feb 2003 18:15:43 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26D3843F3F for ; Tue, 18 Feb 2003 18:15:41 -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 EA011766E7; Wed, 19 Feb 2003 03:15:38 +0100 (CET) Subject: Re: build error: no libXft2 From: Franz Klammer To: Joe Marcus Clarke Cc: Martin Klaffenboeck , FreeBSD GNOME Users In-Reply-To: <1045616738.48325.3.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> Content-Type: text/plain Organization: Message-Id: <1045620939.661.9.camel@ds9.webonaut.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 19 Feb 2003 03:15:39 +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 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. > > > > > > > > > > > > > > > > e.g. gedit and sticknotes_applet search all for libXft2 while > > > > building. > > > > > > > > since i've updated XFree86-libraries i'm not able to > > > > (re-)build a port > > > > > > > > who needs libXft2. > > > > > > > > > > > > > > > > fortunately the library it's still in > > > > /usr/local/lib/compat/pkg/. > > > > > > > > > > > > > > You need to do this: > > > > > > > > > > > > > > # portupgrade -f Xft pango gtk-2.2\* > > > > > > > > > > > > > > That will get you back to good. > > > > > > > > > > > > For got a few ports. _All_ GTK 2 theme engines need to be rebuilt > > > > as > > > > > > well. This will get the mandatory ones: > > > > > > > > > > > > # portupgrade -f gnome-themes gtk-engines2 gtk-thinice-engine > > > > > > > > > > > > Other optional theme engines are left up to the reader. > > > > > > > > > > > > > > > > thanks for the help! > > > > > > > > > > even it's not necessary but i'm doing also currently also a > > > > > portupgrade -fr Xft as i've seen that by some ports ldd shows > > > > > both libraries and to avoid possible further complications. > > > > > > > > That's smart. As updates to Xft roll in, having both libraries linked > > > > may cause problems. > > > > > > I had this problem after Xft update too. Pan didn't work anymore, it > > > told me not to find Xft2. > > > > > > I just linked this files, and Pan works good. > > > > > > martin% pwd > > > /usr/X11R6/lib > > > martin% ls -l *Xft* > > > lrwxr-xr-x 1 root wheel 11 Feb 18 12:57 libXft.so -> libXft.so.2 > > > -r-xr-xr-x 1 root wheel 64024 Feb 18 12:57 libXft.so.2 > > > lrwxr-xr-x 1 root wheel 9 Feb 18 13:00 libXft2.so -> libXft.so > > > lrwxr-xr-x 1 root wheel 11 Feb 18 13:00 libXft2.so.2 -> > > > libXft.so.2 > > > > > > I know, it's not correct, but it works for now. Maybe Xft - port must > > > be patched to install libXft2 instead of libXft, but I don't really > > > know. > > > > > > > or, at least, bumb up the portrevision of the ports i should > > update first? > > No, portupgrade -rf Xft is the way to go. Bumping PORTREVISION would > have to be done on all ports that depend on Xft, so you're really not > buying anything in doing that. > > > > > maybe martins suggestion is a really good idea: i'm recompiling > > now ~4 hours and this occurrences are left: > > > > "ldd * | grep -c libXft2" in /usr/X11R6/bin --> 86 > > "find /usr/X11R6/lib - name "*.so" | grep -c libXft2" --> 31 > > > > there are many ports depending on Xft. > > I know... Well, things like this only happen occasionally :-}. 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. franz. > Joe > > > > > franz. > > > > > Martin -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message