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

Ralph Boland rpboland at gmail.com
Sat Sep 20 23:59:22 CEST 2008


2008/9/20 Norbert Preining <preining at logic.at>

> On Sa, 20 Sep 2008, Ralph Boland wrote:
> > Here is the output; it is the same as before:
> >      fmtutil-sys --byfmt pdflatex
> >      tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig)
> not
> > found.
> >      fmtutil: config file `fmtutil.cnf' not found.
>
> >
> > NOW RUNNING SAME command as root:
> > output is exactly the same.
>
> ??? What?? You say output is exactly the same and then you provide the
> output from below?
>
> > Finally using sudo fmtutil-sys --byfmt pdflatex > fmtutil-sys-out I get
> the
> > attached file plus the screen output:
>
> And that is fine...
>
> I don't get it (Ubuntu is braindamaged with respect to root handling).

I can't explain this.  I thought sudo and running as root were the same.
I will have to post this on a ubuntu forum for an explaination.

>
>
> Is there a difference between:
>         sudo fmtutil-sys --byfmt pdflatex
> and
>        AS ROOT
>                 fmtutil-sys --byfmt pdflatex
>

These are different as described in the previous email.
I have no reason as to why using sudo seems to work but
running a root does not.


>
> and
>         AS USER
>                fmtutil --byfmt pdflatex


Result is the same:
    tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not
found.
    fmtutil: config file `fmtutil.cnf' not found.


