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

Paul Vojta vojta at math.berkeley.edu
Fri Jan 10 22:36:46 CET 2014


Dear Mr. Larsson:

Running "make" and "make install" are only the beginning.

You also need to populate the texmf tree with all of the macros,
configure various options (via texconfig-sys), run mklinks to create the
symbolic links, and run
	fmtutil-sys --all
and
	updmap-sys

together with frequent runnings of mktexlsr.

Mostly the source tree is there if you want to recompile something and
replace a binary in an existing tex installation, or if you are repackaging
TeX Live (e.g., for Debian Linux).  If you want to do more than the former,
then you'll need to learn more about how TeX runs.  (I am not offering
to teach you.)

Sincerely,


Paul Vojta


On Fri, Jan 10, 2014 at 09:14:21PM +0100, Magnus Larsson wrote:
> 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