Debian Codegraph @

README.1prerequisites

raw
1 (This file was generated by makeinfo and splitinfo.gawk.)
2 (Released under the old-style GNU documentation license;
3 see sources or other output files for full text.)
4
5 3 Prerequisites
6 ***************
7
8 Overall, building the TeX Live programs, when using all libraries from
9 the TL source tree, requires C and C++11 compilers, GNU 'make', and
10 Python.
11
12 * If 'make' from your 'PATH' is not GNU 'make', you can set the
13 'MAKE' environment variable to whatever is necessary.
14
15 GNU 'make' is required only because of third-party libraries,
16 notably FreeType. Automake/Autoconf output in general, and the
17 TL-maintained directories, work with any reasonable 'make'.(1)
18
19 * A C++11 compiler is similarly required because of the third-party
20 libraries ICU and HarfBuzz (at least); the program 'dvisvgm' also
21 requires C++11. It is possible to build what remains with older
22 compilers, but you have to remove the C++11-dependent sources. See
23 Build one package.
24
25 * Python is required by ICU tests. (If you know how to disable these
26 tests and thus eliminate the requirement, please write.)
27
28 A few programs in the tree have additional requirements:
29
30 'web2c'
31 requires 'perl' for some tests run by 'make check'. Incidentally,
32 the TeX Live installer ('install-tl') and manager ('tlmgr') are
33 also written in Perl, but this does not matter for compiling the
34 sources.
35
36 'xdvik'
37 'xpdfopen'
38 require X11 headers and libraries, typically in devel(opment)
39 packages that are not installed by default.
40
41 'xetex'
42 requires 'fontconfig' (again both headers and library), or, for
43 MacOS only, the 'ApplicationServices' and 'Cocoa' frameworks.
44
45 'xindy'
46 requires GNU 'clisp', 'libsigsegv', and 'libiconv'; additionally,
47 to build the rules and/or documentation: 'perl', 'latex',
48 'pdflatex'.
49
50 Lacking the required tools, building these programs must avoided, e.g.,
51 'configure --without-x --disable-xetex --disable-xindy'
52
53 Modifying source files induces more requirements, as one might
54 expect:
55
56 * Modification of any '.y' or '.l' source files requires 'bison' or
57 'flex' to update the corresponding C sources.
58
59 * Modification of the sources for '.info' files requires 'makeinfo'.
60
61 * Modification of any part of the build system (M4 macros,
62 'configure.ac', 'Makefile.am', or their fragments) requires GNU M4,
63 GNU Autoconf, GNU Automake, and GNU Libtool to update the generated
64 files. Furthermore, to reliably reproduce the build files, the
65 latest original GNU releases of these tools must be used, not any
66 distro packaging of them. See Build system tools, for more
67 discussion.
68
69 If you haven't modified any source files, and infrastructure tools
70 such as 'autoconf' or 'makeinfo' are still being run, check your
71 timestamps--notably, 'use-commit-times' must be set to 'yes' in your
72 Subversion configuration (see Build system tools). No infrastructure
73 tools are needed to do a normal build (barring bugs).
74
75 ---------- Footnotes ----------
76
77 (1) There is one exception in TL: the 'tangle-sh' and related rules
78 use '$@' to mean the target name, a feature not present in all 'make's.
79 This could be alleviated by laborious editing, but since there's no way
80 to avoid GNU 'make' for builds of the entire tree, it does not seem
81 worth the trouble.
82