Skip site navigation (1)Skip section navigation (2)
Date:      19 Feb 2003 03:15:39 +0100
From:      Franz Klammer <klammer@webonaut.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Martin Klaffenboeck <martin.klaffenboeck@gmx.at>, FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: build error: no libXft2
Message-ID:  <1045620939.661.9.camel@ds9.webonaut.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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