[tex-live] prolems running latex in tex-live

Zdenek Wagner zdenek.wagner at gmail.com
Sat Sep 20 10:58:57 CEST 2008


2008/9/20 Ralph Boland <rpboland at gmail.com>:
> Apologies for sending this a second time.  The first time I accidentally hit
> the send button.
>
Such errors usually happen if you have both teTeX (or some traces of
teTeX) and TeXLive and PATH is not set correctly. Be sure that you
have /usr/local/texlive/200$x/bin/$arch (supply the correct year and
arch) at the beginning of PATH.

> I am running tex-live on a ubuntu 7.10 system.
> I had had tex-live running successfully for a while but recently tried to
> add a number of .cls and .sty files.
> Once I added these files I was able to use them while running lyx (which
> generates .tex files)
> Eventually I got around to running latex on my .tex files.
> When I did I got the following errors:
>
>         kpathsea: Running mktexfmt pdflatex.fmt
>         tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig)
> not found.
>         fmtutil: config file `fmtutil.cnf' not found.
>
> Advice on the web advised me to reinstall tex-live which I did but it did
> not help.
> Eventually I discovered the texconfig command.
> First I tried running texhash from inside texconfig but to no avail.
> then I ran conf to show the configuration; the output is shown below.
> Some of the  kpathsea variables have odd settings as far as I know.
> In particular:
>
>         TEXMFVAR=/home/rocky/.texmf-var
>         TEXMFCONFIG=/home/rocky/.texmf-config
>
> Neither of the above files exist in my home directory (rocky).
>
> Questions
>
>         1) Are these settings the source of my problem.
>          2) If they are then how do I get them set correctly.
>          3)  If they are not how do I do a proper reinstall.
>               I assume I have modified or created a file somewhere
>               that is affecting the reinstall but I don't know which file.
>
> Thanks for any help.
>
> Ralph Boland
>
>
> OUTPUT from the  conf command from within texconfig:
>
> =========================== version information ==========================
> teTeX-src release:   (info not available)
> teTeX-texmf release: (info not available)
>
> ==================== binaries found by searching $PATH ===================
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
> kpsewhich: /usr/bin/kpsewhich
> updmap: /usr/bin/updmap
> fmtutil: /usr/bin/fmtutil
> texconfig: /usr/bin/texconfig
> tex: /usr/bin/tex
> pdftex: /usr/bin/pdftex
> mktexpk: /usr/bin/mktexpk
> dvips: /usr/bin/dvips
> dvipdfm: /usr/bin/dvipdfm
>
> =========================== active config files ==========================
> /etc/texmf/dvipdfm/config/config
> /etc/texmf/dvips/config/config.ps
> /etc/texmf/tex/generic/config/pdftexconfig.tex
> /etc/texmf/web2c/mktex.cnf
> /etc/texmf/xdvi/XDvi
> /usr/share/texmf/web2c/texmf.cnf
> /var/lib/texmf/web2c/fmtutil.cnf
> /var/lib/texmf/web2c/updmap.cfg
>
> ============================= font map files =============================
> psfonts.map: /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map
> pdftex.map: /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map
> ps2pk.map: /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
> dvipdfm.map: /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map
>
> =========================== kpathsea variables ===========================
> TEXMFMAIN=/usr/share/texmf
> TEXMFDIST=/usr/share/texmf-texlive
> TEXMFLOCAL=/usr/local/share/texmf
> TEXMFSYSVAR=/var/lib/texmf
> TEXMFSYSCONFIG=/etc/texmf
> TEXMFVAR=/home/rocky/.texmf-var
> TEXMFCONFIG=/home/rocky/.texmf-config
> TEXMFHOME=/home/rocky/texmf
> VARTEXFONTS=/tmp/texfonts
> TEXMF={/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}
> SYSTEXMF=/var/lib/texmf,/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive
> TEXMFDBS={!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}
> WEB2C={/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/web2c
> TEXPSHEADERS=.:{/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/{dvips,fonts/{enc,type1,type42,type3}}//
> TEXCONFIG={/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/dvips//
> ENCFONTS=.:{/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}/fonts/enc//
> TEXFONTMAPS=.:{/home/rocky/.texmf-config,/home/rocky/.texmf-var,/home/rocky/texmf,/etc/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf,!!/usr/share/texmf-texlive}{/fonts/map,}{/kpsewhich,/pdftex,/dvips,}//
>
> ==== kpathsea variables (from environment only; ok if no output here) ====
>
> press return to continue...



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the tex-live mailing list