[tlbuild] TeX Live builds -- second summary
Peter Breitenlohner
peb at mppmu.mpg.de
Mon May 4 19:15:02 CEST 2009
On Mon, 4 May 2009, Ken Brown wrote:
> On 5/4/2009 9:56 AM, Peter Breitenlohner wrote:
>> (1) TL binary build for the TL2009 CD. There we want system libraries only
>> when absolutely necessary, a static libstdc++ if possible, and
>> multi-platform install paths. In TL2008 Cygwin was not included.
>
> Thanks for the clarification, Peter. I think the plan is to include Cygwin
> in TL2009, and Karl asked me to build the binaries for it. So I will avoid
> using the system zlib. Do you have any suggestions for the best way to
> prevent libtool from adding -lz to the final link line for xetex.exe? I know
> of two ways. The first is to use Angelo's workaround. The second is to
> temporarily remove -lz from the dependency list in /usr/lib/libfontconfig.la
> while doing the TL build. Is there a better approach that I'm missing?
Hi Ken,
this is a bit of a problem. Since on non-mac systems xetex uses the system fonconfig
library and everything that comes with it (on my linux system that's
libfreetype, libexpat, and libz), it is probably best to use system versions
for all of them (specifically libfreetype and libz) -- for xetex only.
I'll think about a way to do that. That should be easy provided there is a
libfontconfig.la that automatically pulls in all libraries required for
fontconfig.
You could test this by removing
xetex_ldadd += $(FREETYPE2_LIBS) $(ZLIB_LIBS)
xetex_dependencies += $(FREETYPE2_DEPEND) $(ZLIB_DEPEND)
from texk/web2c/xetextdir/am/xetex.am and then run automake in texk/web2c/
(or remove the corresponding pieces from the resulting
texk/web2c/Makefile.in).
I think you have to keep
xetex_cppflags += $(FREETYPE2_INCLUDES) $(ZLIB_INCLUDES)
and pray that the installed headers and those from the TL tree are
compatible. Not very nice, but might work.
I'd love to check that the installed freetype headers come from the same
version as those in the TL tree, i.e., currently 2.3.9 but at the moment
don't see how to do that (other that compiling a small test program checking
just this).
Regards
Peter
More information about the tlbuild
mailing list