source: pst/typesetting/texlive.xml@ dde762b3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since dde762b3 was dde762b3, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

texlive-20130530: believe it is a typo; if not, I will revert.

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

  • Property mode set to 100644
File size: 12.6 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 "f52599c99fb1035399b907f4c54f1125">
10 <!ENTITY texlive-source-size "172 MB">
11
12 <!ENTITY texlive-buildsize "1.6 GB">
13 <!ENTITY texlive-time "9.6 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;</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>A binary version of the <application>TeX Live</application> package
34 is installed at <xref linkend="tl-installer"/>. Here, we use that to rebuild
35 the compiled programs from source.</para>
36
37 &lfs75_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&texlive-source-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&texlive-source-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &texlive-source-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &texlive-source-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &texlive-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &texlive-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>
65 Required patch:
66 <ulink url="&patch-root;/texlive-&texlive-version;-source-fix_asymptote-1.patch"/>
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Recommended</bridgehead>
74 <para role="recommended">
75 <xref linkend="freeglut"/> (for asy),
76 <xref linkend="gs"/>,
77 <xref linkend="x-window-system"/>
78 </para>
79 <para>
80 The source ships with its own versions of <emphasis>many</emphasis>
81 libraries, and will use them unless it is forced to use the system
82 versions. The following are recommended so that the system version
83 will be used:
84 <xref linkend="icu"/>,
85 <xref linkend="freetype2"/>,
86 <xref linkend="fontconfig"/>,
87 <xref linkend="graphite2"/>,
88 <xref linkend="harfbuzz"/> (linked to graphite2),
89 <xref linkend="libpng"/>,
90 <xref linkend="poppler"/>
91 </para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <ulink url="http://www.fftw.org/">FFTW</ulink> can be used by asy.
96 </para>
97 <para>
98 The source ships with its own versions of several libraries which are either
99 not under active development, or only used for limited functionality. If
100 you install these, as with some other optional dependencies in this book you
101 will need to tell <command>configure</command> to use the system versions.
102 <ulink url="http://libgd.bitbucket.org">GD</ulink>,
103 <ulink url="http://fossies.org/linux/misc/t1lib-5.1.2.tar.gz/">t1lib</ulink>,
104 <ulink url="http://sourceforge.net/projects/zziplib/">ZZIPlib</ulink>,
105 <ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
106 <ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>
107 </para>
108
109 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
110 <para role="recommended">
111 Some (re-installed) scripts will use
112 <xref linkend="ruby"/> and <xref linkend="tk"/> is used by epspdftk.
113 </para>
114
115 <para condition="html" role="usernotes">User Notes:
116 <ulink url="&blfs-wiki;/texlive"/></para>
117
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of TeX Live</title>
122
123 <para>These instructions will overwrite the corresponding files from the
124 binary installer. As with the installer, change x86_64-linux to whatever
125 matches your architecture.</para>
126
127 <para>Please note that installing from source will recompile the binary
128 programs and recreate the <literal>man</literal> and <literal>info</literal>
129 files. It will also overwrite the scripts - some of these may be older
130 versions than those from the newer installer. It will <emphasis>not</emphasis>
131 recreate any of the following: the more than 200 symlinks in the
132 x86_64-linux directory (some are alternate names, many are pointers to
133 the scripts), html files, PDF files, licenses, README files, two config
134 files (<filename>texmf.cnf</filename> and <filename>texmfcnf.lua</filename>),
135 nor the many package and font files in
136 <filename class="directory">texmf-dist</filename> and
137 <filename class="directory">texmf-var</filename>, nor the files recording
138 the actions of the installer, and the <filename>ls-R</filename> files listing
139 what was originally installed.</para>
140
141 <para>At the moment, these instructions do not rebuild
142 <application>xindy</application> which was installed by the binary installer,
143 due to a problem with the tarball's install procedure. Asy and the rest of
144 asymptote is by default not rebuilt, so we have to separately run
145 <command>configure</command> and <command>make</command> in its directory.
146 </para>
147
148<screen><userinput>patch -Np1 -i ../texlive-&texlive-version;-source-fix_asymptote-1.patch &amp;&amp;
149
150mkdir texlive-build &amp;&amp;
151cd texlive-build &amp;&amp;
152
153../configure \
154 --prefix=/opt/texlive/2013 \
155 --bindir=/opt/texlive/2013/bin/x86_64-linux \
156 --datarootdir=/opt/texlive/2013 \
157 --includedir=/usr/include \
158 --infodir=/opt/texlive/2013/texmf-dist/doc/info \
159 --libdir=/usr/lib \
160 --mandir=/opt/texlive/2013/texmf-dist/doc/man \
161 --disable-native-texlive-build \
162 --disable-static --enable-shared \
163 --with-system-libgs \
164 --with-system-poppler \
165 --with-system-freetype2 \
166 --with-system-fontconfig \
167 --with-system-libpng \
168 --with-system-icu \
169 --with-system-graphite2 \
170 --with-system-harfbuzz \
171 --with-system-xpdf \
172 --with-system-poppler \
173 --with-system-cairo \
174 --with-system-pixman \
175 --with-system-zlib \
176 --with-banner-add=" - BLFS" &amp;&amp;
177
178pushd ../utils/asymptote &amp;&amp;
179 echo "ac_cv_lib_m_sqrt=yes" >config.cache &amp;&amp;
180 echo "ac_cv_lib_z_deflate=yes" >>config.cache &amp;&amp;
181
182./configure LIBS="-ltirpc " \
183 --prefix=/opt/texlive/2013/ \
184 --bindir=/opt/texlive/2013/bin/x86_64-linux \
185 --enable-texlive-build \
186 --datarootdir=/opt/texlive/2013/texmf-dist \
187 --infodir=/opt/texlive/2013/texmf-dist/doc/info \
188 --mandir=/opt/texlive/2013/texmf-dist/doc/man \
189 --cache-file=config.cache &amp;&amp;
190popd &amp;&amp;
191
192make &amp;&amp;
193make -C ../utils/asymptote</userinput></screen>
194
195 <para>To test the results, issue: <command>make -k check &amp;&amp;
196 make -C utils/asymptote check</command>.</para>
197
198 <para>Now, as the <systemitem class="username">root</systemitem>
199 user:</para>
200
201<screen><userinput role="root">make install &amp;&amp;
202make -C ../utils/asymptote install</userinput></screen>
203
204 </sect2>
205
206 <sect2 role="commands">
207 <title>Command Explanations</title>
208
209 <para>
210 <parameter>--prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
211 </parameter>: these switches ensure that the files installed from source
212 will overwrite the corresponding files previously installed by
213 <application>install-tl</application>.
214 </para>
215
216 <para>
217 <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
218 that the libraries will be found at runtime, and that programs can be
219 compiled against them.
220 </para>
221
222 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
223 href="../../xincludes/static-libraries.xml"/>
224
225 <para>
226 <parameter>--enable-shared</parameter>: Use shared versions of
227 <filename class="libraryfile">libkpathsea</filename> and
228 <filename class="libraryfile">libptexenc</filename>.
229 </para>
230
231 <para>
232 <parameter>--with-system-...</parameter>: Unless this parameter is used,
233 the included versions of these libraries will be statically compiled
234 into the programs which need them. If you decided not to install a
235 recommended library, omit the corresponding switches.
236 </para>
237
238 <para>
239 <parameter>--with-system-xpdf</parameter>: Uniquely, this parameter has
240 a non-standard meaning, it tells <command>configure</command> to use the
241 system-installed <application>poppler</application> headers and library.
242 Again, omit this if you have not installed
243 <application>poppler</application>.
244 </para>
245
246 <para>
247 <parameter>echo "ac_cv_lib_m_sqrt=yes" ... LIBS="-ltirpc " &gt;config.cache,
248 ... --cache-file=config.cache</parameter> : The configure scripts in
249 <application>TeX Live</application> are uncommon. Asymptote not only has to
250 be separately configured and built, the configure script fails to find the
251 shared <filename class="libraryfile">libtirpc.so</filename>. Passing that
252 in LIBS breaks the tests for (static) libm and (shared) libz, so we have to
253 fix things up, in much the same way as when cross-compiling.
254 </para>
255
256 <para>
257 <option>--without-x</option>: use this (and omit the configure and make in
258 <filename>utils/asymptote</filename> if you do not have Xorg installed.
259 </para>
260
261 </sect2>
262
263 <sect2 role="content">
264 <title>Contents</title>
265
266 <segmentedlist>
267 <segtitle>Installed Programs</segtitle>
268 <segtitle>Installed Libraries</segtitle>
269 <segtitle>Installed Directories</segtitle>
270
271 <seglistitem>
272 <seg>Over 300 binaries and symlinks to scripts</seg>
273 <seg>libkpathsea.so, libptexenc.so</seg>
274 <seg>/opt/texlive, /usr/include/kpathsea, /usr/include/ptexenc</seg>
275 </seglistitem>
276 </segmentedlist>
277
278 <variablelist>
279 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
280 <?dbfo list-presentation="list"?>
281 <?dbhtml list-presentation="table"?>
282
283 <varlistentry id="texlive-programs">
284 <term><command>TeX&nbsp;programs</command></term>
285 <listitem>
286 <para>included in the <application>TeX Live</application> package are
287 too numerous to individually list. Please refer to the individual
288 program man and html pages in the installation directory's 2011/index.html
289 directory.</para>
290 <indexterm zone="texlive texlive-programs">
291 <primary sortas="b-texlive-programs">TeX Live programs</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="libkpathsea">
297 <term><filename class="libraryfile">libkpathsea.so</filename></term>
298 <listitem>
299 <para>
300 (kpathsearch) exists to look up a file in a list of directories.
301 </para>
302 <indexterm zone="texlive libkpathsea">
303 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="libptexenc">
309 <term><filename class="libraryfile">libptexenc.so</filename></term>
310 <listitem>
311 <para>
312 is a library for Japanese pTeX (publishing TeX).
313 </para>
314 <indexterm zone="texlive libptexenc">
315 <primary sortas="c-libptexenc">libptexenc.so</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319 </variablelist>
320
321 </sect2>
322
323</sect1>
Note: See TracBrowser for help on using the repository browser.