[XeTeX] XeTeX compile error in Gentoo Linux

오인수 erdos.cs at gmail.com
Mon May 29 17:01:41 CEST 2006


In my gentoo system /var/lib/texmf/web2c/texmf.conf is a symbolic link to
/etc/texmf/web2c/texmf.conf.
---------------------------------------------------------------------------------------------------
[root at erdos/var/lib/texmf/web2c]# ls -l texmf.cnf
lrwxrwxrwx 1 root root 26 2006-05-27 22:30 texmf.cnf ->
/etc/texmf/web2c/texmf.cnf
--------------------------------------------------------------------------------------------------


As following your simple  solution,  I  made  symbolic link  as  following.
-----------------------------------------------------------------------------------------------------
ln -s /etc/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf
-----------------------------------------------------------------------------------------------------

Next, I excuted commands that previously occured errors.
----------------------------------------------------------------------------------------------------
[root at erdos/usr/share/texmf/web2c]# xetex -ini  -jobname=xetex
-progname=xetex *xetex.ini
This is XeTeX, Version 3.141592-2.2-0.992 (Web2C 7.5.3) (INITEX)
entering extended mode
(/usr/share/texmf/tex/xetex/config/xetex.ini
(/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format:
codes,
registers, parameters, fonts, more fonts, macros, math definitions,
output routines, hyphenation
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex))
(/usr/share/texmf/tex/generic/xetex/unicode-letters.tex) )
Beginning to dump on file xetex.fmt
 (format=xetex 2006.5.29)
67488 strings of total length 31386
5072 memory locations dumped; current usage is 110&4877
1030 multiletter control sequences
\font\nullfont=nullfont
\font\tenrm=cmr10
\font\preloaded=cmr9
\font\preloaded=cmr8
\font\sevenrm=cmr7
\font\preloaded=cmr6
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded=cmmi9
\font\preloaded=cmmi8
\font\seveni=cmmi7
\font\preloaded=cmmi6
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded=cmsy9
\font\preloaded=cmsy8
\font\sevensy=cmsy7
\font\preloaded=cmsy6
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded=cmss10
\font\preloaded=cmssq8
\font\preloaded=cmssi10
\font\preloaded=cmssqi8
\font\tenbf=cmbx10
\font\preloaded=cmbx9
\font\preloaded=cmbx8
\font\sevenbf=cmbx7
\font\preloaded=cmbx6
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded=cmtt9
\font\preloaded=cmtt8
\font\preloaded=cmsltt10
\font\tensl=cmsl10
\font\preloaded=cmsl9
\font\preloaded=cmsl8
\font\tenit=cmti10
\font\preloaded=cmti9
\font\preloaded=cmti8
\font\preloaded=cmti7
\font\preloaded=cmu10
\font\preloaded=cmmib10
\font\preloaded=cmbsy10
\font\preloaded=cmcsc10
\font\preloaded=cmssbx10
\font\preloaded=cmdunh10
\font\preloaded=cmr7 at 14.51799pt
\font\preloaded=cmtt10 at 14.4pt
\font\preloaded=cmssbx10 at 14.4pt
\font\preloaded=manfnt
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6076 has 181 ops out of 35111
  181 for language 0
No pages of output.
Transcript written on xetex.log.
---------------------------------------------------------------------------------
Wow, it seems OK. But the following command occurs error.

