[tlbuild] TeX Live builds -- second summary

Ken Brown kbrow1i at gmail.com
Tue May 5 16:08:01 CEST 2009


On 5/5/2009 8:22 AM, Peter Breitenlohner wrote:
> At the moment I just don't know what the final xetex build system will be,
> still lacking some information.  So if you can try something that might
> help, please go ahead.

Hi Peter,

The build succeeds if I make the following simple rearrangement in xetex.am.

-xetex_ldadd += $(FONTCONFIG_LIBS) $(XPDF_LIBS) $(LIBPNG_LIBS)
+xetex_ldadd += $(XPDF_LIBS) $(LIBPNG_LIBS) $(FONTCONFIG_LIBS)

The resulting link command produced by libtool has the libraries in the 
following order:

[...] /tmp/tl2009/source/Work/libs/icu/icu-build/lib/libsicudata.a 
/tmp/tl2009/source/Work/libs/teckit/libTECkit.a 
/tmp/tl2009/source/Work/libs/xpdf/libxpdf.a 
/tmp/tl2009/source/Work/libs/libpng/libpng.a 
/usr/lib/libfontconfig.dll.a /usr/lib/libiconv.dll.a 
/usr/lib/libfreetype.dll.a -lz /usr/lib/libexpat.dll.a 
-L/tmp/tl2009/source/Work/libs/freetype2 
/tmp/tl2009/source/Work/libs/freetype2/libfreetype.a 
/tmp/tl2009/source/Work/libs/zlib/libz.a [...]

Notice that libz and libfreetype both appear twice, with the system 
libraries first in both cases (which I think is what we want), and this 
causes no problems.  I should say this causes no problems for the 
*build*.  I have no idea whether xetex will actually work.  For example, 
cygwin's freetype is version 2.3.8; as a result, xetex --version produces

	Compiled with FreeType2 version 2.3.9; using 2.3.8

I'm not interested in worrying about that today.

The last remaining problem from my point of view is that static linking 
with libstd++ isn't working.  I might try disabling the cxx hack to see 
if that solves it.  If not, I have no idea.

Regards,

Ken


More information about the tlbuild mailing list