Changeset f594857


Ignore:
Timestamp:
06/24/2015 11:18:02 PM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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
Children:
02d6a4cc
Parents:
8e6f4f8
Message:

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.

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

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r8e6f4f8 rf594857  
    4848      <para>June 24th, 2015</para>
    4949      <itemizedlist>
     50        <listitem>
     51          <para>[ken] - Update to 2015 texlive. Fixes
     52          <ulink url="&blfs-ticket-root;6600">#6600</ulink>.</para>
     53        </listitem>
    5054        <listitem>
    5155          <para>[fernando] - Update to epiphany-3.16.2.  Fixes
  • packages.ent

    r8e6f4f8 rf594857  
    600600
    601601<!-- Chapter 36 -->
    602 <!ENTITY asymptote-version            "2.35">
    603602<!ENTITY balsa-version                "2.5.2">
    604603<!ENTITY ekiga-version                "4.0.1">
     
    757756
    758757<!-- Chapter 47 -->
    759 <!ENTITY texlive-version              "20140525">
     758<!ENTITY texlive-version              "20150521">
     759<!ENTITY texmf-version                "20150523">
    760760<!-- the year is used when setting up PATHs in the tl-installer
    761761 page, as well as to reference the directory in texlive, also
    762  in asymptote (above) and xindy -->
    763 <!ENTITY texlive-year                 "2014">
     762 in asymptote, biber and xindy -->
     763<!ENTITY texlive-year                 "2015">
     764<!ENTITY asymptote-version            "2.35">
    764765<!ENTITY biber-version                "2.1a">
    765766<!ENTITY biblatex-version             "3.0">
  • pst/typesetting/asymptote.xml

    r8e6f4f8 rf594857  
    3636    </para>
    3737
    38     &gcc5_checked;
     38    &lfs77_checked; &gcc5_checked;
    3939
    4040    <bridgehead renderas="sect3">Package Information</bridgehead>
  • pst/typesetting/texlive.xml

    r8e6f4f8 rf594857  
    77  <!ENTITY texlive-download-http " ">
    88  <!ENTITY texlive-download-ftp  "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
    9   <!ENTITY texlive-md5sum        "09ee265ff51637827559affc7304078c">
    10   <!ENTITY texlive-size          "40 MB">
    11 
    12   <!ENTITY texlive-buildsize      "3.6 GB including the additional download">
    13   <!ENTITY texlive-time           "8.2 SBU including the additional download">
     9  <!ENTITY texlive-md5sum        "e526bd57118c4c4d5e9d525d20b5ac02">
     10  <!ENTITY texlive-size          "44 MB">
     11
     12  <!ENTITY texlive-buildsize      "4.0 GB including the additional download">
     13  <!ENTITY texlive-time           "7.2 SBU including the additional download (+0.3 SBU for the tests)">
    1414
    1515  <!ENTITY texlive-texmf-download-http " ">
    16   <!ENTITY texlive-texmf-download-ftp  "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
    17   <!ENTITY texlive-texmf-md5sum        "645a6f1d3a0ef4a9c279dae02588eab7">
    18   <!ENTITY texlive-texmf-size          "1.7 GB">
     16  <!ENTITY texlive-texmf-download-ftp  "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texmf-version;-texmf.tar.xz">
     17  <!ENTITY texlive-texmf-md5sum        "488c1e36ab42841b122cfd074ac42fa1">
     18  <!ENTITY texlive-texmf-size          "1.8 GB">
    1919
    2020]>
     
    138138    </para>
    139139
    140 <!-- the configure switches should be identical to those in the
    141  first part of texlive itself -->
    142 <screen><userinput>TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
     140    <para>The shared libraries will be installed into a texlive directory.
     141    As the <systemitem class="username">root</systemitem> user, add it to
     142    your <filename>/etc/ld.so.conf</filename>:</para>
     143
     144<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
     145<literal># Begin texlive &texlive-year; addition
     146
     147/opt/texlive/&texlive-year;/lib
     148
     149# End texlive &texlive-year; addition</literal>
     150EOF</userinput></screen>
     151
     152    <note>
     153      <para>
     154        From 2015 onwards, a successful install requires some texlive
     155        commands to be run as the root user, so we will export the TEXARCH
     156        variable to let <systemitem class="username">root</systemitem> use it.
     157      </para>
     158    </note>
     159
     160    <para>
     161      Now, as a normal user:
     162    </para>
     163<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
    143164mkdir texlive-build &amp;&amp;
    144165cd texlive-build    &amp;&amp;
     
    148169    --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH         \
    149170    --datarootdir=/opt/texlive/&texlive-year;                 \
    150     --includedir=/usr/include                       \
     171    --includedir=/opt/texlive/&texlive-year;/include          \
    151172    --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
    152     --libdir=/usr/lib                               \
     173    --libdir=/opt/texlive/&texlive-year;/lib                  \
    153174    --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man   \
    154175    --disable-native-texlive-build                  \
     
    157178    --with-system-fontconfig                        \
    158179    --with-system-freetype2                         \
     180    --with-system-gmp                               \
    159181    --with-system-graphite2                         \
    160182    --with-system-harfbuzz                          \
     
    163185    --with-system-libpaper                          \
    164186    --with-system-libpng                            \
     187    --with-system-mpfr                              \
    165188    --with-system-pixman                            \
    166189    --with-system-poppler                           \
     
    168191    --with-system-zlib                              \
    169192    --with-banner-add=" - BLFS" &amp;&amp;
    170 unset TEXARCH &amp;&amp;
    171193
    172194make</userinput></screen>
    173195
    174     <para>To test the results, issue: <command>make -k check</command>
     196    <para>To test the results, issue: <command>make check</command>
    175197    One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
    176198    has not yet been installed.</para>
     
    179201    user:</para>
    180202
    181 <screen role="root"><userinput>make install &amp;&amp;
     203<screen role="root"><userinput>make install-strip &amp;&amp;
    182204make texlinks</userinput></screen>
    183205
    184     <para>And now, install the additional files as the
     206    <note>
     207      <para>
     208        Only run <command>make texlinks</command> once. If it is rerun,
     209        it can change all the program symlinks so that they point to
     210        themselves and are useless.
     211      </para>
     212    </note>
     213
     214    <para>Now install the additional files as the
    185215    <systemitem class="username">root</systemitem> user:</para>
    186216
    187 <screen role="root"><userinput>mkdir -pv /opt/texlive/&texlive-year; &amp;&amp;
    188 tar -xf ../../texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
     217<screen role="root"><userinput>tar -xf ../../texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
     218
     219    <para>Still as the <systemitem class="username">root</systemitem> user,
     220    ensure that the programs will be able to find <filename
     221    class="libraryfile">libkpathsea</filename>, install a couple of essential
     222    perl modules supplied in the source, fix up the PATH so that some of these
     223    programs can be run, and initialise the new system (the commands
     224    <command>fmtutil-sys --all</command> and <command>mtxrun --generate</command>
     225    will produce a <emphasis>lot</emphasis> of output):</para>
     226
     227<screen role="root"><userinput>ldconfig &amp;&amp;
     228mkdir -pv /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/ &amp;&amp;
     229install -v -m444 ../texk/tests/TeXLive/* /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/ &amp;&amp;
     230mktexlsr &amp;&amp;
     231fmtutil-sys --all &amp;&amp;
     232mtxrun --generate</userinput></screen>
    189233
    190234    <para>You can now proceed to <xref linkend="asymptote"/>,
    191235    <xref linkend="biber"/> and / or <xref linkend="xindy"/> if you
    192     wish to complete your texlive installation.</para>
     236    wish to install them.</para>
    193237
    194238  </sect2>
     
    212256      href="../../xincludes/tex-system.xml"/>
    213257
    214 <!--    <para>
    215       <parameter>\-\-with-system-xpdf</parameter>: Uniquely, this parameter has
    216       a non-standard meaning, it tells <command>configure</command> to use the
    217       system-installed <application>poppler</application> headers and library.
    218       Again, omit this if you have not installed
    219       <application>poppler</application>.
    220     </para> -->
    221258    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    222259      href="../../xincludes/tex-xpdf.xml"/>
     
    232269      separate binaries and for these it will report "file already exists".
    233270    </para>
    234     <para>
    235       <parameter>tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</parameter>:
     271
     272    <para>
     273      <parameter>tar -xf texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</parameter>:
    236274      the tarball contains the files for the texmf-dist directory, and because
    237275      of its size we do not want to waste time and space untarring it and then
    238276      copying the files.
     277    </para>
     278
     279    <para>
     280      <parameter>install -v -m444 ../texk/tests/TeXLive/*
     281      /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/</parameter>: This puts the perl
     282      modules <filename>TLConfig.pm</filename> and <filename>TLUtils.pm</filename>
     283      into the directory where the binary installer puts them - it is at the
     284      start of the perl @INC@ PATH within texlive when installed using the above
     285      configure switches. Without these modules, texlive is unusable.
     286    </para>
     287
     288    <para>
     289      <parameter>mktexlsr</parameter>: Create an <filename>ls-R</filename> file
     290      which lists what was installed - this is used by kpathsea to find files.
     291    </para>
     292
     293    <para>
     294      <parameter>fmtutil-sys --all</parameter>: This initialises the TeX formats,
     295      Metafont bases and Metapost mems.
     296    </para>
     297
     298    <para>
     299      <parameter>mtxrun --generate</parameter>: This initialise the ConTeXt system.
    239300    </para>
    240301
     
    251312      <seglistitem>
    252313        <seg>Over 300 binaries and symlinks to scripts</seg>
    253         <seg>libkpathsea.so, libptexenc.so</seg>
    254         <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist,
    255         /usr/include/kpathsea, /usr/include/ptexenc</seg>
     314        <seg>libkpathsea.so, libptexenc.so, libsynctex.so, libtexlua52.so,
     315        libtexluajit.so</seg>
     316        <seg>/opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/include,
     317        /opt/texlive/&texlive-year;/lib, /opt/texlive/&texlive-year;/texmf-dist</seg>
    256318      </seglistitem>
    257319    </segmentedlist>
     
    297359        </listitem>
    298360      </varlistentry>
     361
     362      <varlistentry id="libsynctex">
     363        <term><filename class="libraryfile">libsynctex.so</filename></term>
     364        <listitem>
     365          <para>
     366            is the SyncTeX (Synchronize TeXnology) parser library.
     367          </para>
     368          <indexterm zone="texlive libsynctex">
     369            <primary sortas="c-libsynctex">libsynctex.so</primary>
     370          </indexterm>
     371        </listitem>
     372      </varlistentry>
     373
     374      <varlistentry id="libtexlua52">
     375        <term><filename class="libraryfile">libtexlua52.so</filename></term>
     376        <listitem>
     377          <para>
     378            provides Lua 5.2, modified for use with LuaTeX.
     379          </para>
     380          <indexterm zone="texlive libtexlua52">
     381            <primary sortas="c-libtexlua52">libtexlua52.so</primary>
     382          </indexterm>
     383        </listitem>
     384      </varlistentry>
     385
     386      <varlistentry id="libtexluajit">
     387        <term><filename class="libraryfile">libtexluajit.so</filename></term>
     388        <listitem>
     389          <para>
     390            provides LuaJIT, modified for use with LuaJITTeX.
     391          </para>
     392          <indexterm zone="texlive libtexluajit">
     393            <primary sortas="c-libtexluajit">libtexluajit.so</primary>
     394          </indexterm>
     395        </listitem>
     396      </varlistentry>
    299397    </variablelist>
    300398
  • pst/typesetting/tl-installer.xml

    r8e6f4f8 rf594857  
    88
    99  <!ENTITY tl-installer-download-ftp    " ">
    10   <!ENTITY tl-installer-md5sum          "f5b1e909d5c2380cefd2cda83d288c00">
    11   <!ENTITY tl-installer-date             "20140628"> <!-- in the directory name -->
     10  <!ENTITY tl-installer-md5sum          "84bc572abd61dfcc1b377e71c1b9aca8">
     11  <!ENTITY tl-installer-date             "20150613"> <!-- in the directory name -->
    1212  <!ENTITY tl-installer-size            "3.2 MB">
    1313
    14   <!ENTITY tl-installer-buildsize        "3.8 GB">
     14  <!ENTITY tl-installer-buildsize        "4.2 GB">
    1515  <!ENTITY tl-installer-time            "varies, depending on network speed and traffic">
    1616]>
     
    4747    <filename class="directory">&texlive-year;/</filename> directory.</para>
    4848
    49     &lfs77_checked;
     49    &lfs77_checked; &gcc5_checked;
    5050
    5151    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    5858      </listitem>
    5959      <listitem>
    60         <para>Download MD5 sum: &tl-installer-md5sum; (at &tl-installer-date;)</para>
     60        <para>Download MD5 sum: &tl-installer-md5sum; (for &tl-installer-date;)</para>
    6161      </listitem>
    6262      <listitem>
     
    113113      dependencies may change when the installer is updated.
    114114    </para>
    115     <!-- text for runtime deps, shared with texlive and pass 1 -->
     115    <!-- text for runtime deps, shared with texlive -->
    116116    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    117117     href="../../xincludes/texruntime.xml"/>
     
    163163    <para>This command is interactive and allows selection or modification of
    164164    platform, packages, directories, and other options.  The full installation
    165     scheme will require about 3.8 gigabytes of disk space.  The time to complete
     165    scheme will require about 4.2 gigabytes of disk space.  The time to complete
    166166    the download will depend on your internet connection speed and the
    167167    number of packages selected.</para>
  • pst/typesetting/typesetting.xml

    r8e6f4f8 rf594857  
    2525  source, or because they only want a part of the package, or perhaps because
    2626  they wish to get updates as soon as those are available (the source is only
    27   updated annually, but the binaries and associated TeX files are updated for
    28   approximately 10 months). These people should begin at <xref
     27  updated annually, but the binaries and associated tex and sty files are updated
     28  for approximately 10 months). These people should begin at <xref
    2929  linkend="tex-path"/> and then follow the <xref linkend="tl-installer"/>
    3030  instructions,. After installing, they can run
     
    4646  <para>Because the texmf files (including documentation, fonts, scripts and
    4747  supporting files) are all in one tarball, it is not practical to limit what
    48   gets extracted in a sensible way (e.g. to exclude one or other of the typesetting
    49   engines) when building from source in this manner.</para>
     48  gets extracted in a sensible way  (you could exclude one or other of the
     49  typesetting engines, not its many supporting files) when building from source
     50  in this manner.</para>
    5051
    5152  <para>In either case, BLFS installs into
    52   <filename class="directory">/opt/texlive/&texlive-year;</filename> with the sole
    53   exception of two libraries from the source install which are installed into
    54   <filename class="directory">/usr/lib</filename> for convenience.</para>
     53  <filename class="directory">/opt/texlive/&texlive-year;</filename>.</para>
    5554
    5655  <para>Also, please note that texlive is released annually, and updating from the
  • xincludes/tex-lib.xml

    r8e6f4f8 rf594857  
    88<para>
    99  <parameter>--includedir=, --libdir= ...</parameter> : these switches ensure
    10   that the libraries will be found at runtime, and that programs can be
    11   compiled against them.
     10  that the libraries and include files will be within the directories for this
     11  year's texlive.
    1212</para>
  • xincludes/tex-shared.xml

    r8e6f4f8 rf594857  
    88<para>
    99  <parameter>--enable-shared</parameter>: Use shared versions of
    10   <filename class="libraryfile">libkpathsea</filename> and
    11   <filename class="libraryfile">libptexenc</filename>.
     10  <filename class="libraryfile">libkpathsea</filename>,
     11  <filename class="libraryfile">libptexenc</filename>,
     12  <filename class="libraryfile">libsynctex</filename>,
     13  <filename class="libraryfile">libtexlua52</filename> and
     14  <filename class="libraryfile">libtexluajit</filename>.
    1215</para>
  • xincludes/texprogs.xml

    r8e6f4f8 rf594857  
    1111          <para>The programs included in <application>TeX</application>
    1212          are too numerous to individually list. Please refer to the individual
    13           program HTML and PDF pages in the installation directory's
    14           <filename>&texlive-year;/doc.html</filename> file,
     13          program HTML and PDF pages in the
    1514          <!-- the html and pdf here refer to file extensions, not abbreviations,
    1615           so they are in lowercase -->
    17           or the various html, man, or pdf files within the subdirectories of
     16          various html, man, or pdf files within the subdirectories of
    1817          <filename class="directory">&texlive-year;/texmf-dist/</filename>.
    1918          Using <command>texdoc pdflatex</command> ( replace
Note: See TracChangeset for help on using the changeset viewer.