source: pst/typesetting/texlive.xml@ eb38c8a

10.0 10.1 11.0 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since eb38c8a was eb38c8a, checked in by Ken Moffat <ken@…>, 7 years ago

Correct the date in the changelog, add texmf to allow texlive to be installed without the binary installer.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14700 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.2 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 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>texlive-&texlive-version;-source</title>
25
26 <indexterm zone="texlive">
27 <primary sortas="a-texlive">texlive</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to TeX Live from source</title>
32
33 <para>After installing a partial TeX build (or alternatively installing the
34 binary version), here we will build all of TeX Live from source (except
35 <application>biber</application> which is not supplied in the source tarball
36 and will be dealt with separately).</para>
37
38 &lfs76_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &texlive-source-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &texlive-source-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &texlive-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &texlive-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Required</bridgehead>
65 <para role="required">
66 Either <xref linkend="texpass1"/> or <xref linkend="tl-installer"/>
67 , and
68 <xref linkend="clisp"/> (to build <command>xindy</command> which is an
69 index processor for multi-lingual index creation)
70 </para>
71
72 <bridgehead renderas="sect4">Recommended</bridgehead>
73 <para role="recommended">
74 <xref linkend="gs"/> (for dvisvgm - used by asymptote which provides a
75 mathematical coordinate-based framework for technical drawing),
76 <xref linkend="x-window-system"/>
77 </para>
78 <para role="recommended">
79 The source ships with its own versions of <emphasis>many</emphasis>
80 libraries, and will use them unless it is forced to use the system
81 versions. The following are recommended so that the system version
82 will be used:
83 <xref linkend="fontconfig"/>,
84 <xref linkend="freetype2"/>,
85 <xref linkend="gc"/>,
86 <xref linkend="graphite2"/>,
87 <xref linkend="harfbuzz"/> (linked to graphite2),
88 <xref linkend="icu"/>,
89 <xref linkend="libpaper"/>,
90 <xref linkend="libpng"/>,
91 <xref linkend="poppler"/>
92 </para>
93
94 <bridgehead renderas="sect4">Optional</bridgehead>
95 <para role="optional">
96 The source ships with its own versions of several libraries which are either
97 not under active development, or only used for limited functionality. If
98 you install these, as with some other optional dependencies in this book you
99 will need to tell <command>configure</command> to use the system versions.
100 <ulink url="http://libgd.bitbucket.org">GD</ulink>,
101 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
102 <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
103 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
104 </para>
105
106 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
107 <para role="recommended">
108 Some scripts will use
109 <xref linkend="python2"/> or <xref linkend="ruby"/>.
110 </para>
111
112 <para condition="html" role="usernotes">User Notes:
113 <ulink url="&blfs-wiki;/texlive"/></para>
114
115 </sect2>
116
117 <sect2 role="installation">
118 <title>Installation of TeX Live</title>
119
120 <para>If you started with the binary installer, these instructions will
121 overwrite the programs it installed.</para>
122
123<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
124mkdir texlive-build &amp;&amp;
125cd texlive-build &amp;&amp;
126
127../configure \
128 --prefix=/opt/texlive/&texlive-year; \
129 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
130 --datarootdir=/opt/texlive/&texlive-year; \
131 --includedir=/usr/include \
132 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
133 --libdir=/usr/lib \
134 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
135 --disable-native-texlive-build \
136 --disable-static --enable-shared \
137 --with-system-cairo \
138 --with-system-fontconfig \
139 --with-system-freetype2 \
140 --with-system-graphite2 \
141 --with-system-harfbuzz \
142 --with-system-icu \
143 --with-system-libgs \
144 --with-system-libpng \
145 --with-system-pixman \
146 --with-system-poppler \
147 --with-system-xpdf \
148 --with-system-zlib \
149 --with-banner-add=" - BLFS" \
150 --enable-xindy \
151 --enable-xindy-rules \
152 --enable-xindy-doc \
153 --with-clisp-runtime=system</userinput></screen>
154
155 <para>Asymptote has to be separately configured. It ships with its own copy
156 of the gc source tarball, and will only use the system version if that local
157 source is removed.
158 </para>
159
160<screen><userinput>pushd ../utils/asymptote &amp;&amp;
161rm -v gc-7.4.0.tar.gz &amp;&amp;
162
163echo "ac_cv_lib_m_sqrt=yes" >config.cache &amp;&amp;
164echo "ac_cv_lib_z_deflate=yes" >>config.cache &amp;&amp;
165
166./configure LIBS="-ltirpc " \
167 --prefix=/opt/texlive/&texlive-year;/ \
168 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
169 --enable-texlive-build \
170 --datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
171 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
172 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
173 --cache-file=config.cache &amp;&amp; &amp;&amp;
174popd &amp;&amp;
175unset TEXARCH &amp;&amp;
176
177make &amp;&amp;
178make -C ../utils/asymptote</userinput></screen>
179
180 <para>To test the results, issue: <command>make -k check &amp;&amp;
181 make -C utils/asymptote check</command>.</para>
182
183 <para>If you have used the binary installer, you will want to
184 do a full install. As the <systemitem class="username">root</systemitem>
185 user:</para>
186
187<screen><userinput role="nodump">make install &amp;&amp;
188make -C ../utils/asymptote install</userinput></screen>
189
190 <para>For people who have followed the LFS way and built from source,
191 it is only necessary to install <application>xindy</application> and
192 <application>asy</application>, so, as the
193 <systemitem class="username">root</systemitem> user:</para>
194
195<screen><userinput role="root">make -C utils/xindy install &amp;&amp;
196make -C ../utils/asymptote install</userinput></screen>
197
198 <para>One part of the package remains to be rebuilt:
199 <xref linkend="biber"/>.</para>
200
201 </sect2>
202
203 <sect2 role="commands">
204 <title>Command Explanations</title>
205
206 <para>
207 <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
208 </parameter>: these switches ensure that the files installed from source
209 will overwrite the corresponding files previously installed by
210 <application>install-tl</application>.
211 </para>
212
213 <para>
214 <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
215 that the libraries will be found at runtime, and that programs can be
216 compiled against them.
217 </para>
218
219 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
220 href="../../xincludes/static-libraries.xml"/>
221
222 <para>
223 <parameter>--enable-shared</parameter>: Use shared versions of
224 <filename class="libraryfile">libkpathsea</filename> and
225 <filename class="libraryfile">libptexenc</filename>.
226 </para>
227
228 <para>
229 <parameter>--with-system-...</parameter>: Unless this parameter is used,
230 the included versions of these libraries will be statically compiled
231 into the programs which need them. If you decided not to install a
232 recommended library, omit the corresponding switches.
233 </para>
234
235 <para>
236 <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
237 a non-standard meaning, it tells <command>configure</command> to use the
238 system-installed <application>poppler</application> headers and library.
239 Again, omit this if you have not installed
240 <application>poppler</application>.
241 </para>
242
243 <para>
244 <parameter>echo "ac_cv_lib_m_sqrt=yes" ... LIBS="-ltirpc " &gt;config.cache,
245 ... --cache-file=config.cache</parameter> : The configure scripts in
246 <application>TeX Live</application> are uncommon. Asymptote not only has to
247 be separately configured and built, the configure script fails to find the
248 shared <filename class="libraryfile">libtirpc.so</filename>. Passing that
249 in LIBS breaks the tests for (static) libm and (shared) libz, so we have to
250 fix things up, in much the same way as when cross-compiling.
251 </para>
252
253 <para>
254 <option>--without-x</option>: use this (and omit the configure and make in
255 <filename>utils/asymptote</filename> if you do not have Xorg installed.
256 </para>
257
258 </sect2>
259
260 <sect2 role="content">
261 <title>Contents</title>
262
263 <segmentedlist>
264 <segtitle>Installed Programs</segtitle>
265 <segtitle>Installed Libraries</segtitle>
266 <segtitle>Installed Directories</segtitle>
267
268 <seglistitem>
269 <seg>Over 300 binaries and symlinks to scripts</seg>
270 <seg>libkpathsea.so, libptexenc.so</seg>
271 <seg>/opt/texlive, /usr/include/kpathsea, /usr/include/ptexenc</seg>
272 </seglistitem>
273 </segmentedlist>
274
275 <variablelist>
276 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
277 <?dbfo list-presentation="list"?>
278 <?dbhtml list-presentation="table"?>
279
280 <varlistentry id="texlive-programs">
281 <term><command>TeX&nbsp;programs</command></term>
282 <listitem>
283 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
284 href="../../xincludes/texprogs.xml"/>
285 <indexterm zone="texlive texlive-programs">
286 <primary sortas="b-texlive-programs">TeX Live programs</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="libkpathsea">
292 <term><filename class="libraryfile">libkpathsea.so</filename></term>
293 <listitem>
294 <para>
295 (kpathsearch) exists to look up a file in a list of directories.
296 </para>
297 <indexterm zone="texlive libkpathsea">
298 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="libptexenc">
304 <term><filename class="libraryfile">libptexenc.so</filename></term>
305 <listitem>
306 <para>
307 is a library for Japanese pTeX (publishing TeX).
308 </para>
309 <indexterm zone="texlive libptexenc">
310 <primary sortas="c-libptexenc">libptexenc.so</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314 </variablelist>
315
316 </sect2>
317
318</sect1>
Note: See TracBrowser for help on using the repository browser.