Re: [Vladimir Volovich] tex-common: TEXMFCNF setting in 85Misc.cnf
Dear Vladimir,
please use the list address for communication with the TeX maintainers,
thanks.
Frank Küster <frank@kuesterei.ch> wrote:
> From: Vladimir Volovich <vvv@vsu.ru>
> Subject: tex-common: TEXMFCNF setting in 85Misc.cnf
> To: Norbert Preining <preining@logic.at>, Frank Küster <frank@kuesterei.ch>
> Date: Sat, 03 Feb 2007 21:22:08 +0300
>
> Hi Norbert and Frank,
>
> BTW, on my debian system, i see this:
>
> $ strace kpsewhich plain 2>&1 | grep texmf.cnf
> access("/usr/share/texmf/web2c/texmf.cnf", R_OK) = 0
> stat("/usr/share/texmf/web2c/texmf.cnf", {st_mode=S_IFREG|0644, st_size=25275, ...}) = 0
> access("/usr/share/texmf-texlive/web2c/texmf.cnf", R_OK) = -1 ENOENT (No such file or directory)
> open("/usr/share/texmf/web2c/texmf.cnf", O_RDONLY) = 3
>
> i wonder, why is /usr/share/texmf-texlive/web2c/texmf.cnf being searched?
- The variable TEXMFCNF in texmf.cnf is only informational, as Ralf
pointed out. The duplication of /usr/share/texmf/web2c looks strange,
but I don't think it causes any problems.
- This duplication is actually true in a teTeX system, here I get:
access("/usr/share/texmf/web2c/texmf.cnf", R_OK) = 0
stat64("/usr/share/texmf/web2c/texmf.cnf", {st_mode=S_IFREG|0644, st_size=26068, ...}) = 0
access("/usr/share/texmf/web2c/texmf.cnf", R_OK) = 0
stat64("/usr/share/texmf/web2c/texmf.cnf", {st_mode=S_IFREG|0644, st_size=26068, ...}) = 0
open("/usr/share/texmf/web2c/texmf.cnf", O_RDONLY) = 3
open("/usr/share/texmf/web2c/texmf.cnf", O_RDONLY) = 3
- On the other hand, on a TeX Live based system:
access("/usr/share/texmf/web2c/texmf.cnf", R_OK) = 0
stat64("/usr/share/texmf/web2c/texmf.cnf", {st_mode=S_IFREG|0644, st_size=25611, ...}) = 0
access("/usr/share/texmf-texlive/web2c/texmf.cnf", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/share/texmf/web2c/texmf.cnf", O_RDONLY) = 3
So there's no actual duplication in TeX Live. The informational
setting in texmf.cnf in tex-common should probably be corrected to
match the texlive case
> is it because of a compile-time default for TEXMFCNF?
Yes, it's compiled in.
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: