Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 00:54:15 -0700
From:      Dave Tweten <tweten@nas.nasa.gov>
To:        freebsd-ports@freebsd.org
Subject:   x11-fonts/libXft Strangeness
Message-ID:  <575.1122191655@gilmore.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
When I build x11-fonts/libXft on a T23 ThinkPad that has been updated 
about once a week, I have no problems.  On two others that weren't 
updated for a period recently (May, I think), attempting to make libXft 
results in the following failure.

------------------------------------------------------------------------
--

/bin/sh /usr/local/bin/libtool15 --mode=link cc -I/usr/X11R6/include   
-I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/X11R6/include -Wall -Wpointer-arith -Wstrict-prototypes         
-Wmissing-prototypes -Wmissing-declarations     -Wnested-externs 
-fno-strict-aliasing -O -pipe -march=pentiumpro  -L/usr/X11R6/lib -o 
libXft.la -rpath /usr/X11R6/lib -version-number 2:1:2 -no-undefined 
xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo xftdraw.lo xftextent.lo 
xftfont.lo xftfreetype.lo xftglyphs.lo xftinit.lo xftlist.lo xftname.lo 
xftrender.lo xftstr.lo xftswap.lo xftxlfd.lo -L/usr/X11R6/lib 
-lfontconfig   -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib 
-lfreetype -lz -L/usr/X11R6/lib -lXrender -lXext -lX11
grep: /usr/local/lib/libexpat.la: No such file or directory
sed: /usr/local/lib/libexpat.la: No such file or directory
libtool15: link: `/usr/local/lib/libexpat.la' is not a valid libtool 
archive
gmake[1]: *** [libXft.la] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-fonts/libXft/work/libXft-2.1
.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-fonts/libXft.

------------------------------------------------------------------------
--

At first I thought the problem was with the libexpat build not creating 
/usr/local/lib/libexpat.la.  That's not the problem.  That file doesn't 
exist on the machine that can build libXft either.

Can anyone shed some light on why /usr/local/bin/libtool15 requires 
/usr/local/lib/libexpat.la on two machines but not on the third (more 
frequently updated) machine?

Libtool15 is not my favorite kind of reading material.  Any help 
avoiding the need to read and understand it would be welcome.
-- 
M/S 258-5                |1024-bit PGP fingerprint:|tweten@nas.nasa.gov
NASA Ames Research Center| 41 B0 89 0A  8F 94 6C 59|     (650) 604-4416
Moffett Field, CA  94035 | 7C 80 10 20  25 C7 2F E6|FAX: (650) 604-4377
Not an official NASA position; you can't even be certain who sent this!





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