[tlbuild] --with-fontconfig-includes and --with-fontconfig-libdir=/opt/csw/lib

Vladimir Volovich vvv at vsu.ru
Tue Jun 2 23:03:18 CEST 2009


Hi Peter,

i configured TL with --with-fontconfig-includes=/opt/csw/include --with-fontconfig-libdir=/opt/csw/lib
and did not have pkg-config in the PATH... but configure script did not
detect fontconfig and built without xetex.

make: running /opt/csw/bin/bash ../../../texk/web2c/configure
 '--disable-option-checking' '--prefix=/opt/home/vvv/src/texlive/source/inst' '--datadir=/opt/home/vvv/src/texlive/source/inst' '--with-tex-banner=TeX Live 2009' '--disable-shared' '--disable-threads' '--with-xdvi-x-toolkit=motif' '--with-fontconfig-includes=/opt/csw/include' '--with-fontconfig-libdir=/opt/csw/lib' '--enable-64bit-libs=no' '--disable-largefile' '--sysconfdir=/etc' '--enable-xindy' 'CFLAGS=-xarch=v8 -O' 'CXXFLAGS=-xarch=v8 -O' '--enable-native-texlive-build' '--enable-multiplatform' '--enable-cxx-runtime-hack' '--bindir=${exec_prefix}/bin/sparc-sun-solaris2.8' '--libdir=${exec_prefix}/lib/sparc-sun-solaris2.8' '--with-x' '--enable-dialog=yes' '--enable-pdfopen=yes' '--enable-ps2eps=yes' '--enable-psutils=yes' '--enable-t1utils=yes' '--enable-tpic2pdftex=yes' '--enable-vlna=yes' '--enable-web2c=yes' '--enable-afm2pl=yes' '--enable-bibtex8=yes' '--enable-cjkutils=yes' '--enable-detex=yes' '--enable-devnag=yes' '--enable-dtl=yes' '--enable-dvi2tty=yes' '--enable-dvidvi=yes' '--enable-dviljk=yes' '--enable-dvipdfmx=yes' '--enable-dvipng=yes' '--enable-dvipos=yes' '--enable-dvipsk=yes' '--enable-gsftopk=yes' '--enable-lacheck=yes' '--enable-lcdf-typetools=yes' '--enable-makeindexk=yes' '--enable-musixflx=yes' '--enable-ps2pkm=yes' '--enable-seetexk=yes' '--enable-tex4htk=yes' '--enable-ttf2pk=yes' '--enable-ttfdump=yes' '--enable-xdv2pdf=yes' '--enable-xdvik=yes' '--enable-xdvipdfmx=yes' '--enable-tetex=yes' '--enable-texlive=yes' '--with-system-kpathsea=no' '--with-system-teckit=no' '--with-system-graphite=no' '--with-system-xpdf=no' '--with-system-gd=no' '--with-system-freetype2=no' '--with-system-freetype=no' '--with-system-t1lib=no' '--with-system-libpng=no' '--with-system-zlib=no' '--mandir=${prefix}/texmf/doc/man' '--infodir=${prefix}/texmf/doc/info' '--cache-file=/dev/null' '--srcdir=../../../texk/web2c'

[...]

the config.log had:

configure:18667: checking for installed fontconfig headers and library
configure:18711: cc -o conftest -xarch=v8 -O -I/opt/csw/include   conftest.c   >&5
Undefined                       first referenced
 symbol                             in file
FcInit                              conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:18718: $? = 1

as you can see, there was no "-L/opt/csw/lib -lfontconfig" passed to the
compile commmand, which i was expecting to be the case if i use
--with-fontconfig-libdir=/opt/csw/lib (what is the supposed usage of
this configure option, if not for this?).

i can build by putting pkg-config in the PATH (which i wanted to avoid
to prevent auto-recognizing other libraries in non-system paths), but
would prefer to be able to build by passing the --with-fontconfig*
options, which worked last year.

BTW, it seems that it is better to produce an error when xetex cannot
detect fontconfig, rather than continue the build... if user knows he
doesn't have fontconfig, he can pass --without-xetex; but otherwise the
user expects the build to include xetex, and it is a waste of time to
discover after the lengthy build that xetex was not built because of
some configure-time problem.

Best,
v.


More information about the tlbuild mailing list