>
>
> >     fmtutil: running `pdftex -ini   -jobname=pdflatex -progname=pdflatex
> > -translate-file=cp227.tcx *pdflatex.ini' ...
> >     fmtutil: /var/lib/texmf/web2c/pdftex/pdflatex.fmt installed.
>
> That is fine. So now you should be able to compile documents!
>
> It looks all completely normal, I don't see the problem.
>
> Now, can you run
>        pdflatex
> on a simple document as user?


No,  I get the same problem as before.

>
>
> And if not, maybe with
>        pdflatex -kpathsea-debug=-1



Here is the output of this command

pdflatex -kpathsea-debug=-1 junk.tex
kdebug:fopen(/usr/bin/pdflatex, r) => 0x818d0b0
kdebug:fclose(0x818d0b0) => 0
kdebug:Search path for cnf files (from compile-time paths.h)
kdebug:  =
/usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c
kdebug:  before expansion =
/usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c
kdebug:  application override path = (none)
kdebug:  application config file path = (none)
kdebug:  texmf.cnf path = (none)
kdebug:  compile-time path =
/usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c
kdebug:  default suffixes = .cnf
kdebug:  other suffixes = (none)
kdebug:  search only with suffix = 0
kdebug:  numeric format value = 8
kdebug:  runtime generation program = (none)
kdebug:  runtime generation command = (none)
kdebug:  program enabled = 0
kdebug:  program enable level = 0
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).
kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1
kdebug:kpse_normalize_path (/usr/share/texmf/web2c) => 1
kdebug:path element /usr/share/texmf/web2c => /usr/share/texmf/web2c/
kdebug:kpse_normalize_path (/usr/share/texmf/web2c/texmf.cnf) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/web2c) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/web2c) => 1
kdebug:path element /usr/share/texmf-texlive/web2c =>
/usr/share/texmf-texlive/web2c/
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/web2c/texmf.cnf) => 1
kdebug:kpse_normalize_path (/usr/local/share/texmf/web2c) => 1
kdebug:kpse_normalize_path (/usr/local/share/texmf/web2c) => 1
kdebug:path element /usr/local/share/texmf/web2c =>
kdebug:fopen(/usr/share/texmf/web2c/texmf.cnf, r) => 0x818e130
kdebug:fclose(0x818e130) => 0
kdebug:hash_lookup(TEXMFDBS.pdflatex) => (nil)
kdebug:hash_lookup(TEXMFDBS) =>
{!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}
kdebug:hash_lookup(TEXMFSYSVAR.pdflatex) => (nil)
kdebug:hash_lookup(TEXMFSYSVAR) => /var/lib/texmf
kdebug:hash_lookup(TEXMFMAIN.pdflatex) => (nil)
kdebug:hash_lookup(TEXMFMAIN) => /usr/share/texmf
kdebug:hash_lookup(TEXMFDIST.pdflatex) => (nil)
kdebug:hash_lookup(TEXMFDIST) => /usr/share/texmf-texlive
kdebug:Search path for ls-R files (from texmf.cnf)
kdebug:  =
/var/lib/texmf:/usr/local/texmf:/usr/share/texmf:/usr/share/texmf-texlive
kdebug:  before expansion =
{!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}
kdebug:  application override path = (none)
kdebug:  application config file path = (none)
kdebug:  texmf.cnf path =
{!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}
kdebug:  compile-time path = $TEXMF:$VARTEXFONTS
kdebug:  default suffixes = ls-R ls-r
kdebug:  other suffixes = (none)
kdebug:  search only with suffix = 0
kdebug:  numeric format value = 9
kdebug:  runtime generation program = (none)
kdebug:  runtime generation command = (none)
kdebug:  program enabled = 0
kdebug:  program enable level = 0
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).
kdebug:kpse_normalize_path (/var/lib/texmf) => 1
kdebug:kpse_normalize_path (/var/lib/texmf) => 1
kdebug:path element /var/lib/texmf => /var/lib/texmf/
kdebug:kpse_normalize_path (/var/lib/texmf/ls-R) => 1
kdebug:kpse_normalize_path (/var/lib/texmf/ls-r) => 1
kdebug:kpse_normalize_path (/usr/local/texmf) => 1
kdebug:kpse_normalize_path (/usr/local/texmf) => 1
kdebug:path element /usr/local/texmf => /usr/local/texmf/
kdebug:kpse_normalize_path (/usr/local/texmf/ls-R) => 1
kdebug:kpse_normalize_path (/usr/local/texmf/ls-r) => 1
kdebug:kpse_normalize_path (/usr/share/texmf) => 1
kdebug:kpse_normalize_path (/usr/share/texmf) => 1
kdebug:path element /usr/share/texmf => /usr/share/texmf/
kdebug:kpse_normalize_path (/usr/share/texmf/ls-R) => 1
kdebug:kpse_normalize_path (/usr/share/texmf/ls-r) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1
kdebug:path element /usr/share/texmf-texlive => /usr/share/texmf-texlive/
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/ls-R) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/ls-r) => 1
kdebug:search([ls-R ls-r]) =>kdebug:hash_lookup(TEXMFLOG.pdflatex) => (nil)
kdebug:hash_lookup(TEXMFLOG) => (nil)
kdebug:variable: TEXMFLOG = (nil)
 /var/lib/texmf/ls-R /usr/local/texmf/ls-R /usr/share/texmf/ls-R
/usr/share/texmf-texlive/ls-R
kdebug:fopen(/var/lib/texmf/ls-R, r) => 0x81a1680
kdebug:fclose(0x81a1680) => 0
kdebug:/var/lib/texmf/ls-R: 64 entries in 26 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 52 nonempty (0%); 64 entries, average
chain 1.2.
kdebug:fopen(/usr/local/texmf/ls-R, r) => 0x81a16a8
kdebug:fclose(0x81a16a8) => 0
kdebug:/usr/local/texmf/ls-R: 5 entries in 3 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 54 nonempty (0%); 69 entries, average
chain 1.3.
kdebug:fopen(/usr/share/texmf/ls-R, r) => 0x81a16a8
kdebug:fclose(0x81a16a8) => 0
kdebug:/usr/share/texmf/ls-R: 1178 entries in 34 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 1145 nonempty (7%); 1247 entries,
average chain 1.1.
kdebug:fopen(/usr/share/texmf-texlive/ls-R, r) => 0x81a16a8
kdebug:fclose(0x81a16a8) => 0
kdebug:/usr/share/texmf-texlive/ls-R: 15774 entries in 1272 directories (0
hidden).
kdebug:ls-R hash table:15991 buckets, 9226 nonempty (57%); 17021 entries,
average chain 1.8.
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).
kdebug:kpse_normalize_path (/var/lib/texmf) => 1
kdebug:kpse_normalize_path (/var/lib/texmf/aliases) => 1
kdebug:kpse_normalize_path (/usr/local/texmf) => 1
kdebug:kpse_normalize_path (/usr/local/texmf/aliases) => 1
kdebug:kpse_normalize_path (/usr/share/texmf) => 1
kdebug:kpse_normalize_path (/usr/share/texmf/aliases) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive) => 1
kdebug:kpse_normalize_path (/usr/share/texmf-texlive/aliases) => 1
kdebug:search(aliases) =>
kdebug:hash_lookup(MKTEXTEX.pdflatex) => (nil)
kdebug:hash_lookup(MKTEXTEX) => (nil)
kdebug:variable: MKTEXTEX = (nil)
kdebug:hash_lookup(TEXINPUTS.pdflatex) => .:$TEXMF/tex/{latex,generic,}//
kdebug:Search path for tex files (from texmf.cnf)
kdebug:  =
.:!!TEXMFMAIN/tex/latex//:!!TEXMFMAIN/tex/generic//:!!TEXMFMAIN/tex///
kdebug:  before expansion = .:$TEXMF/tex/{latex,generic,}//
kdebug:  application override path = (none)
kdebug:  application config file path = (none)
kdebug:  texmf.cnf path = .:$TEXMF/tex/{latex,generic,}//
kdebug:  compile-time path = .:$TEXMF/tex/{$progname,generic,}//
kdebug:  default suffixes = .tex
kdebug:  other suffixes = (none)
kdebug:  search only with suffix = 0
kdebug:  numeric format value = 26
kdebug:  runtime generation program = mktextex
kdebug:  runtime generation command = mktextex
kdebug:  program enabled = 0
kdebug:  program enable level = 0
kdebug:kpse_find_file: searching for junk.tex of type tex (from texmf.cnf)
kdebug:start search(files=[junk.tex], must_exist=0, find_all=0,
path=.:!!TEXMFMAIN/tex/latex//:!!TEXMFMAIN/tex/generic//:!!TEXMFMAIN/tex///).
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (.) => 0
kdebug:path element . => ./
kdebug:kpse_normalize_path (./junk.tex) => 0
kdebug:search([junk.tex]) => ./junk.tex
kdebug:hash_lookup(file_line_error_style.pdflatex) => (nil)
kdebug:hash_lookup(file_line_error_style) => f
kdebug:variable: file_line_error_style = f
kdebug:hash_lookup(parse_first_line.pdflatex) => (nil)
kdebug:hash_lookup(parse_first_line) => t
kdebug:variable: parse_first_line = t
kdebug:fopen(./junk.tex, r) => 0x8248e98
kdebug:fclose(0x8248e98) => 0
kdebug:hash_lookup(shell_escape.pdflatex) => (nil)
kdebug:hash_lookup(shell_escape) => f
kdebug:variable: shell_escape = f
kdebug:hash_lookup(output_comment.pdflatex) => (nil)
kdebug:hash_lookup(output_comment) => (nil)
kdebug:variable: output_comment = (nil)
kdebug:hash_lookup(mem_bot.pdflatex) => (nil)
kdebug:hash_lookup(mem_bot) => (nil)
kdebug:variable: mem_bot = (nil)
kdebug:hash_lookup(main_memory.pdflatex) => (nil)
kdebug:hash_lookup(main_memory) => 1500000 % words of inimemory available:
also applies to inimf&mp
kdebug:variable: main_memory = 1500000 % words of inimemory available: also
applies to inimf&mp
kdebug:hash_lookup(extra_mem_top.pdflatex) => (nil)
kdebug:hash_lookup(extra_mem_top) => 0     % extra high memory for chars,
tokens, etc.
kdebug:variable: extra_mem_top = 0     % extra high memory for chars,
tokens, etc.
kdebug:hash_lookup(extra_mem_bot.pdflatex) => (nil)
kdebug:hash_lookup(extra_mem_bot) => 0     % extra low memory for boxes,
glue, breakpoints, etc.
kdebug:variable: extra_mem_bot = 0     % extra low memory for boxes, glue,
breakpoints, etc.
kdebug:hash_lookup(pool_size.pdflatex) => (nil)
kdebug:hash_lookup(pool_size) => 1250000
kdebug:variable: pool_size = 1250000
kdebug:hash_lookup(string_vacancies.pdflatex) => (nil)
kdebug:hash_lookup(string_vacancies) => 90000
kdebug:variable: string_vacancies = 90000
kdebug:hash_lookup(pool_free.pdflatex) => (nil)
kdebug:hash_lookup(pool_free) => 47500
kdebug:variable: pool_free = 47500
kdebug:hash_lookup(max_strings.pdflatex) => (nil)
kdebug:hash_lookup(max_strings) => 100000
kdebug:variable: max_strings = 100000
kdebug:hash_lookup(strings_free.pdflatex) => (nil)
kdebug:hash_lookup(strings_free) => (nil)
kdebug:variable: strings_free = (nil)
kdebug:hash_lookup(font_mem_size.pdflatex) => (nil)
kdebug:hash_lookup(font_mem_size) => 1200000
kdebug:variable: font_mem_size = 1200000
kdebug:hash_lookup(font_max.pdflatex) => (nil)
kdebug:hash_lookup(font_max) => 2000
kdebug:variable: font_max = 2000
kdebug:hash_lookup(trie_size.pdflatex) => (nil)
kdebug:hash_lookup(trie_size) => 400000
kdebug:variable: trie_size = 400000
kdebug:hash_lookup(hyph_size.pdflatex) => (nil)
kdebug:hash_lookup(hyph_size) => 8191        % prime number of hyphenation
exceptions, >610, <32767.
kdebug:variable: hyph_size = 8191        % prime number of hyphenation
exceptions, >610, <32767.
kdebug:hash_lookup(buf_size.pdflatex) => (nil)
kdebug:hash_lookup(buf_size) => 200000
kdebug:variable: buf_size = 200000
kdebug:hash_lookup(nest_size.pdflatex) => (nil)
kdebug:hash_lookup(nest_size) => 500        % simultaneous semantic levels
(e.g., groups)
kdebug:variable: nest_size = 500        % simultaneous semantic levels
(e.g., groups)
kdebug:hash_lookup(max_in_open.pdflatex) => (nil)
kdebug:hash_lookup(max_in_open) => 15    % simultaneous input files and
error insertions
kdebug:variable: max_in_open = 15    % simultaneous input files and error
insertions
kdebug:hash_lookup(param_size.pdflatex) => (nil)
kdebug:hash_lookup(param_size) => 10000    % simultaneous macro parameters
kdebug:variable: param_size = 10000    % simultaneous macro parameters
kdebug:hash_lookup(save_size.pdflatex) => (nil)
kdebug:hash_lookup(save_size) => 5000    % for saving values outside current
group
kdebug:variable: save_size = 5000    % for saving values outside current
group
kdebug:hash_lookup(stack_size.pdflatex) => (nil)
kdebug:hash_lookup(stack_size) => 5000    % simultaneous input sources
kdebug:variable: stack_size = 5000    % simultaneous input sources
kdebug:hash_lookup(dvi_buf_size.pdflatex) => (nil)
kdebug:hash_lookup(dvi_buf_size) => 16384 % TeX
kdebug:variable: dvi_buf_size = 16384 % TeX
kdebug:hash_lookup(error_line.pdflatex) => (nil)
kdebug:hash_lookup(error_line) => 79
kdebug:variable: error_line = 79
kdebug:hash_lookup(half_error_line.pdflatex) => (nil)
kdebug:hash_lookup(half_error_line) => 50
kdebug:variable: half_error_line = 50
kdebug:hash_lookup(max_print_line.pdflatex) => (nil)
kdebug:hash_lookup(max_print_line) => 79
kdebug:variable: max_print_line = 79
kdebug:hash_lookup(hash_extra.pdflatex) => (nil)
kdebug:hash_lookup(hash_extra) => 50000
kdebug:variable: hash_extra = 50000
kdebug:hash_lookup(pk_dpi.pdflatex) => (nil)
kdebug:hash_lookup(pk_dpi) => (nil)
kdebug:variable: pk_dpi = (nil)
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
kdebug:hash_lookup(MKTEXFMT.pdflatex) => (nil)
kdebug:hash_lookup(MKTEXFMT) => (nil)
kdebug:variable: MKTEXFMT = (nil)
kdebug:hash_lookup(TEXFORMATS.pdflatex) => (nil)
kdebug:hash_lookup(TEXFORMATS) => .:$TEXMF/web2c/{$engine,}//
kdebug:Search path for fmt files (from texmf.cnf)
kdebug:  = .:!!TEXMFMAIN/web2c/pdftex//:!!TEXMFMAIN/web2c///
kdebug:  before expansion = .:$TEXMF/web2c/{$engine,}//
kdebug:  application override path = (none)
kdebug:  application config file path = (none)
kdebug:  texmf.cnf path = .:$TEXMF/web2c/{$engine,}//
kdebug:  compile-time path = .:$TEXMF/web2c/{$engine,}//
kdebug:  default suffixes = .fmt
kdebug:  other suffixes = .efmt .efm .ofmt .ofm .oft .eofmt .eoft .eof .pfmt
.pfm .epfmt .epf .xpfmt .xpf .afmt .afm
kdebug:  search only with suffix = 0
kdebug:  numeric format value = 10
kdebug:  runtime generation program = mktexfmt
kdebug:  runtime generation command = mktexfmt
kdebug:  program enabled = 1
kdebug:  program enable level = 1
kdebug:kpse_find_file: searching for pdflatex.fmt of type fmt (from
texmf.cnf)
kdebug:start search(files=[pdflatex.fmt], must_exist=0, find_all=0,
path=.:!!TEXMFMAIN/web2c/pdftex//:!!TEXMFMAIN/web2c///).
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (./pdflatex.fmt) => 0
kdebug:kpse_normalize_path (TEXMFMAIN/web2c/pdftex//) => 0
kdebug:kpse_normalize_path (TEXMFMAIN/web2c///) => 0
kdebug:search([pdflatex.fmt]) =>
kdebug:start search(files=[pdflatex.fmt], must_exist=1, find_all=0,
path=.:!!TEXMFMAIN/web2c/pdftex//:!!TEXMFMAIN/web2c///).
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (./pdflatex.fmt) => 0
kdebug:kpse_normalize_path (TEXMFMAIN/web2c/pdftex//) => 0
kdebug:kpse_normalize_path (TEXMFMAIN/web2c///) => 0
kdebug:search([pdflatex.fmt]) =>
kpathsea: Running mktexfmt pdflatex.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 `pdflatex.fmt'!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/tex-live/attachments/20080920/c817541d/attachment-0001.html 


More information about the tex-live mailing list