source: archive/texlive-source-full.xml@ 5c7f2497

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5c7f2497 was b2d5567, checked in by Ken Moffat <ken@…>, 9 years ago

Archive the old texlive.xml page as texlive-source-full.

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

  • Property mode set to 100644
File size: 10.9 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
79 <!-- text for recommended libraries, shared with pass 1 -->
80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
81 href="../../xincludes/texrecommendlibs.xml"/>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <!-- text for optional deps, shared with pass 1 -->
85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
86 href="../../xincludes/texoptional.xml"/>
87
88
89 <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
90 <!-- text for runtime deps, shared with tl-installer and pass 1 -->
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
92 href="../../xincludes/texruntime.xml"/>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/texlive"/></para>
96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of TeX Live</title>
101
102 <para>If you started with the binary installer, these instructions will
103 overwrite the programs it installed.</para>
104
105<!-- the first part of this is the same as in texlive pass 1 -->
106<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
107mkdir texlive-build &amp;&amp;
108cd texlive-build &amp;&amp;
109
110../configure \
111 --prefix=/opt/texlive/&texlive-year; \
112 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
113 --datarootdir=/opt/texlive/&texlive-year; \
114 --includedir=/usr/include \
115 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
116 --libdir=/usr/lib \
117 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
118 --disable-native-texlive-build \
119 --disable-static --enable-shared \
120 --with-system-cairo \
121 --with-system-fontconfig \
122 --with-system-freetype2 \
123 --with-system-graphite2 \
124 --with-system-harfbuzz \
125 --with-system-icu \
126 --with-system-libgs \
127 --with-system-libpng \
128 --with-system-pixman \
129 --with-system-poppler \
130 --with-system-xpdf \
131 --with-system-zlib \
132 --with-banner-add=" - BLFS" \
133 --enable-xindy \
134 --enable-xindy-rules \
135 --enable-xindy-doc \
136 --with-clisp-runtime=system</userinput></screen>
137
138 <para>Asymptote has to be separately configured. It ships with its own copy
139 of the gc source tarball, and will only use the system version if that local
140 source is removed.
141 </para>
142
143<screen><userinput>pushd ../utils/asymptote &amp;&amp;
144rm -v gc-7.4.0.tar.gz &amp;&amp;
145
146echo "ac_cv_lib_m_sqrt=yes" >config.cache &amp;&amp;
147echo "ac_cv_lib_z_deflate=yes" >>config.cache &amp;&amp;
148
149./configure LIBS="-ltirpc " \
150 --prefix=/opt/texlive/&texlive-year;/ \
151 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
152 --enable-texlive-build \
153 --datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
154 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
155 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
156 --cache-file=config.cache &amp;&amp; &amp;&amp;
157popd &amp;&amp;
158unset TEXARCH &amp;&amp;
159
160make &amp;&amp;
161make -C ../utils/asymptote</userinput></screen>
162
163 <para>To test the results, issue: <command>make -k check &amp;&amp;
164 make -C utils/asymptote check</command>.</para>
165
166 <para>If you have used the binary installer, you will want to
167 do a full install. As the <systemitem class="username">root</systemitem>
168 user:</para>
169
170<screen><userinput role="nodump">make install &amp;&amp;
171make -C ../utils/asymptote install</userinput></screen>
172
173 <para>For people who have followed the LFS way and built from source,
174 it is only necessary to install <application>xindy</application> and
175 <application>asy</application>, so, as the
176 <systemitem class="username">root</systemitem> user:</para>
177
178<screen><userinput role="root">make -C utils/xindy install &amp;&amp;
179make -C ../utils/asymptote install</userinput></screen>
180
181 <para>One part of the package remains to be rebuilt:
182 <xref linkend="biber"/>.</para>
183
184 </sect2>
185
186 <sect2 role="commands">
187 <title>Command Explanations</title>
188
189 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
190 href="../../xincludes/tex-prefix.xml"/>
191
192 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
193 href="../../xincludes/tex-lib.xml"/>
194
195 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
196 href="../../xincludes/static-libraries.xml"/>
197
198 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
199 href="../../xincludes/tex-shared.xml"/>
200
201 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
202 href="../../xincludes/tex-system.xml"/>
203
204<!-- <para>
205 <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
206 a non-standard meaning, it tells <command>configure</command> to use the
207 system-installed <application>poppler</application> headers and library.
208 Again, omit this if you have not installed
209 <application>poppler</application>.
210 </para> -->
211 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
212 href="../../xincludes/tex-xpdf.xml"/>
213
214 <para>
215 <parameter>echo "ac_cv_lib_m_sqrt=yes" ... LIBS="-ltirpc " &gt;config.cache,
216 ... --cache-file=config.cache</parameter> : The configure scripts in
217 <application>TeX Live</application> are uncommon. Asymptote not only has to
218 be separately configured and built, the configure script fails to find the
219 shared <filename class="libraryfile">libtirpc.so</filename>. Passing that
220 in LIBS breaks the tests for (static) libm and (shared) libz, so we have to
221 fix things up, in much the same way as when cross-compiling.
222 </para>
223
224 <para>
225 <option>--without-x</option>: use this (and omit the configure and make in
226 <filename>utils/asymptote</filename> if you do not have Xorg installed.
227 </para>
228
229 </sect2>
230
231 <sect2 role="content">
232 <title>Contents</title>
233
234 <segmentedlist>
235 <segtitle>Installed Programs</segtitle>
236 <segtitle>Installed Libraries</segtitle>
237 <segtitle>Installed Directories</segtitle>
238
239 <seglistitem>
240 <seg>Over 300 binaries and symlinks to scripts</seg>
241 <seg>libkpathsea.so, libptexenc.so</seg>
242 <seg>/opt/texlive, /usr/include/kpathsea, /usr/include/ptexenc</seg>
243 </seglistitem>
244 </segmentedlist>
245
246 <variablelist>
247 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
248 <?dbfo list-presentation="list"?>
249 <?dbhtml list-presentation="table"?>
250
251 <varlistentry id="texlive-programs">
252 <term><command>TeX&nbsp;programs</command></term>
253 <listitem>
254 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
255 href="../../xincludes/texprogs.xml"/>
256 <indexterm zone="texlive texlive-programs">
257 <primary sortas="b-texlive-programs">TeX Live programs</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="libkpathsea">
263 <term><filename class="libraryfile">libkpathsea.so</filename></term>
264 <listitem>
265 <para>
266 (kpathsearch) exists to look up a file in a list of directories.
267 </para>
268 <indexterm zone="texlive libkpathsea">
269 <primary sortas="c-libkpathsea">libkpathsea.so</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="libptexenc">
275 <term><filename class="libraryfile">libptexenc.so</filename></term>
276 <listitem>
277 <para>
278 is a library for Japanese pTeX (publishing TeX).
279 </para>
280 <indexterm zone="texlive libptexenc">
281 <primary sortas="c-libptexenc">libptexenc.so</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285 </variablelist>
286
287 </sect2>
288
289</sect1>
Note: See TracBrowser for help on using the repository browser.