source: archive/texlive-source-full.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 10.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY texlive-source-download-http " ">
8 <!ENTITY texlive-source-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
9 <!ENTITY texlive-source-md5sum "09ee265ff51637827559affc7304078c">
10 <!ENTITY texlive-source-size "40 MB">
11
12 <!ENTITY texlive-buildsize "923 MB (if starting from pass 1)">
13 <!ENTITY texlive-time "9.0 SBU">
14]>
15
16<sect1 id="texlive" xreflabel="texlive-&texlive-version;">
17 <?dbhtml filename="texlive.html"?>
18
19
20 <title>texlive-&texlive-version;-source</title>
21
22 <indexterm zone="texlive">
23 <primary sortas="a-texlive">texlive</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to TeX Live from source</title>
28
29 <para>After installing a partial TeX build (or alternatively installing the
30 binary version), here we will build all of TeX Live from source (except
31 <application>biber</application> which is not supplied in the source tarball
32 and will be dealt with separately).</para>
33
34 &lfs76_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &texlive-source-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &texlive-source-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &texlive-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &texlive-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Required</bridgehead>
61 <para role="required">
62 Either <xref linkend="texpass1"/> or <xref linkend="tl-installer"/>
63 , and
64 <xref linkend="clisp"/> (to build <command>xindy</command> which is an
65 index processor for multi-lingual index creation)
66 </para>
67
68 <bridgehead renderas="sect4">Recommended</bridgehead>
69 <para role="recommended">
70 <xref linkend="gs"/> (for dvisvgm - used by asymptote which provides a
71 mathematical coordinate-based framework for technical drawing),
72 <xref linkend="x-window-system"/>
73 </para>
74
75 <!-- text for recommended libraries, shared with pass 1 -->
76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
77 href="../../xincludes/texrecommendlibs.xml"/>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <!-- text for optional deps, shared with pass 1 -->
81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
82 href="../../xincludes/texoptional.xml"/>
83
84
85 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
86 <!-- text for runtime deps, shared with tl-installer and pass 1 -->
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../../xincludes/texruntime.xml"/>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/texlive"/></para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of TeX Live</title>
97
98 <para>If you started with the binary installer, these instructions will
99 overwrite the programs it installed.</para>
100
101<!-- the first part of this is the same as in texlive pass 1 -->
102<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
103mkdir texlive-build &amp;&amp;
104cd texlive-build &amp;&amp;
105
106../configure \
107 --prefix=/opt/texlive/&texlive-year; \
108 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
109 --datarootdir=/opt/texlive/&texlive-year; \
110 --includedir=/usr/include \
111 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
112 --libdir=/usr/lib \
113 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
114 --disable-native-texlive-build \
115 --disable-static --enable-shared \
116 --with-system-cairo \
117 --with-system-fontconfig \
118 --with-system-freetype2 \
119 --with-system-graphite2 \
120 --with-system-harfbuzz \
121 --with-system-icu \
122 --with-system-libgs \
123 --with-system-libpng \
124 --with-system-pixman \
125 --with-system-poppler \
126 --with-system-xpdf \
127 --with-system-zlib \
128 --with-banner-add=" - BLFS" \
129 --enable-xindy \
130 --enable-xindy-rules \
131 --enable-xindy-doc \
132 --with-clisp-runtime=system</userinput></screen>
133
134 <para>Asymptote has to be separately configured. It ships with its own copy
135 of the gc source tarball, and will only use the system version if that local
136 source is removed.
137 </para>
138
139<screen><userinput>pushd ../utils/asymptote &amp;&amp;
140rm -v gc-7.4.0.tar.gz &amp;&amp;
141
142echo "ac_cv_lib_m_sqrt=yes" >config.cache &amp;&amp;
143echo "ac_cv_lib_z_deflate=yes" >>config.cache &amp;&amp;
144
145./configure LIBS="-ltirpc " \
146 --prefix=/opt/texlive/&texlive-year;/ \
147 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
148 --enable-texlive-build \
149 --datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
150 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
151 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
152 --cache-file=config.cache &amp;&amp; &amp;&amp;
153popd &amp;&amp;
154unset TEXARCH &amp;&amp;
155
156make &amp;&amp;
157make -C ../utils/asymptote</userinput></screen>
158
159 <para>To test the results, issue: <command>make -k check &amp;&amp;
160 make -C utils/asymptote check</command>.</para>
161
162 <para>If you have used the binary installer, you will want to
163 do a full install. As the <systemitem class="username">root</systemitem>
164 user:</para>
165
166<screen><userinput role="nodump">make install &amp;&amp;
167make -C ../utils/asymptote install</userinput></screen>
168
169 <para>For people who have followed the LFS way and built from source,
170 it is only necessary to install <application>xindy</application> and
171 <application>asy</application>, so, as the
172 <systemitem class="username">root</systemitem> user:</para>
173
174<screen><userinput role="root">make -C utils/xindy install &amp;&amp;
175make -C ../utils/asymptote install</userinput></screen>
176
177 <para>One part of the package remains to be rebuilt:
178 <xref linkend="biber"/>.</para>
179
180 </sect2>
181
182 <sect2 role="commands">
183 <title>Command Explanations</title>
184
185 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
186 href="../../xincludes/tex-prefix.xml"/>
187
188 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
189 href="../../xincludes/tex-lib.xml"/>
190
191 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
192 href="../../xincludes/static-libraries.xml"/>
193
194 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
195 href="../../xincludes/tex-shared.xml"/>
196
197 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
198 href="../../xincludes/tex-system.xml"/>
199
200<!-- <para>
201 <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
202 a non-standard meaning, it tells <command>configure</command> to use the
203 system-installed <application>poppler</application> headers and library.
204 Again, omit this if you have not installed
205 <application>poppler</application>.
206 </para> -->
207 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
208 href="../../xincludes/tex-xpdf.xml"/>
209
210 <para>
211 <parameter>echo "ac_cv_lib_m_sqrt=yes" ... LIBS="-ltirpc " &gt;config.cache,
212 ... --cache-file=config.cache</parameter> : The configure scripts in
213 <application>TeX Live</application> are uncommon. Asymptote not only has to
214 be separately configured and built, the configure script fails to find the
215 shared <filename class="libraryfile">libtirpc.so</filename>. Passing that
216 in LIBS breaks the tests for (static) libm and (shared) libz, so we have to
217 fix things up, in much the same way as when cross-compiling.
218 </para>
219
220 <para>
221 <option>--without-x</option>: use this (and omit the configure and make in
222 <filename>utils/asymptote</filename> if you do not have Xorg installed.
223 </para>
224
225 </sect2>
226
227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Programs</segtitle>
232 <segtitle>Installed Libraries</segtitle>
233 <segtitle>Installed Directories</segtitle>
234
235 <seglistitem>
236 <seg>Over 300 binaries and symlinks to scripts</seg>
237 <seg>libkpathsea.so, libptexenc.so</seg>
238 <seg>/opt/texlive, /usr/include/kpathsea, /usr/include/ptexenc</seg>
239 </seglistitem>
240 </segmentedlist>
241
242 <variablelist>
243 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
244 <?dbfo list-presentation="list"?>
245 <?dbhtml list-presentation="table"?>
246
247 <varlistentry id="texlive-programs">
248 <term><command>TeX&nbsp;programs</command></term>
249 <listitem>
250 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
251 href="../../xincludes/texprogs.xml"/>
252 <indexterm zone="texlive texlive-programs">
253 <primary sortas="b-texlive-programs">TeX Live programs</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="libkpathsea">
259 <term><filename class="libraryfile">libkpathsea.so</filename></term>
260 <listitem>
261 <para>
262 (kpathsearch) exists to look up a file in a list of directories.
263 </para>
264 <indexterm zone="texlive libkpathsea">
265 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="libptexenc">
271 <term><filename class="libraryfile">libptexenc.so</filename></term>
272 <listitem>
273 <para>
274 is a library for Japanese pTeX (publishing TeX).
275 </para>
276 <indexterm zone="texlive libptexenc">
277 <primary sortas="c-libptexenc">libptexenc.so</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281 </variablelist>
282
283 </sect2>
284
285</sect1>
Note: See TracBrowser for help on using the repository browser.