--------------------------------------------------------------------------------
[root at erdos/usr/share/texmf/web2c]# xetex -ini  -jobname=xelatex
-progname=xelatex *xelatex.ini
This is XeTeX, Version 3.141592-2.2-0.992 (Web2C 7.5.3) (INITEX)
entering extended mode
(/usr/share/texmf/tex/xelatex/config/xelatex.ini
(/usr/share/texmf/tex/generic/xetex/unicode-letters.tex)
(/usr/share/texmf/tex/latex/base/latex.ltx
(/usr/share/texmf/tex/latex/base/texsys.cfg)
./texsys.aux found


\@currdir set to: ./.


Assuming \openin and \input
have the same search path.


Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,
LaTeX2e <2003/12/01>
hacks, control, par, spacing, files, font encodings, lengths,
====================================

Local config file fonttext.cfg used

====================================
(/usr/share/texmf/tex/generic/config/fonttext.cfg
(/usr/share/texmf/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texmf/tex/latex/base/omlenc.def)
(/usr/share/texmf/tex/latex/base/t1enc.def)
(/usr/share/texmf/tex/latex/base/ot1enc.def)
(/usr/share/texmf/tex/latex/base/omsenc.def)
(/usr/share/texmf/tex/latex/base/t1cmr.fd)
(/usr/share/texmf/tex/latex/base/ot1cmr.fd)
(/usr/share/texmf/tex/latex/base/ot1cmss.fd)
(/usr/share/texmf/tex/latex/base/ot1cmtt.fd)))
====================================

Local config file fontmath.cfg used

====================================
(/usr/share/texmf/tex/generic/config/fontmath.cfg
(/usr/share/texmf/tex/latex/base/fontmath.ltx
=== Don't modify this file, use a .cfg file instead ===

(/usr/share/texmf/tex/latex/base/omlcmm.fd)
(/usr/share/texmf/tex/latex/base/omscmsy.fd)
(/usr/share/texmf/tex/latex/base/omxcmex.fd)
(/usr/share/texmf/tex/latex/base/ucmr.fd)))
====================================

Local config file preload.cfg used

=====================================
(/usr/share/texmf/tex/generic/config/preload.cfg
(/usr/share/texmf/tex/latex/base/preload.ltx)) page nos., x-ref,
environments,
center, verbatim, math definitions, boxes, title, sectioning, contents,
floats, footnotes, index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================
(/usr/share/texmf/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/frhyph.tex
frhyph.tex - French hyphenation patterns (V2.12) <2002/12/11>)
(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.))
(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
New German Hyphenation Patterns `dehyphn' Rev.31 <2001-05-07> (WaS))
(/usr/share/texmf/tex/generic/hyphen/inhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/bahyph.tex)
(/usr/share/texmf/tex/generic/bghyph/bghyphen.tex
Bulgarian hyphenation patterns
(/usr/share/texmf/tex/generic/bghyph/catmik.tex)
(/usr/share/texmf/tex/generic/bghyph/mik2t2.tex)
(/usr/share/texmf/tex/generic/bghyph/bghyphsi.tex))
(/usr/share/texmf/tex/generic/hyphen/cahyph.tex
Catalan Hyphenation Patterns `cahyphen' Version 1.11 <2003/07/15>)
(/usr/share/texmf/tex/generic/hyphen/hrhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/czhyph.tex
** This file not yet adapted for XeTeX/Unicode -- ignored **)
(/usr/share/texmf/tex/generic/hyphen/dkhyphen.tex
(/usr/share/texmf/tex/generic/hyphen/dkcommon.tex)
(/usr/share/texmf/tex/generic/hyphen/dkspecial.tex))
(/usr/share/texmf/tex/generic/hyphen/nehyph.tex)
(/usr/share/texmf/tex/generic/hyphen/eohyph.tex
Esperanto Hyphenation Patterns `eohyph', 1999-08-10)
(/usr/share/texmf/tex/generic/hyphen/eehyph.tex)
(/usr/share/texmf/tex/generic/hyphen/fi8hyph.tex)
(/usr/share/texmf/tex/generic/hyphen/grhyph.tex
Greek language hyphenation patterns)
(/usr/share/texmf/tex/generic/hyphen/icehyph.tex)
(/usr/share/texmf/tex/generic/hyphen/gahyph.tex
Hyphenation patterns `gahyph.tex' Version 1.0 <2004/01/22>)
(/usr/share/texmf/tex/generic/hyphen/ithyph.tex)
(/usr/share/texmf/tex/generic/hyphen/lahyph.tex
Latin Hyphenation Patterns `lahyph' Version 3.0b <2001/11/21>)
(/usr/share/texmf/tex/generic/hyphen/huhyphn.tex
Huhyphn - hungarian hyphenation patterns v20031107
! Nonletter.
l.33 .ad౱
           s
?
-------------------------------------------------------------------------------------------------

To support your debugging, I attached gentoo ebuild files for tetex
installation
that was written in bash script and texmf.in file that was generated in
xetex installation.

In-Soo, Oh




2006/5/29, Ralf Stubner <ralf.stubner at physik.uni-erlangen.de>:
>
> Jonathan Kew <jonathan_kew at sil.org> writes:
>
> > Note how pdftex has a compiled-in default search location of /var/lib/
> > texmf/web2c, but in xetex the corresponding location is /usr/share/
> > texmf/web2c.
>
> I would guess that /var/lib/texmf/ is explicitly added in the gentoo
> builds of teTeX. I find it difficult to imagine how the web2c configure
> scripts could pickup this variable all by itself.
>
> > A "quick fix" might be to create a symlink so that these locations
> > are actually the same, assuming /usr/share/texmf/web2c doesn't
> > already exist with different contents on your system:
> >
> >       ln -s /var/lib/texmf/web2c /usr/share/texmf/web2c
> >
> > or even perhaps make the symlink for the texmf level rather than web2c.
>
> On Debian, /usr/share/texmf/web2c/texmf.cnf is a symlink to the
> /etc/texmf/texmf.cnf. In addition, Debian uses a shared libkpathsea such
> that tex at all don't know about such compiletime defaults. I haven't
> tried building XeTeX that way, though, and I don't know if that is also
> done on Gentoo.
>
> > The real question, though, is why the xetex configuration gets this
> > wrong, giving you incorrect definitions in paths.h during the build.
>
> Maybe because you are searching for 'hyphen.tex', which is probably
> below /usr/share/texmf. I think XeTeX needs compiletime defaults only
> for finding texmf.cnf. After that, the paths defined in there should be
> used. So it might make sense to use 'kpsewhich texmf.cnf' instead. But
> maybe the setup used by Gentoo with texmf.cnf in /var/lib/texmf is
> simply broken?
>
> cheerio
> ralf
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20060530/15c5bc44/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tetex-3.eclass
Type: application/octet-stream
Size: 6357 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060530/15c5bc44/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tetex-3.0_p1-r3.ebuild
Type: application/octet-stream
Size: 2745 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060530/15c5bc44/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texmf.in
Type: application/octet-stream
Size: 21376 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060530/15c5bc44/attachment-0005.obj 


More information about the XeTeX mailing list