[tlbuild] xetex not being built

Jukka Salmi j+tex-live at 2009.salmi.ch
Wed May 6 21:49:10 CEST 2009


Hello,

Peter Breitenlohner --> tlbuild (2009-05-06 18:27:05 +0200):
> thanks for noticing this and the bug fix, committed as r12954. That was a
> stupid typo.

thanks.


> Omega has been removed but aleph is still there. No idea why xetex was not
> built, should have been and --enable-xetex is the default.
>
> This could have various reasons, cross-compiling is one of them.
>
> The actual reason should be in the build.log file; try
>   grep -i xetex build.log | grep -v icu-xetex

Thanks for the hints; texk/web2c/config.log reveals:

[...]
configure:18314: checking for installed fontconfig headers and library
configure:18351: gcc -o conftest -g -O2 /usr/pkg -I/usr/pkg/include/freetype2 -I/usr/pkg/include/freetype -I/usr/pkg/include -Wl,-rpath,/usr/pkg/lib conftest.c -L/usr/pkg/lib -lfontconfig  >&5
/usr/pkg: file not recognized: File format not recognized
configure:18358: $? = 1
[...]
configure:18380: result: no
configure:18395: WARNING: Sorry, can not build XeTeX without fontconfig
[...]

Notice the spurious `/usr/pkg' after `-O2'.  This is caused by line
18328 of texk/web2c/configure, which reads:

    CPPFLAGS="$with_fontconfig $CPPFLAGS"

I passed `--with-fontconfig=/usr/pkg' to the configure script, thus
$CPPFLAGS is set to `/usr/pkg ...' which is obviously wrong.  Removing
the above line would probably fix the problem for me; not sure how the
correct fix lookes like, though.


Regards, Jukka

-- 
This email fills a much-needed gap in the archives.


More information about the tlbuild mailing list