Ignore:
Timestamp:
10/21/2014 11:24:32 PM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
Children:
2bf87d8
Parents:
66cb475
Message:

Correct the date in the changelog, add texmf to allow texlive to be installed without the binary installer.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/texlive.xml

    r66cb475 reb38c8a  
    1010  <!ENTITY texlive-source-size          "40 MB">
    1111
    12   <!-- buildsize is the source dir, plus the kpathsea files installed to /usr.
    13    The progs in bin/$TEXARCH/ seem slightly smaller (shared libs) -->
    14   <!ENTITY texlive-buildsize            "555 MB">
    15   <!ENTITY texlive-time                 "8.4 SBU">
     12  <!ENTITY texlive-buildsize            "923 MB (if starting from pass 1)">
     13  <!ENTITY texlive-time                 "9.0 SBU">
    1614]>
    1715
     
    2422  </sect1info>
    2523
    26   <title>texlive-&texlive-version;</title>
     24  <title>texlive-&texlive-version;-source</title>
    2725
    2826  <indexterm zone="texlive">
     
    3331    <title>Introduction to TeX Live from source</title>
    3432
    35     <para>A binary version of the <application>TeX Live</application> package
    36     is installed at <xref linkend="tl-installer"/>. Here, we use that to rebuild
    37     the compiled programs from source.</para>
     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>
    3837
    3938    &lfs76_checked;
     
    6564    <bridgehead renderas="sect4">Required</bridgehead>
    6665    <para role="required">
    67       <xref linkend="tl-installer"/> or a previous version of TeX Live
    68       (untested, you would need to alter the configure switches which refer
    69       to &texlive-year; so that it overwrites your existing installation, or
    70       else copy everything to the location for the current year), and
     66      Either <xref linkend="texpass1"/> or <xref linkend="tl-installer"/>
     67      , and
    7168      <xref linkend="clisp"/> (to build <command>xindy</command> which is an
    7269      index processor for multi-lingual index creation)
     
    109106    <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
    110107    <para role="recommended">
    111       Some (re-installed) scripts will use
     108      Some scripts will use
    112109      <xref linkend="python2"/> or <xref linkend="ruby"/>.
    113110    </para>
     
    121118    <title>Installation of TeX Live</title>
    122119
    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>Asy and the rest of asymptote is by default not rebuilt, so we have to
    142     separately run <command>configure</command> and <command>make</command> in its
    143     directory.
    144     </para>
    145 
    146 <screen><userinput>mkdir texlive-build &amp;&amp;
     120    <para>If you started with the binary installer, these instructions will
     121    overwrite the programs it installed.</para>
     122
     123<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
     124mkdir texlive-build &amp;&amp;
    147125cd texlive-build    &amp;&amp;
    148126
    149127../configure                                        \
    150128    --prefix=/opt/texlive/&texlive-year;                      \
    151     --bindir=/opt/texlive/&texlive-year;/bin/x86_64-linux     \
     129    --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH         \
    152130    --datarootdir=/opt/texlive/&texlive-year;                 \
    153131    --includedir=/usr/include                       \
     
    188166./configure LIBS="-ltirpc "                         \
    189167    --prefix=/opt/texlive/&texlive-year;/                     \
    190     --bindir=/opt/texlive/&texlive-year;/bin/x86_64-linux     \
     168    --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH     \
    191169    --enable-texlive-build                          \
    192170    --datarootdir=/opt/texlive/&texlive-year;/texmf-dist      \
    193171    --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
    194172    --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man   \
    195     --cache-file=config.cache &amp;&amp;
     173    --cache-file=config.cache &amp;&amp; &amp;&amp;
    196174popd &amp;&amp;
     175unset TEXARCH &amp;&amp;
    197176
    198177make &amp;&amp;
     
    202181    make -C utils/asymptote check</command>.</para>
    203182
    204     <para>Now, as the <systemitem class="username">root</systemitem>
     183    <para>If you have used the binary installer, you will want to
     184    do a full install. As the <systemitem class="username">root</systemitem>
    205185    user:</para>
    206186
    207 <screen><userinput role="root">make install &amp;&amp;
     187<screen><userinput role="nodump">make install &amp;&amp;
     188make -C ../utils/asymptote install</userinput></screen>
     189
     190    <para>For people who have followed the LFS way and built from source,
     191    it is only necessary to install <application>xindy</application> and
     192    <application>asy</application>, so, as the
     193    <systemitem class="username">root</systemitem> user:</para>
     194
     195<screen><userinput role="root">make -C utils/xindy install &amp;&amp;
    208196make -C ../utils/asymptote install</userinput></screen>
    209197
Note: See TracChangeset for help on using the changeset viewer.