[tlbuild] TeX Live 2010 on Mac OS X

Peter Breitenlohner peb at mppmu.mpg.de
Thu Mar 4 10:36:06 CET 2010


On Wed, 3 Mar 2010, Richard Koch wrote:

> I finally got around to downloading TeX Live 2010 from the svn. I tried to build only on Intel OS X 10.4, where we usually
> build the Intel version. For simplicity I ignored Xindy and Asymptote.
>
> The build failed with these error messages:

Hi Dick,

let me start with a preliminary question: Do you remember the date of your
last successful build?

> 	checking for png.h... yes
> 	checking for FT_Init_FreeType... no
> 	configure: error: libfreetype2 not found
> 	=== configuring in gd failed
> 	make[2]: *** [sublibs] Error 1
> 	make[1]: *** [all-recursive] Error 1
> 	make: *** [all-recursive] Error 1
>
> Just before this, it was
>
> 	=== configuring in gd (/Users/koch/texlive2010/source/Work/libs/gd)

To start diagnosing the problem please look into the directory Work/libs/gd:

In the file config.log there ought to be "... checking for FT_Init_FreeType"
followed by the failing command, error messages from that command, and a
listing of the failing program.

Can you explain the failure from these error messages?

Further down in the same file there ought to be
   FREETYPE2_INCLUDES='`cat .../libs/freetype2/ft-includes`'
   FREETYPE2_LIBS='`cat .../libs/freetype2/ft-libs`'
refering to files in Work/libs/freetype2, and
   ...
   LIBPNG_INCLUDES='...'
   LIBPNG_LIBS='...'
   ...
   ZLIB_INCLUDES='...'
   ZLIB_LIBS='...'
with values (content of files) that are used to compose the failing command.

Are all these values/contents reasonable?

> and before that it was building freetype2, and the last messages read:
>
> 	/Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/libtool --mode=install /usr/bin/install -c \ /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/libfreetype.la /Users/koch/texlive2010/source/Work/libs/freetype2 libtool: install: /usr/bin/install -c /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/.libs/libfreetype.lai /Users/koch/texlive2010/source/Work/libs/freetype2/libfreetype.la libtool: install: /usr/bin/install -c /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/.libs/libfreetype.a /Users/koch/texlive2010/source/Work/libs/freetype2/libfreetype.a libtool: install: chmod 644 /Users/koch/texlive2010/source/Work/libs/freetype2/libfreetype.a libtool: install: ranlib /Users/koch/texlive2010/source/Work/libs/freetype2/libfreetype.a
>
> and then some messages culminating in
>
> 	include/freetype/config/ftmodule.h /Users/koch/texlive2010/source/libs/freetype2/freetype-2.3.11/include/freetype/config/ftoption.h /Users/koch/texlive2010/source/libs/freetype2/freetype-2.3.11/include/freetype/config/ftstdlib.h /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/ftmodule.h ; do \ /usr/bin/install -c -m 644 \ $P /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/config ; \ done rm -f /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/cache/* rmdir /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/cache rm -f /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/internal/* rmdir /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/internal rmdir: /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/internal: No such file or directory make[4]: [install] Error 1 (ignored) /usr/bin/install -c -m 644 /Users/koch/texlive2010/source/libs/freetype2/f
 r!
> eetype-2.3.11/builds/unix/ft2unix.h \ /Users/koch/texlive2010/source/Work/libs/freetype2/ft2build.h /usr/bin/install -c -m 644 /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/ftconfig.h \ /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/config/ftconfig.h /usr/bin/install -c -m 644 /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/ftmodule.h \ /Users/koch/texlive2010/source/Work/libs/freetype2/freetype2/freetype/config/ftmodule.h /usr/bin/install -c -m 755 /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/freetype-config \ /Users/koch/texlive2010/source/Work/libs/freetype2/ft-install/bin/freetype-config /usr/bin/install -c -m 644 /Users/koch/texlive2010/source/libs/freetype2/freetype-2.3.11/builds/unix/freetype2.m4 \ /Users/koch/texlive2010/source/Work/libs/freetype2/ft-install/share/aclocal/freetype2.m4 /usr/bin/install -c -m 644 /Users/koch/texlive2010/source/Work/libs/freetype2/ft-build/freetype2.pc \ /Users/koch/texliv
 !
> e2010/source/Work/libs/freetype2/pkgconfig/freetype2.pc ft-install/bin/freetype-config --cflags >ft-includes ft-install/bin/freetype-config --libtool >ft-libs

Next look into Work/libs/freetype2:

There should be an executable script ft-install/bin/freetype-config and
   ft-install/bin/freetype-config --cflags
resp
   ft-install/bin/freetype-config --libtool
should produce the content of ft-includes and ft-libs.

Any problems here?

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tlbuild mailing list