Red Hat Bugzilla – Bug 22838
tex is broken
Last modified: 2005-10-31 17:00:50 EST
tex is broken. All format files are missing. I tried to compile the format
latex, but tex will fail. The errors make absolutely no sense.
Can you p[rovide an example of what you are trying to do?
I tried to compile a simple latex file
%%%%%% test.tex %%%%%%%%
[gerald@soliton tmp]$ latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
I can't find the format file `latex.fmt'!
Obviously there is the format missing (which should be present in a correct
Hence I tried to compile it myself
[root@soliton /root]# tex -ini -fmt=latex -progname=latex latex.ini
This is TeX, Version 3.14159 (Web2C 7.3.1) (INITEX)
! Arithmetic overflow.
l.125 \multiply\count2 60
(That makes 100 errors; please try again.)
No pages of output.
Transcript written on latex.log.
I looked at the source where the first error occures in
on line 515, where tex checks that the format is sufficiently recent. The code
is fine and
compiles with no errors on my Mac.
Yup, got it, thanks for pointing to the problem. Compilation with -O0 fixes,
Better fix is to compile with gcc-2.96-69, done in tetex-1.0.7-11.
*** Bug 20802 has been marked as a duplicate of this bug. ***
*** Bug 23241 has been marked as a duplicate of this bug. ***