[tlbuild] Latex.fmt not found : texlive-20130530-source.tar.xz

Magnus Larsson k.magnus.larsson at tele2.se
Fri Jan 10 21:14:21 CET 2014


Dear tlbuild at tug.org

Latex.fmt not found : texlive-20130530-source.tar.xz

Problem:
I can compile the sources, but when I try and execute "latex", I get an error 
that "latex.fmt" is not found. Or "tex" which asks for "tex.fmt". How can I 
fix that?

How can I create latex.fmt (tex.fmt)?
How can I configure my build to get a working texlive?

=== details ===

I have a Linux From Scratch system. http://www.linuxfromscratch.org/ uname -a
Linux lfs 3.10.1 #6 SMP Sat Sep 14 18:20:45 CEST 2013 x86_64 GNU/Linux

I downloaded the source tarball:
ftp://tug.org/texlive/historic/2013/texlive-20130530-source.tar.xz

I unpacked the source, cd:ed into source and executed the Build script without 
any additional parameters as per http://www.tug.org/texlive/build.html
magnus at lfs ~> ./Build

I get a directory inst:
inst/bin, inst/iclude, inst/lib, inst/texmf-dist, inst/texmf-var 
The binaries are in: inst/bin/x86_64-unknown-linux-gnu

So far, all is well.

inst/bin/x86_64-unknown-linux-gnu contains "latex" as a link to "pdftex".

If I add, for a quick test,  "inst/bin/x86_64-unknown-linux-gnu" to PATH and 
execute latex I get:

magnus at lfs ~> latex test.tex
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
kpathsea: Running mktexfmt latex.fmt
I can't find the format file `latex.fmt'!

I do not have latex.fmt.

http://www.tug.org/svn/texlive/trunk/Build/source/README?revision=32016&view=markup 
states that: 
" The binaries will be left in ./inst/bin/<stdplatform>. For TeX Live, ignore 
the other files and directories that end up in ./inst.
The new binaries are not directly usable from that location. Instead,
copy them to Master/bin/<tlplatformname>/."

But, just moving the files will not help. I get the same error.

I have the prerequisites, but 
http://www.tug.org/svn/texlive/trunk/Build/source/README?revision=32016&view=markup 
further states:
"...Also perl, latex, and pdflatex to build the rules and/or documentation.".

I thought latex was a part of Texlive and I do get a 'latex' symlink. Is there 
a circular dependency?

Best regards,

Magnus Larsson









More information about the tlbuild mailing list