<div dir="ltr"><br><br><div class="gmail_quote">2008/9/20 Norbert Preining <span dir="ltr"><<a href="mailto:preining@logic.at">preining@logic.at</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 Sa, 20 Sep 2008, Ralph Boland wrote:<br>
</div><div class="Ih2E3d">> 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>
</div>??? What?? You say output is exactly the same and then you provide the<br>
output from below?<br>
<div class="Ih2E3d"><br>
> Finally using sudo fmtutil-sys --byfmt pdflatex > fmtutil-sys-out I get the<br>
> attached file plus the screen output:<br>
<br>
</div>And that is fine...<br>
<br>
I don't get it (Ubuntu is braindamaged with respect to root handling).</blockquote><div>I can't explain this. I thought sudo and running as root were the same.<br>I will have to post this on a ubuntu forum for an explaination. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Is there a difference between:<br>
<div class="Ih2E3d"> sudo fmtutil-sys --byfmt pdflatex<br>
</div>and<br>
AS ROOT<br>
<div class="Ih2E3d"> fmtutil-sys --byfmt pdflatex</div></blockquote><div><br>These are different as described in the previous email.<br>I have no reason as to why using sudo seems to work but<br>running a root does not.<br>
</div><div> </div><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"><br>
and<br>
</div> AS USER<br>
fmtutil --byfmt pdflatex</blockquote><div><br>Result is the same: <br> tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.<br> fmtutil: config file `fmtutil.cnf' not found.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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>
</div>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?</blockquote><div><br>No, I get the same problem as before. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
And if not, maybe with<br>
pdflatex -kpathsea-debug=-1</blockquote><div><br><br>Here is the output of this command<br><br>pdflatex -kpathsea-debug=-1 junk.tex<br>kdebug:fopen(/usr/bin/pdflatex, r) => 0x818d0b0<br>kdebug:fclose(0x818d0b0) => 0<br>
kdebug:Search path for cnf files (from compile-time paths.h)<br>kdebug: = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c<br>kdebug: before expansion = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c<br>
kdebug: application override path = (none)<br>kdebug: application config file path = (none)<br>kdebug: texmf.cnf path = (none)<br>kdebug: compile-time path = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c<br>
kdebug: default suffixes = .cnf<br>kdebug: other suffixes = (none)<br>kdebug: search only with suffix = 0<br>kdebug: numeric format value = 8<br>kdebug: runtime generation program = (none)<br>kdebug: runtime generation command = (none)<br>
kdebug: program enabled = 0<br>kdebug: program enable level = 0<br>kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1, path=/usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c).<br>
kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1<br>kdebug:path element /usr/share/texmf/web2c => /usr/share/texmf/web2c/<br>kdebug:kpse_normalize_path (/usr/share/texmf/web2c/texmf.cnf) => 1<br>
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/web2c) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf-texlive/web2c) => 1<br>kdebug:path element /usr/share/texmf-texlive/web2c => /usr/share/texmf-texlive/web2c/<br>
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/web2c/texmf.cnf) => 1<br>kdebug:kpse_normalize_path (/usr/local/share/texmf/web2c) => 1<br>kdebug:kpse_normalize_path (/usr/local/share/texmf/web2c) => 1<br>kdebug:path element /usr/local/share/texmf/web2c =><br>
kdebug:fopen(/usr/share/texmf/web2c/texmf.cnf, r) => 0x818e130<br>kdebug:fclose(0x818e130) => 0<br>kdebug:hash_lookup(TEXMFDBS.pdflatex) => (nil)<br>kdebug:hash_lookup(TEXMFDBS) => {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}<br>
kdebug:hash_lookup(TEXMFSYSVAR.pdflatex) => (nil)<br>kdebug:hash_lookup(TEXMFSYSVAR) => /var/lib/texmf<br>kdebug:hash_lookup(TEXMFMAIN.pdflatex) => (nil)<br>kdebug:hash_lookup(TEXMFMAIN) => /usr/share/texmf<br>
kdebug:hash_lookup(TEXMFDIST.pdflatex) => (nil)<br>kdebug:hash_lookup(TEXMFDIST) => /usr/share/texmf-texlive<br>kdebug:Search path for ls-R files (from texmf.cnf)<br>kdebug: = /var/lib/texmf:/usr/local/texmf:/usr/share/texmf:/usr/share/texmf-texlive<br>
kdebug: before expansion = {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}<br>kdebug: application override path = (none)<br>kdebug: application config file path = (none)<br>kdebug: texmf.cnf path = {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}<br>
kdebug: compile-time path = $TEXMF:$VARTEXFONTS<br>kdebug: default suffixes = ls-R ls-r<br>kdebug: other suffixes = (none)<br>kdebug: search only with suffix = 0<br>kdebug: numeric format value = 9<br>kdebug: runtime generation program = (none)<br>
kdebug: runtime generation command = (none)<br>kdebug: program enabled = 0<br>kdebug: program enable level = 0<br>kdebug:start search(files=[ls-R ls-r], must_exist=1, find_all=1, path=/var/lib/texmf:/usr/local/texmf:/usr/share/texmf:/usr/share/texmf-texlive).<br>
kdebug:kpse_normalize_path (/var/lib/texmf) => 1<br>kdebug:kpse_normalize_path (/var/lib/texmf) => 1<br>kdebug:path element /var/lib/texmf => /var/lib/texmf/<br>kdebug:kpse_normalize_path (/var/lib/texmf/ls-R) => 1<br>
kdebug:kpse_normalize_path (/var/lib/texmf/ls-r) => 1<br>kdebug:kpse_normalize_path (/usr/local/texmf) => 1<br>kdebug:kpse_normalize_path (/usr/local/texmf) => 1<br>kdebug:path element /usr/local/texmf => /usr/local/texmf/<br>
kdebug:kpse_normalize_path (/usr/local/texmf/ls-R) => 1<br>kdebug:kpse_normalize_path (/usr/local/texmf/ls-r) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf) => 1<br>
kdebug:path element /usr/share/texmf => /usr/share/texmf/<br>kdebug:kpse_normalize_path (/usr/share/texmf/ls-R) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf/ls-r) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1<br>
kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1<br>kdebug:path element /usr/share/texmf-texlive => /usr/share/texmf-texlive/<br>kdebug:kpse_normalize_path (/usr/share/texmf-texlive/ls-R) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf-texlive/ls-r) => 1<br>
kdebug:search([ls-R ls-r]) =>kdebug:hash_lookup(TEXMFLOG.pdflatex) => (nil)<br>kdebug:hash_lookup(TEXMFLOG) => (nil)<br>kdebug:variable: TEXMFLOG = (nil)<br> /var/lib/texmf/ls-R /usr/local/texmf/ls-R /usr/share/texmf/ls-R /usr/share/texmf-texlive/ls-R<br>
kdebug:fopen(/var/lib/texmf/ls-R, r) => 0x81a1680<br>kdebug:fclose(0x81a1680) => 0<br>kdebug:/var/lib/texmf/ls-R: 64 entries in 26 directories (0 hidden).<br>kdebug:ls-R hash table:15991 buckets, 52 nonempty (0%); 64 entries, average chain 1.2.<br>
kdebug:fopen(/usr/local/texmf/ls-R, r) => 0x81a16a8<br>kdebug:fclose(0x81a16a8) => 0<br>kdebug:/usr/local/texmf/ls-R: 5 entries in 3 directories (0 hidden).<br>kdebug:ls-R hash table:15991 buckets, 54 nonempty (0%); 69 entries, average chain 1.3.<br>
kdebug:fopen(/usr/share/texmf/ls-R, r) => 0x81a16a8<br>kdebug:fclose(0x81a16a8) => 0<br>kdebug:/usr/share/texmf/ls-R: 1178 entries in 34 directories (0 hidden).<br>kdebug:ls-R hash table:15991 buckets, 1145 nonempty (7%); 1247 entries, average chain 1.1.<br>
kdebug:fopen(/usr/share/texmf-texlive/ls-R, r) => 0x81a16a8<br>kdebug:fclose(0x81a16a8) => 0<br>kdebug:/usr/share/texmf-texlive/ls-R: 15774 entries in 1272 directories (0 hidden).<br>kdebug:ls-R hash table:15991 buckets, 9226 nonempty (57%); 17021 entries, average chain 1.8.<br>
kdebug:start search(file=aliases, must_exist=1, find_all=1, path=/var/lib/texmf:/usr/local/texmf:/usr/share/texmf:/usr/share/texmf-texlive).<br>kdebug:kpse_normalize_path (/var/lib/texmf) => 1<br>kdebug:kpse_normalize_path (/var/lib/texmf/aliases) => 1<br>
kdebug:kpse_normalize_path (/usr/local/texmf) => 1<br>kdebug:kpse_normalize_path (/usr/local/texmf/aliases) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf/aliases) => 1<br>
kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1<br>kdebug:kpse_normalize_path (/usr/share/texmf-texlive/aliases) => 1<br>kdebug:search(aliases) =><br>kdebug:hash_lookup(MKTEXTEX.pdflatex) => (nil)<br>
kdebug:hash_lookup(MKTEXTEX) => (nil)<br>kdebug:variable: MKTEXTEX = (nil)<br>kdebug:hash_lookup(TEXINPUTS.pdflatex) => .:$TEXMF/tex/{latex,generic,}//<br>kdebug:Search path for tex files (from texmf.cnf)<br>kdebug: = .:!!TEXMFMAIN/tex/latex//:!!TEXMFMAIN/tex/generic//:!!TEXMFMAIN/tex///<br>
kdebug: before expansion = .:$TEXMF/tex/{latex,generic,}//<br>kdebug: application override path = (none)<br>kdebug: application config file path = (none)<br>kdebug: texmf.cnf path = .:$TEXMF/tex/{latex,generic,}//<br>
kdebug: compile-time path = .:$TEXMF/tex/{$progname,generic,}//<br>kdebug: default suffixes = .tex<br>kdebug: other suffixes = (none)<br>kdebug: search only with suffix = 0<br>kdebug: numeric format value = 26<br>kdebug: runtime generation program = mktextex<br>
kdebug: runtime generation command = mktextex<br>kdebug: program enabled = 0<br>kdebug: program enable level = 0<br>kdebug:kpse_find_file: searching for junk.tex of type tex (from texmf.cnf)<br>kdebug:start search(files=[junk.tex], must_exist=0, find_all=0, path=.:!!TEXMFMAIN/tex/latex//:!!TEXMFMAIN/tex/generic//:!!TEXMFMAIN/tex///).<br>
kdebug:kpse_normalize_path (.) => 0<br>kdebug:kpse_normalize_path (.) => 0<br>kdebug:path element . => ./<br>kdebug:kpse_normalize_path (./junk.tex) => 0<br>kdebug:search([junk.tex]) => ./junk.tex<br>kdebug:hash_lookup(file_line_error_style.pdflatex) => (nil)<br>
kdebug:hash_lookup(file_line_error_style) => f<br>kdebug:variable: file_line_error_style = f<br>kdebug:hash_lookup(parse_first_line.pdflatex) => (nil)<br>kdebug:hash_lookup(parse_first_line) => t<br>kdebug:variable: parse_first_line = t<br>
kdebug:fopen(./junk.tex, r) => 0x8248e98<br>kdebug:fclose(0x8248e98) => 0<br>kdebug:hash_lookup(shell_escape.pdflatex) => (nil)<br>kdebug:hash_lookup(shell_escape) => f<br>kdebug:variable: shell_escape = f<br>
kdebug:hash_lookup(output_comment.pdflatex) => (nil)<br>kdebug:hash_lookup(output_comment) => (nil)<br>kdebug:variable: output_comment = (nil)<br>kdebug:hash_lookup(mem_bot.pdflatex) => (nil)<br>kdebug:hash_lookup(mem_bot) => (nil)<br>
kdebug:variable: mem_bot = (nil)<br>kdebug:hash_lookup(main_memory.pdflatex) => (nil)<br>kdebug:hash_lookup(main_memory) => 1500000 % words of inimemory available: also applies to inimf&mp<br>kdebug:variable: main_memory = 1500000 % words of inimemory available: also applies to inimf&mp<br>
kdebug:hash_lookup(extra_mem_top.pdflatex) => (nil)<br>kdebug:hash_lookup(extra_mem_top) => 0 % extra high memory for chars, tokens, etc.<br>kdebug:variable: extra_mem_top = 0 % extra high memory for chars, tokens, etc.<br>
kdebug:hash_lookup(extra_mem_bot.pdflatex) => (nil)<br>kdebug:hash_lookup(extra_mem_bot) => 0 % extra low memory for boxes, glue, breakpoints, etc.<br>kdebug:variable: extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc.<br>
kdebug:hash_lookup(pool_size.pdflatex) => (nil)<br>kdebug:hash_lookup(pool_size) => 1250000<br>kdebug:variable: pool_size = 1250000<br>kdebug:hash_lookup(string_vacancies.pdflatex) => (nil)<br>kdebug:hash_lookup(string_vacancies) => 90000<br>
kdebug:variable: string_vacancies = 90000<br>kdebug:hash_lookup(pool_free.pdflatex) => (nil)<br>kdebug:hash_lookup(pool_free) => 47500<br>kdebug:variable: pool_free = 47500<br>kdebug:hash_lookup(max_strings.pdflatex) => (nil)<br>
kdebug:hash_lookup(max_strings) => 100000<br>kdebug:variable: max_strings = 100000<br>kdebug:hash_lookup(strings_free.pdflatex) => (nil)<br>kdebug:hash_lookup(strings_free) => (nil)<br>kdebug:variable: strings_free = (nil)<br>
kdebug:hash_lookup(font_mem_size.pdflatex) => (nil)<br>kdebug:hash_lookup(font_mem_size) => 1200000<br>kdebug:variable: font_mem_size = 1200000<br>kdebug:hash_lookup(font_max.pdflatex) => (nil)<br>kdebug:hash_lookup(font_max) => 2000<br>
kdebug:variable: font_max = 2000<br>kdebug:hash_lookup(trie_size.pdflatex) => (nil)<br>kdebug:hash_lookup(trie_size) => 400000<br>kdebug:variable: trie_size = 400000<br>kdebug:hash_lookup(hyph_size.pdflatex) => (nil)<br>
kdebug:hash_lookup(hyph_size) => 8191 % prime number of hyphenation exceptions, >610, <32767.<br>kdebug:variable: hyph_size = 8191 % prime number of hyphenation exceptions, >610, <32767.<br>kdebug:hash_lookup(buf_size.pdflatex) => (nil)<br>
kdebug:hash_lookup(buf_size) => 200000<br>kdebug:variable: buf_size = 200000<br>kdebug:hash_lookup(nest_size.pdflatex) => (nil)<br>kdebug:hash_lookup(nest_size) => 500 % simultaneous semantic levels (e.g., groups)<br>
kdebug:variable: nest_size = 500 % simultaneous semantic levels (e.g., groups)<br>kdebug:hash_lookup(max_in_open.pdflatex) => (nil)<br>kdebug:hash_lookup(max_in_open) => 15 % simultaneous input files and error insertions<br>
kdebug:variable: max_in_open = 15 % simultaneous input files and error insertions<br>kdebug:hash_lookup(param_size.pdflatex) => (nil)<br>kdebug:hash_lookup(param_size) => 10000 % simultaneous macro parameters<br>
kdebug:variable: param_size = 10000 % simultaneous macro parameters<br>kdebug:hash_lookup(save_size.pdflatex) => (nil)<br>kdebug:hash_lookup(save_size) => 5000 % for saving values outside current group<br>kdebug:variable: save_size = 5000 % for saving values outside current group<br>
kdebug:hash_lookup(stack_size.pdflatex) => (nil)<br>kdebug:hash_lookup(stack_size) => 5000 % simultaneous input sources<br>kdebug:variable: stack_size = 5000 % simultaneous input sources<br>kdebug:hash_lookup(dvi_buf_size.pdflatex) => (nil)<br>
kdebug:hash_lookup(dvi_buf_size) => 16384 % TeX<br>kdebug:variable: dvi_buf_size = 16384 % TeX<br>kdebug:hash_lookup(error_line.pdflatex) => (nil)<br>kdebug:hash_lookup(error_line) => 79<br>kdebug:variable: error_line = 79<br>
kdebug:hash_lookup(half_error_line.pdflatex) => (nil)<br>kdebug:hash_lookup(half_error_line) => 50<br>kdebug:variable: half_error_line = 50<br>kdebug:hash_lookup(max_print_line.pdflatex) => (nil)<br>kdebug:hash_lookup(max_print_line) => 79<br>
kdebug:variable: max_print_line = 79<br>kdebug:hash_lookup(hash_extra.pdflatex) => (nil)<br>kdebug:hash_lookup(hash_extra) => 50000<br>kdebug:variable: hash_extra = 50000<br>kdebug:hash_lookup(pk_dpi.pdflatex) => (nil)<br>
kdebug:hash_lookup(pk_dpi) => (nil)<br>kdebug:variable: pk_dpi = (nil)<br>This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)<br> %&-line parsing enabled.<br>kdebug:hash_lookup(MKTEXFMT.pdflatex) => (nil)<br>
kdebug:hash_lookup(MKTEXFMT) => (nil)<br>kdebug:variable: MKTEXFMT = (nil)<br>kdebug:hash_lookup(TEXFORMATS.pdflatex) => (nil)<br>kdebug:hash_lookup(TEXFORMATS) => .:$TEXMF/web2c/{$engine,}//<br>kdebug:Search path for fmt files (from texmf.cnf)<br>
kdebug: = .:!!TEXMFMAIN/web2c/pdftex//:!!TEXMFMAIN/web2c///<br>kdebug: before expansion = .:$TEXMF/web2c/{$engine,}//<br>kdebug: application override path = (none)<br>kdebug: application config file path = (none)<br>kdebug: texmf.cnf path = .:$TEXMF/web2c/{$engine,}//<br>
kdebug: compile-time path = .:$TEXMF/web2c/{$engine,}//<br>kdebug: default suffixes = .fmt<br>kdebug: other suffixes = .efmt .efm .ofmt .ofm .oft .eofmt .eoft .eof .pfmt .pfm .epfmt .epf .xpfmt .xpf .afmt .afm<br>kdebug: search only with suffix = 0<br>
kdebug: numeric format value = 10<br>kdebug: runtime generation program = mktexfmt<br>kdebug: runtime generation command = mktexfmt<br>kdebug: program enabled = 1<br>kdebug: program enable level = 1<br>kdebug:kpse_find_file: searching for pdflatex.fmt of type fmt (from texmf.cnf)<br>
kdebug:start search(files=[pdflatex.fmt], must_exist=0, find_all=0, path=.:!!TEXMFMAIN/web2c/pdftex//:!!TEXMFMAIN/web2c///).<br>kdebug:kpse_normalize_path (.) => 0<br>kdebug:kpse_normalize_path (./pdflatex.fmt) => 0<br>
kdebug:kpse_normalize_path (TEXMFMAIN/web2c/pdftex//) => 0<br>kdebug:kpse_normalize_path (TEXMFMAIN/web2c///) => 0<br>kdebug:search([pdflatex.fmt]) =><br>kdebug:start search(files=[pdflatex.fmt], must_exist=1, find_all=0, path=.:!!TEXMFMAIN/web2c/pdftex//:!!TEXMFMAIN/web2c///).<br>
kdebug:kpse_normalize_path (.) => 0<br>kdebug:kpse_normalize_path (./pdflatex.fmt) => 0<br>kdebug:kpse_normalize_path (TEXMFMAIN/web2c/pdftex//) => 0<br>kdebug:kpse_normalize_path (TEXMFMAIN/web2c///) => 0<br>
kdebug:search([pdflatex.fmt]) =><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>
</div></div><br>
</div>