source: archive/texlive-source-full.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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