<div dir="ltr"><br><br><div class="gmail_quote">2008/9/20 George N. White III <span dir="ltr"><<a href="mailto:gnwiii@gmail.com">gnwiii@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, Sep 20, 2008 at 6:30 PM, Norbert Preining <<a href="mailto:preining@logic.at">preining@logic.at</a>> wrote:<br>
<br>
> On Sa, 20 Sep 2008, Ralph Boland wrote:<br>
>> Here is the output; it is the same as before:<br>
>> fmtutil-sys --byfmt pdflatex<br>
>> tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not<br>
>> found.<br>
>> fmtutil: config file `fmtutil.cnf' not found.<br>
><br>
>><br>
>> NOW RUNNING SAME command as root:<br>
>> output is exactly the same.<br>
><br>
> ??? What?? You say output is exactly the same and then you provide the<br>
> output from below?<br>
><br>
>> Finally using sudo fmtutil-sys --byfmt pdflatex > fmtutil-sys-out I get the<br>
>> attached file plus the screen output:<br>
><br>
> And that is fine...<br>
><br>
> I don't get it (Ubuntu is braindamaged with respect to root handling).<br>
><br>
> Is there a difference between:<br>
> sudo fmtutil-sys --byfmt pdflatex<br>
> and<br>
> AS ROOT<br>
> fmtutil-sys --byfmt pdflatex<br>
> and<br>
> AS USER<br>
> fmtutil --byfmt pdflatex<br>
<br>
</div>The environment will differ:<br>
<br>
$ sudo /usr/bin/printenv<br>
$ sudo /usr/bin/texconfig conf<br>
$ su<br>
# /usr/bin/printenv<br>
# /usr/bin/texconfig conf<br>
# exit<br>
$ su -<br>
# /usr/bin/printenv<br>
# /usr/bin/texconfig conf<br>
<br>
might shed some light on the problem.<br>
<div class="Ih2E3d"><br>
>> fmtutil: running `pdftex -ini -jobname=pdflatex -progname=pdflatex<br>
>> -translate-file=cp227.tcx *pdflatex.ini' ...<br>
>> fmtutil: /var/lib/texmf/web2c/pdftex/pdflatex.fmt installed.<br>
><br>
> That is fine. So now you should be able to compile documents!<br>
><br>
> It looks all completely normal, I don't see the problem.<br>
><br>
> Now, can you run<br>
> pdflatex<br>
> on a simple document as user?<br>
<br>
</div>Say, "pdflatex sample2e", so we all see the same<br>
source file.<br>
<div class="Ih2E3d"><br>
> And if not, maybe with<br>
> pdflatex -kpathsea-debug=-1<br>
<br>
</div>or pdflatex -recorder sample2e and send the<br>
sample2.fls file. Mine (from Fedora 8) has:<br>
<br>
PWD /Data/u/gwhite/T/test/TL2007<br>
INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt<br>
INPUT /usr/share/texmf/tex/latex/base/sample2e.tex<br>
OUTPUT sample2e.log<br>
INPUT /usr/share/texmf/tex/latex/base/article.cls<br>
[..]<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>I get the following:<br> pdflatex -recorder sample2e<br>This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)<br> %&-line parsing enabled.<br>kpathsea: Running mktexfmt pdflatex.fmt<br>
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.<br>fmtutil: config file `fmtutil.cnf' not found.<br>I can't find the format file `pdflatex.fmt'!<br><br>I couldn't find file sample2.fls or sample2e.fls anywhere.<br>
<br>Ralph<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="Wj3C7c"><br>
--<br>
George N. White III <<a href="mailto:aa056@chebucto.ns.ca">aa056@chebucto.ns.ca</a>><br>
Head of St. Margarets Bay, Nova Scotia<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Give a man a fish and you feed him for a day.<br>Teach man to fish and he'll catch every fish there is<br>(urged on by Fisheries and Oceans Canada no doubt).<br>
Give a man a goose and you feed him for a day. <br>Teach man to hunt ...<br>
</div>