Author: ken
Date: Wed Jun 24 16:18:02 2015
New Revision: 16165
Log:
Texlive-2015. Looking at what I've done in the past in texlive, I'm sure there
are probably still errors - if anybody has the time, disk space, inclination,
and perhaps their own tex file(s), to review the from source instructions I
would appreciate it. My own (lastex, minimal context) test files are in my
directory on higgs.
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/packages.ent
trunk/BOOK/pst/typesetting/asymptote.xml
trunk/BOOK/pst/typesetting/texlive.xml
trunk/BOOK/pst/typesetting/tl-installer.xml
trunk/BOOK/pst/typesetting/typesetting.xml
trunk/BOOK/xincludes/tex-lib.xml
trunk/BOOK/xincludes/tex-shared.xml
trunk/BOOK/xincludes/texprogs.xml
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Wed Jun 24 16:03:07
2015 (r16164)
+++ trunk/BOOK/introduction/welcome/changelog.xml Wed Jun 24 16:18:02
2015 (r16165)
@@ -48,6 +48,10 @@
<para>June 24th, 2015</para>
<itemizedlist>
<listitem>
+ <para>[ken] - Update to 2015 texlive. Fixes
+ <ulink url="&blfs-ticket-root;6600">#6600</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[fernando] - Update to epiphany-3.16.2. Fixes
<ulink url="&blfs-ticket-root;6644">#6644</ulink>.</para>
</listitem>
Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent Wed Jun 24 16:03:07 2015 (r16164)
+++ trunk/BOOK/packages.ent Wed Jun 24 16:18:02 2015 (r16165)
@@ -599,7 +599,6 @@
<!ENTITY firefox-version "38.0.5">
<!-- Chapter 36 -->
-<!ENTITY asymptote-version "2.35">
<!ENTITY balsa-version "2.5.2">
<!ENTITY ekiga-version "4.0.1">
<!ENTITY feh-version "2.13.1">
@@ -756,11 +755,13 @@
<!ENTITY paps-version "0.6.8">
<!-- Chapter 47 -->
-<!ENTITY texlive-version "20140525">
+<!ENTITY texlive-version "20150521">
+<!ENTITY texmf-version "20150523">
<!-- the year is used when setting up PATHs in the tl-installer
page, as well as to reference the directory in texlive, also
- in asymptote (above) and xindy -->
-<!ENTITY texlive-year "2014">
+ in asymptote, biber and xindy -->
+<!ENTITY texlive-year "2015">
+<!ENTITY asymptote-version "2.35">
<!ENTITY biber-version "2.1a">
<!ENTITY biblatex-version "3.0">
<!ENTITY xindy-version "2.5.1">
Modified: trunk/BOOK/pst/typesetting/asymptote.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/asymptote.xml Wed Jun 24 16:03:07 2015
(r16164)
+++ trunk/BOOK/pst/typesetting/asymptote.xml Wed Jun 24 16:18:02 2015
(r16165)
@@ -35,7 +35,7 @@
technical drawing. Labels and equations can be typeset with LaTeX.
</para>
- &gcc5_checked;
+ &lfs77_checked; &gcc5_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
Modified: trunk/BOOK/pst/typesetting/texlive.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/texlive.xml Wed Jun 24 16:03:07 2015
(r16164)
+++ trunk/BOOK/pst/typesetting/texlive.xml Wed Jun 24 16:18:02 2015
(r16165)
@@ -6,16 +6,16 @@
<!ENTITY texlive-download-http " ">
<!ENTITY texlive-download-ftp
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
- <!ENTITY texlive-md5sum "09ee265ff51637827559affc7304078c">
- <!ENTITY texlive-size "40 MB">
+ <!ENTITY texlive-md5sum "e526bd57118c4c4d5e9d525d20b5ac02">
+ <!ENTITY texlive-size "44 MB">
- <!ENTITY texlive-buildsize "3.6 GB including the additional download">
- <!ENTITY texlive-time "8.2 SBU including the additional download">
+ <!ENTITY texlive-buildsize "4.0 GB including the additional download">
+ <!ENTITY texlive-time "7.2 SBU including the additional download
(+0.3 SBU for the tests)">
<!ENTITY texlive-texmf-download-http " ">
- <!ENTITY texlive-texmf-download-ftp
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
- <!ENTITY texlive-texmf-md5sum "645a6f1d3a0ef4a9c279dae02588eab7">
- <!ENTITY texlive-texmf-size "1.7 GB">
+ <!ENTITY texlive-texmf-download-ftp
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texmf-version;-texmf.tar.xz">
+ <!ENTITY texlive-texmf-md5sum "488c1e36ab42841b122cfd074ac42fa1">
+ <!ENTITY texlive-texmf-size "1.8 GB">
]>
@@ -137,9 +137,30 @@
Install TeX Live by running the following commands:
</para>
-<!-- the configure switches should be identical to those in the
- first part of texlive itself -->
-<screen><userinput>TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e
's/$/-linux/') &&
+ <para>The shared libraries will be installed into a texlive directory.
+ As the <systemitem class="username">root</systemitem> user, add it to
+ your <filename>/etc/ld.so.conf</filename>:</para>
+
+<screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
+<literal># Begin texlive &texlive-year; addition
+
+/opt/texlive/&texlive-year;/lib
+
+# End texlive &texlive-year; addition</literal>
+EOF</userinput></screen>
+
+ <note>
+ <para>
+ From 2015 onwards, a successful install requires some texlive
+ commands to be run as the root user, so we will export the TEXARCH
+ variable to let <systemitem class="username">root</systemitem> use it.
+ </para>
+ </note>
+
+ <para>
+ Now, as a normal user:
+ </para>
+<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e
's/$/-linux/') &&
mkdir texlive-build &&
cd texlive-build &&
@@ -147,49 +168,72 @@
--prefix=/opt/texlive/&texlive-year; \
--bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
--datarootdir=/opt/texlive/&texlive-year; \
- --includedir=/usr/include \
+ --includedir=/opt/texlive/&texlive-year;/include \
--infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
- --libdir=/usr/lib \
+ --libdir=/opt/texlive/&texlive-year;/lib \
--mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
--disable-native-texlive-build \
--disable-static --enable-shared \
--with-system-cairo \
--with-system-fontconfig \
--with-system-freetype2 \
+ --with-system-gmp \
--with-system-graphite2 \
--with-system-harfbuzz \
--with-system-icu \
--with-system-libgs \
--with-system-libpaper \
--with-system-libpng \
+ --with-system-mpfr \
--with-system-pixman \
--with-system-poppler \
--with-system-xpdf \
--with-system-zlib \
--with-banner-add=" - BLFS" &&
-unset TEXARCH &&
make</userinput></screen>
- <para>To test the results, issue: <command>make -k check</command>
+ <para>To test the results, issue: <command>make check</command>
One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
has not yet been installed.</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-<screen role="root"><userinput>make install &&
+<screen role="root"><userinput>make install-strip &&
make texlinks</userinput></screen>
- <para>And now, install the additional files as the
+ <note>
+ <para>
+ Only run <command>make texlinks</command> once. If it is rerun,
+ it can change all the program symlinks so that they point to
+ themselves and are useless.
+ </para>
+ </note>
+
+ <para>Now install the additional files as the
<systemitem class="username">root</systemitem> user:</para>
-<screen role="root"><userinput>mkdir -pv /opt/texlive/&texlive-year; &&
-tar -xf ../../texlive-&texlive-version;-texmf.tar.xz -C
/opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
+<screen role="root"><userinput>tar -xf
../../texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year;
--strip-components=1</userinput></screen>
+
+ <para>Still as the <systemitem class="username">root</systemitem> user,
+ ensure that the programs will be able to find <filename
+ class="libraryfile">libkpathsea</filename>, install a couple of essential
+ perl modules supplied in the source, fix up the PATH so that some of these
+ programs can be run, and initialise the new system (the commands
+ <command>fmtutil-sys --all</command> and <command>mtxrun
--generate</command>
+ will produce a <emphasis>lot</emphasis> of output):</para>
+
+<screen role="root"><userinput>ldconfig &&
+mkdir -pv /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/ &&
+install -v -m444 ../texk/tests/TeXLive/*
/opt/texlive/${TEXYEAR}/tlpkg/TeXLive/ &&
+mktexlsr &&
+fmtutil-sys --all &&
+mtxrun --generate</userinput></screen>
<para>You can now proceed to <xref linkend="asymptote"/>,
<xref linkend="biber"/> and / or <xref linkend="xindy"/> if you
- wish to complete your texlive installation.</para>
+ wish to install them.</para>
</sect2>
@@ -211,13 +255,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/tex-system.xml"/>
-<!-- <para>
- <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
- a non-standard meaning, it tells <command>configure</command> to use the
- system-installed <application>poppler</application> headers and library.
- Again, omit this if you have not installed
- <application>poppler</application>.
- </para> -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/tex-xpdf.xml"/>
@@ -231,13 +268,37 @@
practice, several of the targets such as <command>xetex</command> are now
separate binaries and for these it will report "file already exists".
</para>
+
<para>
- <parameter>tar -xf texlive-&texlive-version;-texmf.tar.xz -C
/opt/texlive/&texlive-year; --strip-components=1</parameter>:
+ <parameter>tar -xf texlive-&texmf-version;-texmf.tar.xz -C
/opt/texlive/&texlive-year; --strip-components=1</parameter>:
the tarball contains the files for the texmf-dist directory, and because
of its size we do not want to waste time and space untarring it and then
copying the files.
</para>
+ <para>
+ <parameter>install -v -m444 ../texk/tests/TeXLive/*
+ /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/</parameter>: This puts the perl
+ modules <filename>TLConfig.pm</filename> and
<filename>TLUtils.pm</filename>
+ into the directory where the binary installer puts them - it is at the
+ start of the perl @INC@ PATH within texlive when installed using the
above
+ configure switches. Without these modules, texlive is unusable.
+ </para>
+
+ <para>
+ <parameter>mktexlsr</parameter>: Create an <filename>ls-R</filename> file
+ which lists what was installed - this is used by kpathsea to find files.
+ </para>
+
+ <para>
+ <parameter>fmtutil-sys --all</parameter>: This initialises the TeX
formats,
+ Metafont bases and Metapost mems.
+ </para>
+
+ <para>
+ <parameter>mtxrun --generate</parameter>: This initialise the ConTeXt
system.
+ </para>
+
</sect2>
<sect2 role="content">
@@ -250,9 +311,10 @@
<seglistitem>
<seg>Over 300 binaries and symlinks to scripts</seg>
- <seg>libkpathsea.so, libptexenc.so</seg>
- <seg>/opt/texlive/&texlive-year;/bin,
/opt/texlive/&texlive-year;/texmf-dist,
- /usr/include/kpathsea, /usr/include/ptexenc</seg>
+ <seg>libkpathsea.so, libptexenc.so, libsynctex.so, libtexlua52.so,
+ libtexluajit.so</seg>
+ <seg>/opt/texlive/&texlive-year;/bin,
/opt/texlive/&texlive-year;/include,
+ /opt/texlive/&texlive-year;/lib,
/opt/texlive/&texlive-year;/texmf-dist</seg>
</seglistitem>
</segmentedlist>
@@ -296,6 +358,42 @@
</indexterm>
</listitem>
</varlistentry>
+
+ <varlistentry id="libsynctex">
+ <term><filename class="libraryfile">libsynctex.so</filename></term>
+ <listitem>
+ <para>
+ is the SyncTeX (Synchronize TeXnology) parser library.
+ </para>
+ <indexterm zone="texlive libsynctex">
+ <primary sortas="c-libsynctex">libsynctex.so</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="libtexlua52">
+ <term><filename class="libraryfile">libtexlua52.so</filename></term>
+ <listitem>
+ <para>
+ provides Lua 5.2, modified for use with LuaTeX.
+ </para>
+ <indexterm zone="texlive libtexlua52">
+ <primary sortas="c-libtexlua52">libtexlua52.so</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="libtexluajit">
+ <term><filename class="libraryfile">libtexluajit.so</filename></term>
+ <listitem>
+ <para>
+ provides LuaJIT, modified for use with LuaJITTeX.
+ </para>
+ <indexterm zone="texlive libtexluajit">
+ <primary sortas="c-libtexluajit">libtexluajit.so</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
</variablelist>
</sect2>
Modified: trunk/BOOK/pst/typesetting/tl-installer.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/tl-installer.xml Wed Jun 24 16:03:07 2015
(r16164)
+++ trunk/BOOK/pst/typesetting/tl-installer.xml Wed Jun 24 16:18:02 2015
(r16165)
@@ -7,11 +7,11 @@
<!ENTITY tl-installer-download-http
"http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz">
<!ENTITY tl-installer-download-ftp " ">
- <!ENTITY tl-installer-md5sum "f5b1e909d5c2380cefd2cda83d288c00">
- <!ENTITY tl-installer-date "20140628"> <!-- in the directory
name -->
+ <!ENTITY tl-installer-md5sum "84bc572abd61dfcc1b377e71c1b9aca8">
+ <!ENTITY tl-installer-date "20150613"> <!-- in the directory
name -->
<!ENTITY tl-installer-size "3.2 MB">
- <!ENTITY tl-installer-buildsize "3.8 GB">
+ <!ENTITY tl-installer-buildsize "4.2 GB">
<!ENTITY tl-installer-time "varies, depending on network speed
and traffic">
]>
@@ -46,7 +46,7 @@
install to a
<filename class="directory">&texlive-year;/</filename> directory.</para>
- &lfs77_checked;
+ &lfs77_checked; &gcc5_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@@ -57,7 +57,7 @@
<para>Download (FTP): <ulink url="&tl-installer-download-ftp;"/></para>
</listitem>
<listitem>
- <para>Download MD5 sum: &tl-installer-md5sum; (at
&tl-installer-date;)</para>
+ <para>Download MD5 sum: &tl-installer-md5sum; (for
&tl-installer-date;)</para>
</listitem>
<listitem>
<para>Download size: &tl-installer-size;</para>
@@ -112,7 +112,7 @@
As always with contributed binary software, it is possible that the
required
dependencies may change when the installer is updated.
</para>
- <!-- text for runtime deps, shared with texlive and pass 1 -->
+ <!-- text for runtime deps, shared with texlive -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/texruntime.xml"/>
@@ -162,7 +162,7 @@
<para>This command is interactive and allows selection or modification of
platform, packages, directories, and other options. The full installation
- scheme will require about 3.8 gigabytes of disk space. The time to
complete
+ scheme will require about 4.2 gigabytes of disk space. The time to
complete
the download will depend on your internet connection speed and the
number of packages selected.</para>
Modified: trunk/BOOK/pst/typesetting/typesetting.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/typesetting.xml Wed Jun 24 16:03:07 2015
(r16164)
+++ trunk/BOOK/pst/typesetting/typesetting.xml Wed Jun 24 16:18:02 2015
(r16165)
@@ -24,8 +24,8 @@
complexity of installing all of <application>texlive</application> from
source, or because they only want a part of the package, or perhaps because
they wish to get updates as soon as those are available (the source is only
- updated annually, but the binaries and associated TeX files are updated for
- approximately 10 months). These people should begin at <xref
+ updated annually, but the binaries and associated tex and sty files are
updated
+ for approximately 10 months). These people should begin at <xref
linkend="tex-path"/> and then follow the <xref linkend="tl-installer"/>
instructions,. After installing, they can run
<command>tlmgr</command> to update their system.</para>
@@ -45,13 +45,12 @@
<para>Because the texmf files (including documentation, fonts, scripts and
supporting files) are all in one tarball, it is not practical to limit what
- gets extracted in a sensible way (e.g. to exclude one or other of the
typesetting
- engines) when building from source in this manner.</para>
+ gets extracted in a sensible way (you could exclude one or other of the
+ typesetting engines, not its many supporting files) when building from source
+ in this manner.</para>
<para>In either case, BLFS installs into
- <filename class="directory">/opt/texlive/&texlive-year;</filename> with the
sole
- exception of two libraries from the source install which are installed into
- <filename class="directory">/usr/lib</filename> for convenience.</para>
+ <filename class="directory">/opt/texlive/&texlive-year;</filename>.</para>
<para>Also, please note that texlive is released annually, and updating from
the
previous year to the current year is no longer supported. If for some reason
Modified: trunk/BOOK/xincludes/tex-lib.xml
==============================================================================
--- trunk/BOOK/xincludes/tex-lib.xml Wed Jun 24 16:03:07 2015 (r16164)
+++ trunk/BOOK/xincludes/tex-lib.xml Wed Jun 24 16:18:02 2015 (r16165)
@@ -7,6 +7,6 @@
<para>
<parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
- that the libraries will be found at runtime, and that programs can be
- compiled against them.
+ that the libraries and include files will be within the directories for this
+ year's texlive.
</para>
Modified: trunk/BOOK/xincludes/tex-shared.xml
==============================================================================
--- trunk/BOOK/xincludes/tex-shared.xml Wed Jun 24 16:03:07 2015 (r16164)
+++ trunk/BOOK/xincludes/tex-shared.xml Wed Jun 24 16:18:02 2015 (r16165)
@@ -7,6 +7,9 @@
<para>
<parameter>--enable-shared</parameter>: Use shared versions of
- <filename class="libraryfile">libkpathsea</filename> and
- <filename class="libraryfile">libptexenc</filename>.
+ <filename class="libraryfile">libkpathsea</filename>,
+ <filename class="libraryfile">libptexenc</filename>,
+ <filename class="libraryfile">libsynctex</filename>,
+ <filename class="libraryfile">libtexlua52</filename> and
+ <filename class="libraryfile">libtexluajit</filename>.
</para>
Modified: trunk/BOOK/xincludes/texprogs.xml
==============================================================================
--- trunk/BOOK/xincludes/texprogs.xml Wed Jun 24 16:03:07 2015 (r16164)
+++ trunk/BOOK/xincludes/texprogs.xml Wed Jun 24 16:18:02 2015 (r16165)
@@ -10,11 +10,10 @@
<para>The programs included in <application>TeX</application>
are too numerous to individually list. Please refer to the individual
- program HTML and PDF pages in the installation directory's
- <filename>&texlive-year;/doc.html</filename> file,
+ program HTML and PDF pages in the
<!-- the html and pdf here refer to file extensions, not
abbreviations,
so they are in lowercase -->
- or the various html, man, or pdf files within the subdirectories of
+ various html, man, or pdf files within the subdirectories of
<filename class="directory">&texlive-year;/texmf-dist/</filename>.
Using <command>texdoc pdflatex</command> ( replace
<emphasis>pdflatex</emphasis> with the command name ) may also be
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page