[tlbuild] first build for TeX Live 2008

Jonathan Kew jonathan_kew at sil.org
Thu May 22 00:58:39 CEST 2008


On 21 May 2008, at 11:33 pm, Vladimir Volovich wrote:

> "JK" == Jonathan Kew writes:
>
>  JK> Hmmm. Is this something libtool is doing? What does the preceding
>  JK> libtool line that generates this link command look like?
>
> /bin/sh ../libtool --mode=link CC -o xetex -L/opt/csw/lib   
> xetexini.o xetex0.o xetex1.o xetex2.o xetexextra.o trans.o  
> XeTeX_ext.o xetex_pool.o XeTeXFontMgr_FC.o synctex-xe.o mfileio.o  
> numbers.o pdfimage.o bmpimage.o jpegimage.o pngimage.o XeTeX_pic.o  
> XeTeXFontMgr.o XeTeXLayoutInterface.o XeTeXOTLayoutEngine.o  
> XeTeXFontInst.o cmaps.o FontTableCache.o XeTeXOTMath.o  
> XeTeXGrLayout.o XeTeXFontInst_FT2.o  \
>         -L/opt/csw/lib -lsocket  ../../libs/icu-xetex/lib/ 
> libsicuuc.a ../../libs/icu-xetex/lib/libsicule.a ../../libs/icu- 
> xetex/lib/libsicudata.a ../../libs/teckit/lib/.libs/ 
> libTECkit.a ../../libs/freetype2/.libs/libfreetype.a ../../libs/ 
> graphite-engine/src/.libs/libgraphite.a ../../libs/zlib/ 
> libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/ 
> libGoo.a ../../libs/xpdf/fofi/libfofi.a ../../libs/libpng/libpng.a - 
> lfontconfig \
>         lib/lib.a ../kpathsea/libkpathsea.la -lm    -D_REENTRANT  - 
> lpthread

I don't see
   /opt/csw/lib/libfreetype.so
   /opt/csw/lib/libiconv.so
   /opt/csw/lib/libexpat.so
explicitly included here, nor does it have -lfreetype -liconv - 
lexpat, nor -lz. So I think this must be a libtool issue; it's  
looking at fontconfig and adding fontconfig's dependencies into the  
link command it runs.

Do you have a libtool library for fontconfig installed (/opt/csw/lib/ 
libfontconfig.la), or is there just a .so file there?


On 21 May 2008, at 11:41 pm, Vladimir Volovich wrote:
> "VV" == Vladimir Volovich writes:
>
>  JK> And does the resulting binary still work, including the  
> ability to
>  JK> locate an OpenType font from ~/.fonts or /etc/fonts or something
>  JK> (wherever fontconfig is set up to manage)?
>
>  VV> i didn't check yet, that will require pulling in the texmf  
> tree? or
>  VV> can i just take plain.tex and generate a format and then run some
>  VV> direct \font\xxx=... to see if it works?
>
> i checked using -ini option:
>
> ./xetex -ini \\relax
> \font\xxx = "Times New Roman"
> \xxx
> test
> \end
>
> and it generated the correct PDF.


OK, that's good to know. Wish I knew how to control that libtool  
command better!

JK



More information about the tlbuild mailing list