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

2008-09-16 Thread Hilmar Preusse
On 14.09.08 Vincent Danjean ([EMAIL PROTECTED]) wrote:
 Hilmar Preusse wrote:

Hi,

  reopen 497782
  stop
 
 [...]
  If you'd like to continue discussing that bug you should re-open it.
  Doing this now.
 
 ???
 
 Frank asked a question not really related to this bug in its last
 message. I answered it (and, after hesitations, keep the bug in CC
 in case someone else would be interested by the answer). But I see
 no reason to reopen this bug.
 
I'm sorry! I just thought you'd like to continue discussing. Please
close the bug then again.

Thanks,
  Hilmar
-- 
sigmentation fault



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-14 Thread Hilmar Preusse
reopen 497782
stop

On 13.09.08 Vincent Danjean ([EMAIL PROTECTED]) wrote:
 Frank Küster wrote:

  [EMAIL PROTECTED]:~/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)
  
  I get a different result here:
  
  $ env -i latex Pinball_Wizard.tex 
  This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 
 I've the same thing as Jerome
 Note that the 'lstat(./latex) failed ...' message comes from latex itself
 (try
 strace env -i latex avancement.tex
 to see that or observe that
 env -i true
 does not produce any message)
 
If you'd like to continue discussing that bug you should re-open it.
Doing this now.

H.
-- 
sigmentation fault



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-14 Thread Vincent Danjean
Hilmar Preusse wrote:
 reopen 497782
 stop

[...]
 If you'd like to continue discussing that bug you should re-open it.
 Doing this now.

???

Frank asked a question not really related to this bug in its last message.
I answered it (and, after hesitations, keep the bug in CC in case someone
else would be interested by the answer). But I see no reason to reopen
this bug.
I wont play ping-pong to open/close this bug but I really thing you should
reclose the bug you just reopened (in anycase, I do not see at all my message
as a reason to reopen this bug)

  Regards,
Vincent

 H.


-- 
Vincent Danjean Adresse: Laboratoire d'Informatique de Grenoble
Téléphone:  +33 4 76 61 20 11ENSIMAG - antenne de Montbonnot
Fax:+33 4 76 61 20 99ZIRST 51, avenue Jean Kuntzmann
Email: [EMAIL PROTECTED]   38330 Montbonnot Saint Martin



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-13 Thread Vincent Danjean
Frank Küster wrote:
 [EMAIL PROTECTED]:~/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)
 
 I get a different result here:
 
 $ env -i latex Pinball_Wizard.tex 
 This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)

I've the same thing as Jerome
Note that the 'lstat(./latex) failed ...' message comes from latex itself
(try
strace env -i latex avancement.tex
to see that or observe that
env -i true
does not produce any message)

 Why does it find latex at all, on both system, when the environment
 variable PATH is to be ignored? And if the shell parses the commandline
 in advance and replaces latex by /usr/bin/latex internally, why does
 Jérôme get the error message 
 
 lstat(./latex) failed ...
 ./latex: No such file or directory

Probably because 'env' use the libc exec*p (such as execvp) function:
From the execvp manpage:
   Special semantics for execlp() and execvp()
   The functions execlp() and execvp() will duplicate the actions  of  the
   shell  in  searching  for  an executable file if the specified filename
   does not contain a slash (/) character.  The search path  is  the  path
   specified  in  the  environment by the PATH variable.  If this variable
   isn’t specified, the default path :/bin:/usr/bin is used.   In  addi‐
   tion, certain errors are treated specially.

 And, just for curiosity, how can I see to what PATH is set when env -i
 is used?
 
 $ env -i echo $PATH 
 
 gives
 
 /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/frank/bin
 
 because $PATH is substituted by the shell before env starts. If I
 protect the variable from shell expansion, how can I make someone read
 it again:
 
 $ env -i eval echo '$PATH'
 env: eval: No such file or directory

env -i sh -c 'echo $PATH'
or even
env -i bash -c 'export'
to see all the environment (in the bash shell, so I've 3 variables)
env -i env
to see the real environment after env (nothing displayed for me)

 I guess Florent could answer this, but I haven't heard from him for ages.

Sorry, my name is Vincent :-)

 Regards, Frank

  Regards,
