[tex-live] trunk fails in texkit

Jonathan Kew jonathan_kew at sil.org
Fri Jul 27 21:34:26 CEST 2007


So it does; sorry.

I guess most people use --with-system-zlib, which builds  
successfully, but if you don't use this configure option then it  
fails because zlib doesn't get built before teckit, which depends on  
it. The various subdirs of libs/ are just built in the order they  
happened to be listed; they aren't aware of inter-library dependencies.

As a workaround, I've changed the order the libraries are built (via  
configure); this is a bit of a hack as it doesn't really capture the  
dependency, but it should build either with or without -system-zlib  
now. This is checked in as rev 4667 in trunk.

The proper solution would involve making teckit's configure/make  
setup recognize the texlive -system-zlib option, and depend on the  
static build of zlib otherwise. But the whole configure & make stuff  
is so far beyond my comprehension that I'm not attempting this for now.

JK


On 27 Jul 2007, at 1:49 pm, Martin Schröder wrote:

> make[3]: Entering directory
> `/home/ms/tex/texlive/svn/Build/source/Work/libs/teckit/bin'
> source='../../../../libs/teckit/source/Sample-tools/ 
> TECkit_Compile.cpp'
> object='TECkit_Compile.o' libtool=no \
> depfile='.deps/TECkit_Compile.Po' tmpdepfile='.deps/ 
> TECkit_Compile.TPo' \
> depmode=gcc3 /bin/sh ../../../../libs/teckit/depcomp \
> ccache g++ -DHAVE_CONFIG_H -I. -I../../../../libs/teckit/bin -I..
> -I../../../../libs/teckit/source/Public-headers    -g -O2 -DNDEBUG -c
> -o TECkit_Compile.o `test -f
> '../../../../libs/teckit/source/Sample-tools/TECkit_Compile.cpp' ||
> echo '../../../../libs/teckit/bin/'`../../../../libs/teckit/source/ 
> Sample-tools/TECkit_Compile.cpp
> /bin/sh ../libtool --mode=link ccache g++  -g -O2 -DNDEBUG   -o
> teckit_compile  TECkit_Compile.o ../lib/libTECkit_Compiler.la
> ../../zlib/libz.a
> mkdir .libs
> ccache g++ -g -O2 -DNDEBUG -o teckit_compile TECkit_Compile.o
> ../lib/.libs/libTECkit_Compiler.a /usr/lib64/libstdc++.so
> ../../zlib/libz.a -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath
> -Wl,/usr/lib64
> g++: ../../zlib/libz.a: No such file or directory
> make[3]: *** [teckit_compile] Fehler 1
> make[3]: Leaving directory
> `/home/ms/tex/texlive/svn/Build/source/Work/libs/teckit/bin'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory
> `/home/ms/tex/texlive/svn/Build/source/Work/libs/teckit'
> make[1]: *** [all] Fehler 2
> make[1]: Leaving directory
> `/home/ms/tex/texlive/svn/Build/source/Work/libs/teckit'
> make: *** [all] Fehler 1



More information about the tex-live mailing list