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

Bug#497782: Re : Re : Bug#497782: texlive-base-bin: latex compilation fails as "normal" user



Since I'm curious, I did a "man env" and found option "-u". Then I tried this:

jchampavere@jlaptop:~/these/avancement_2008$ env -u TEXMF latex avancement.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./avancement.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/pandora/pandora.sty)
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `French'
(babel)                I will use the patterns loaded for \language=0 instead.

*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg))) (./avancement.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd) [1] (./avancement.aux) )
Output written on avancement.dvi (1 page, 4000 bytes).
Transcript written on avancement.log.

So, it is strongly probable that the TEXMF variable has to be removed
from my bashrc, I think...

2008/9/5, Jérôme Champavère <jchampavere@gmail.com>:
> Thanks for answering.
>
> This is possible, given that I tried several things to get rid of this bug.
>
> Here are some command-line results:
>
> jchampavere@jlaptop:~/these/avancement_2008$ env -i latex avancement.tex
> lstat(./latex) failed ...
> ./latex: No such file or directory
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>  %&-line parsing enabled.
> entering extended mode
> (./avancement.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,
> noh
> yphenation, loaded.
> (/usr/share/texmf-texlive/tex/latex/base/article.cls
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf-texlive/tex/latex/base/size10.clo))
> (/usr/share/texmf-texlive/tex/latex/pandora/pandora.sty)
> (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
> (/usr/share/texmf-texlive/tex/latex/base/utf8.def
> (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
> (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
> (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
> (/usr/share/texmf-texlive/tex/generic/babel/babel.sty
> (/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
> (/usr/share/texmf-texlive/tex/generic/babel/babel.def)
>
> Package babel Warning: No hyphenation patterns were loaded for
> (babel)                the language `French'
> (babel)                I will use the patterns loaded for \language=0
> instead.
>
> *************************************
> * Local config file frenchb.cfg used
> *
> (/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
> (./avancement.aux)
> (/usr/share/texmf/tex/latex/lm/t1lmr.fd) [1] (./avancement.aux) )
> Output written on avancement.dvi (1 page, 4000 bytes).
> Transcript written on avancement.log.
>
> jchampavere@jlaptop:~/these/avancement_2008$ env | grep TEX
> TEXINPUTS=:./Latex:./Latex/beamerinria:/home/jchampavere/.LaTeX/algorithms
> TEXMF=:/usr/share/texmf-texlive
>
> I need the TEXINPUTS to load some packages. I don't remember exactly
> why I set this to TEXMF, but I should probably change this. What do
> you think?
>
> (I also had recently installed the pandora package directly in the
> texmf tree and ran texhash, which did not break the whole thing)
>
> 2008/9/4, Frank Küster <frank@debian.org>:
>> "Jérôme Champavère" <jchampavere@gmail.com> wrote:
>>
>>>  jchampavere@jlaptop:~$ latex file.tex
>>>  This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>>>   %&-line parsing enabled.
>>>   kpathsea: Running mktexfmt latex.fmt
>>>   tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not
>>>   found.
>>>   fmtutil: config file `fmtutil.cnf' not found.
>>>   I can't find the format file `latex.fmt'!
>>>
>>>  Running with sudo surprisingly does not fail.
>> [...]
>>>  I also noticed that using the front-end kile, I can compile the tex
>>> documents.
>>>  Only the command line bugs. I have no explication of such a behaviour.
>>
>> You probably have some environment variables set in your shell which
>> spoil your latex run.  Try
>>
>> env -i latex file.tex
>>
>> and
>>
>> env | grep TEX
>>
>> Regards, Frank
>> --
>> Frank Küster
>> Debian Developer (TeXLive)
>> ADFC Miltenberg
>> B90/Grüne KV Miltenberg
>>
>



Reply to: