[tldistro] problem installing

François Charette firmicus at ankabut.net
Thu Jun 19 16:13:57 CEST 2008


Hi all,

While running

    make prefix=INSTALLDIR/usr texmf=INSTALLDIR/usr/share/texlive/texmf 
install

(where INSTALLDIR stands for the temporary dir in which I install 
texlive before packaging it),
I encounter this error:

warning: kpathsea: configuration file texmf.cnf not found in these 
directories: 
INSTALLDIR/usr/bin:INSTALLDIR/usr:INSTALLDIR:INSTALLDIR/usr/bin/share/texmf-local/web2c:
INSTALLDIR/usr/share/texmf-local/web2c:INSTALLDIR/share/texmf-local/web2c:
INSTALLDIR/usr/bin/texmf-local/web2c:INSTALLDIR/usr/texmf-local/web2c:
INSTALLDIR/texmf-local/web2c:INSTALLDIR/usr/bin/share/texmf/web2c:
INSTALLDIR/usr/share/texmf/web2c:INSTALLDIR/share/texmf/web2c:
INSTALLDIR/usr/bin/texmf/web2c:INSTALLDIR/usr/texmf/web2c:INSTALLDIR/texmf/web2c.
texlinks: config file `fmtutil.cnf' not found.
make[1]: *** [run-texlinks] Error 1
make[1]: Leaving directory 
`/mnt/data/abslocal/texlive-svn/texlive-bin-svn/source/Work/texk/tetex'
make: *** [install] Error 2

Clearly texlinks should have searched in $texmf/web2c = 
INSTALLDIR/usr/share/texlive/texmf/web2c
even though the texmf variable is correctly set in the Makefiles, but 
instead it searches in the wrong places.

NB: I ran
./configure --prefix=/usr \
       --datadir=INSTALLDIR/usr/share/texlive \
       --datarootdir=INSTALLDIR/usr/share \
       --mandir=INSTALLDIR/usr/share/man \
       --enable-tetex-build \
       --disable-multiplatform \
       --without-dialog --without-texinfo \
       --without-omega --without-aleph \ 
       --with-system-zlib --with-system-pnglib \
       --with-system-ncurses --with-system-t1lib \
       --with-system-gd --with-fontconfig=/usr/lib \
       --with-system-freetype2 --with-freetype2-libdir=/usr/lib \
       --with-freetype2-include=/usr/include/freetype2 \
       --with-xdvi-x-toolkit=xaw \
       --with-cxx-runtime-hack

Is it possible that $texmf is ignored and $datadir/texmf used instead ?
Any idea?

Thanks,
F


More information about the tldistro mailing list