Vincent

-- 
Vincent Danjean   GPG key ID 0x9D025E87 [EMAIL PROTECTED]
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-09 Thread Jérôme Champavère
Well, I'm afraid I won't be of any help here. I hope somehone will
bring you an answer.
Thanks again.

2008/9/5, Frank Küster [EMAIL PROTECTED]:
 Hi Jérôme,

 nice that my hints solved your problem.  There's only one more thing I'd
 like to learn:

 Jérôme Champavère [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED]:~/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)

 I get a different result here:

 $ env -i latex Pinball_Wizard.tex
 This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)

 Why does it find latex at all, on both system, when the environment
 variable PATH is to be ignored? And if the shell parses the commandline
 in advance and replaces latex by /usr/bin/latex internally, why does
 Jérôme get the error message

 lstat(./latex) failed ...
 ./latex: No such file or directory

 And, just for curiosity, how can I see to what PATH is set when env -i
 is used?

 $ env -i echo $PATH

 gives


 /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/frank/bin

 because $PATH is substituted by the shell before env starts. If I
 protect the variable from shell expansion, how can I make someone read
 it again:

 $ env -i eval echo '$PATH'
 env: eval: No such file or directory

 I guess Florent could answer this, but I haven't heard from him for ages.

 Regards, Frank

 --
 Frank Küster
 Debian Developer (TeXLive)
 ADFC Miltenberg
 B90/Grüne KV Miltenberg




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-05 Thread Jérôme Champavère
Thanks for answering.

This is possible, given that I tried several things to get rid of this bug.

Here are some command-line results:

[EMAIL PROTECTED]:~/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.

[EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:
 Jérôme Champavère [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED]:~$ 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




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-05 Thread Jérôme Champavère
Since I'm curious, I did a man env and found option -u. Then I tried this:

[EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:
 Thanks for answering.

 This is possible, given that I tried several things to get rid of this bug.

 Here are some command-line results:

 [EMAIL PROTECTED]:~/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.

 [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:
 Jérôme Champavère [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED]:~$ 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





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-05 Thread Jérôme Champavère
That worked.

Thank you for the trail.

I hope this will not be broken again.

Regards.

2008/9/5, Jérôme Champavère [EMAIL PROTECTED]:
 Since I'm curious, I did a man env and found option -u. Then I tried
 this:

 [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:
 Thanks for answering.

 This is possible, given that I tried several things to get rid of this
 bug.

 Here are some command-line results:

 [EMAIL PROTECTED]:~/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.

 [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:
 Jérôme Champavère [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED]:~$ 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






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with 

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

2008-09-05 Thread Frank Küster
Hi Jérôme,

nice that my hints solved your problem.  There's only one more thing I'd
like to learn:

Jérôme Champavère [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED]:~/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)

I get a different result here:

$ env -i latex Pinball_Wizard.tex 
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)

Why does it find latex at all, on both system, when the environment
variable PATH is to be ignored? And if the shell parses the commandline
in advance and replaces latex by /usr/bin/latex internally, why does
Jérôme get the error message 

 lstat(./latex) failed ...
 ./latex: No such file or directory

And, just for curiosity, how can I see to what PATH is set when env -i
is used?

$ env -i echo $PATH 

gives


/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/frank/bin

because $PATH is substituted by the shell before env starts. If I
protect the variable from shell expansion, how can I make someone read
it again:

$ env -i eval echo '$PATH'
env: eval: No such file or directory

I guess Florent could answer this, but I haven't heard from him for ages.

Regards, Frank

-- 
Frank Küster
Debian Developer (TeXLive)
ADFC Miltenberg
B90/Grüne KV Miltenberg



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-09-04 Thread Jérôme Champavère
Package: texlive-base-bin
 Version: 2007.dfsg.2-3
 Severity: important

 When calling latex (or pdflatex) for compiling a tex document, I get
 the following message:

 [EMAIL PROTECTED]:~$ 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.

 It appears that Running mktexfmt latex.fmt cannot be done by a normal
 user: it gives the same error message as above. I tried it with sudo and
 it worked. I got a long log with the last following lines:

 fmtutil: /home/jchampavere/.texmf-var/web2c/pdftex/latex.fmt installed.
 /home/jchampavere/.texmf-var/web2c/pdftex/latex.fmt

 I found a similar bug in the bug reports, #486162. However, no
 suggestion found there helped me to solve the problem, hence this
 report.

 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.

 -- Package-specific info:
 If you report an error when running one of the TeX-related binaries
 (latex, pdftex, metafont,...), or if the bug is related to bad or wrong
 output, please include a MINIMAL example input file that produces the
 error in your report. Don't forget to also include minimal examples of
 other files that are needed, e.g. bibtex databases. Often it also helps
 to include the logfile. Please, never send included pictures!

 If your example file isn't short or produces more than one page of
 output (except when multiple pages are needed to show the problem),
 you can probably minimize it further. Instructions on how to do that
 can be found at

 http://www.latex-einfuehrung.de/mini-en.html (english)

 or

 http://www.latex-einfuehrung.de/mini.html (german)

 ##
 minimal input file


 ##
 other files

 ##
  List of ls-R files

 lrwxrwxrwx 1 root root 27 sep  3 17:29 /usr/share/texmf-texlive/ls-R
 - /var/lib/texmf/ls-R-TEXLIVE
 ##
  Config files
 Warning: texmf.cnf cannot be found with kpsewhich!
 Warning: fmtutil.cnf cannot be found with kpsewhich!
 Warning: updmap.cfg cannot be found with kpsewhich!
 lrwxrwxrwx 1 root root 46 sep  3 17:29
 /usr/share/texmf-texlive/tex/generic/config/language.dat -
 /var/lib/texmf/tex/generic/config/language.dat
 ##
  Files in /etc/texmf/web2c/
 total 4
 -rw-r--r-- 1 root root 283 jui 28 00:53 mktex.cnf
 ##
  md5sums of texmf.d
 42c20d7e8bd343542772b5a145bf8ad8  /etc/texmf/texmf.d/05TeXMF.cnf
 5f7f6652cc8b8071c9e4ea6ba9e9f0a1  /etc/texmf/texmf.d/15Plain.cnf
 f68e5add6afd6585b982f2f78e2e6a92  /etc/texmf/texmf.d/45TeXinputs.cnf
 ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
 afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
 9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
 7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
 055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf
 37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
 a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
 30f4f13357c2761ed01a6a15f28725a5  /etc/texmf/texmf.d/95NonPath.cnf
 ab2fc06ffd389aa24d7ab44af8b735b7  /etc/texmf/texmf.d/95NonPath.cnf~

 -- System Information:
 Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
 Architecture: i386 (i686)

 Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash

 Versions of packages texlive-base-bin depends on:
 ii  ed 0.7-2 The classic unix line editor
 ii  libc6  2.7-13GNU C Library: Shared libraries
 ii  libgcc11:4.3.1-9 GCC support library
 ii  libkpathsea4   2007.dfsg.2-3 TeX Live: path search library for
 ii  libncurses55.6+20080804-1shared libraries for terminal hand
 ii  libpng12-0 1.2.27-1  PNG library - runtime
 ii  libpoppler30.8.4-1.1 PDF rendering library
 ii  libstdc++6 4.3.1-9   The GNU Standard C++ Library v3
 ii  libx11-6   2:1.1.4-2 X11 client-side library
 ii  libxaw72:1.0.4-2 X11 Athena Widget library
 ii  libxmu62:1.0.4-1 X11 miscellaneous utility library
 ii  libxpm41:3.5.7-1 X11 pixmap library
 ii  libxt6 1:1.0.5-3 X11 toolkit intrinsics library
 ii  mime-support   3.44-1MIME files 'mime.types'  'mailcap
 ii  perl   

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

2008-09-04 Thread Frank Küster
Jérôme Champavère [EMAIL PROTECTED] wrote:

  [EMAIL PROTECTED]:~$ 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



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]