[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Matthias Faulstich] Re: Installation /Configuration Problem with tetex



Am Montag, 7. November 2005 12:04 schrieb Frank Küster :
> Matthias Faulstich <faulstich@elon07.fh-swf.de> wrote:
> > Am Montag, 7. November 2005 11:09 schrieb Frank Küster :
> >> Matthias Faulstich <faulstich@elon07.fh-swf.de> wrote:
> >> > + export SHOW_UID_WARNING=true
> >> > + SHOW_UID_WARNING=true
> >> > + exec fmtutil-sys --byfmt latex
> >> > fmtutil-sys: format `latex' not available.
> >>
> >> ...but we have already found out that there is a correct line for latex
> >> in /etc/texmf/fmt.d/01tetex.cnf.  I never imagined that it might not
> >> find its way into /var/lib/texmf/web2c/fmtutil.cnf, the file actually
> >> read by fmtutil-sys.  Could you please check this?
> >>
> >> $ grep ^latex /var/lib/texmf/web2c/fmtutil.cnf
> >>
> >> Should yield
> >>
> >> latex		pdfetex		language.dat	-translate-file=cp227.tcx *latex.ini
> >
> > It does!
> > mfai1:/home/matthias# grep ^latex /var/lib/texmf/web2c/fmtutil.cnf
> > latex           pdfetex         language.dat    -translate-file=cp227.tcx
> > *latex.ini
>
> So we have to repeat the debugging.  I must apologize, there was a bug
> in the debug script that I sent the first time - I didn't update it when
> I changed the non-debug-script.  Please safe the attached file as
> "fmtutil-sys-debug",
> make it executable, go to the directory where it is and then run (again,
> sorry):
No problem ;-) 
> ./fmtutil-sys-debug --byfmt latex 2>&1 | tee debug.lg

So here it is...

Regards
Matthias
hallo
+ test -f /bin/ksh
+ unset RUNNING_KSH
+ test -f /bin/bsh
+ unset RUNNING_BSH
+ test -n ''
+ : fmtutil-sys
+ argv0=fmtutil
+ version=1105809354
+ cnf=fmtutil.cnf
++ id -u
+ '[' 0 -eq 0 ']'
+ '[' --byfmt = --root-home ']'
+ '[' '!' fmtutil-sys = fmtutil-sys ']'
+ main --byfmt latex
+ destdir=
+ cnf_file=
+ cmd=
+ needsCleanup=false
+ need_find_hyphenfile=false
+ cfgparam=
+ cfgmaint=
+ tmpdir=/tmp/fmtutil-sys.5980
+ verboseFlag=true
+ mktexfmtMode=false
+ case $argv0 in
+ case $1 in
+ shift
+ cmd=byfmt
+ arg=latex
+ test 1 -gt 0
+ shift
+ case $1 in
+ break
+ case "$cmd" in
+ test -n ''
+ test -n ''
+ test -z ''
++ tcfmgr --cmd find --file fmtutil.cnf
++ initTexmfMain
++ case $MT_TEXMFMAIN in
+++ kpsewhich --var-value=TEXMFMAIN
++ MT_TEXMFMAIN=/usr/share/texmf
++ export MT_TEXMFMAIN
++ /usr/share/texmf/texconfig/tcfmgr --cmd find --file fmtutil.cnf
+ cnf_file=/var/lib/texmf/web2c/fmtutil.cnf
+ test -f /var/lib/texmf/web2c/fmtutil.cnf
+ case "$cmd" in
+ test -n ''
+ test -z ''
++ kpsewhich -var-value=TEXMFVAR
+ : /var/lib/texmf
+ destdir=/var/lib/texmf/web2c
+ test -d /var/lib/texmf/web2c
+ test -d /var/lib/texmf/web2c
+ test -w /var/lib/texmf/web2c
++ pwd
+ thisdir=/home/matthias/tmp
+ : /home/matthias/tmp
+ export KPSE_DOT
+ TEXINPUTS=/tmp/fmtutil-sys.5980:/root/.tex
+ export TEXINPUTS
+ setupTmpDir
+ false
+ trap cleanup 1 2 3 7 13 15
+ needsCleanup=true
+ umask 077
+ mkdir /tmp/fmtutil-sys.5980
+ cd /tmp/fmtutil-sys.5980
+ case "$destdir" in
+ case "$cnf_file" in
+ cache_vars
++ kpsewhich '--expand-var=$VARTEXFONTS'
++ sed 's%^!!%%'
+ : /var/cache/fonts
++ kpsewhich '--format=web2c files' mktexnam
+ : /usr/share/texmf/web2c/mktexnam
++ kpsewhich '--format=web2c files' mktexnam.opt
+ : /usr/share/texmf/web2c/mktexnam.opt
++ kpsewhich '--format=web2c files' mktexdir
+ : /usr/share/texmf/web2c/mktexdir
++ kpsewhich '--format=web2c files' mktexdir.opt
+ : /usr/share/texmf/web2c/mktexdir.opt
++ kpsewhich '--format=web2c files' mktexupd
+ : /usr/share/texmf/web2c/mktexupd
++ kpsewhich '--format=web2c files' mktex.cnf
+ : /usr/share/texmf/web2c/mktex.cnf
++ kpsewhich '--format=web2c files' mktex.opt
+ : /usr/share/texmf/web2c/mktex.opt
+ export MT_VARTEXFONTS MT_MKTEXNAM MT_MKTEXNAM_OPT MT_MKTEXDIR
+ export MT_MKTEXDIR_OPT MT_MKTEXUPD MT_MKTEX_CNF MT_MKTEX_OPT
+ init_log_failure
+ log_failure_msg=
+ has_errors=false
+ case "$cmd" in
+ create_one_format latex
+ fmtname=latex
+ find_info_for_name latex
+ format=latex
++ egrep '^latex( |	)' /var/lib/texmf/web2c/fmtutil.cnf
++ sed q
+ set x latex pdfetex language.dat -translate-file=cp227.tcx '*latex.ini'
+ shift
+ test 5 = 0
+ parse_line latex pdfetex language.dat -translate-file=cp227.tcx '*latex.ini'
+ case $1 in
+ disabled=false
+ format=latex
+ engine=pdfetex
+ hyphenation=language.dat
+ shift
+ shift
+ shift
+ pool=
+ tcx=
+ case $1 in
+ texargs='-translate-file=cp227.tcx *latex.ini'
+ eval 'lastarg=$2'
++ lastarg='*latex.ini'
++ echo '*latex.ini'
++ sed 's%^\*%%'
+ inifile=latex.ini
+ case "$engine" in
+ fmtfile=latex.fmt
+ kpsefmt=tex
+ kpsewhich -progname=latex -format=tex latex.ini
+ abort 'format `latex'\'' not available'
+ echo 'fmtutil-sys: format `latex'\'' not available.'
fmtutil-sys: format `latex' not available.
+ false
+ cleanup
+ rc=1
+ true
+ test -n /tmp/fmtutil-sys.5980
+ test -d /tmp/fmtutil-sys.5980
+ cd /
+ rm -rf /tmp/fmtutil-sys.5980
+ exit 1
+ exit 1

Reply to: