Changeset eb38c8a for pst/typesetting


Ignore:
Timestamp:
10/21/2014 11:24:32 PM (10 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.7, 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, krejzi/svn, 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:
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

Location:
pst/typesetting
Files:
2 added
3 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
  • pst/typesetting/tl-installer.xml

    r66cb475 reb38c8a  
    165165    number of packages selected.</para>
    166166
    167     <para>After the package download is complete, the next step is to make sure
    168     that the system can properly find the files.  If you set up your login
    169     scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
    170     the needed paths by appending to the
    171     <filename>extrapaths.sh</filename> script. The programs are always
    172     installed in an &lt;ARCH&gt;-linux subdirectory and on 32-bit x86 this is
    173     always i386-linux. For x86_64 and i?86 we can generate this as $TEXARCH:
    174     </para>
    175 
    176 <!-- EOF should NOT be in double quotes, we want it to evaluate $TEXARCH -->
    177 <screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
    178 cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; EOF
    179 pathappend /usr/share/man                        MANPATH
    180 pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man  MANPATH
    181 pathappend /usr/share/info                       INFOPATH
    182 pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
    183 pathappend /opt/texlive/&texlive-year;/bin/$TEXARCH
    184 EOF
    185 unset TEXARCH</userinput></screen>
    186 
    187     <note><para>The standard MANPATH and INFOPATH path are specified above to
    188     ensure they are included.  If they are already set in the boot script
    189     procedure, the pathappend function will ensure duplicates are
    190     removed, so including them here will do no harm.</para></note>
    191 
    192     <para>The new paths can be immediately activated by running <command>source
    193     /etc/profile</command>.</para>
    194 
    195     <para>At this point the binary installation is complete.</para>
     167    <para>Now proceed to <xref linkend="tex-path"/>.</para>
    196168
    197169  </sect2>
  • pst/typesetting/typesetting.xml

    r66cb475 reb38c8a  
    1616  <title>Typesetting</title>
    1717
    18   <para>This chapter includes applications that create output equivalent to
    19   typesetting.</para>
     18  <para>This chapter includes <application>texlive</application> applications that
     19  create output equivalent to typesetting.</para>
     20
     21  <para>There are two alternative routes through this chapter:</para>
     22
     23  <para>Some people may wish to use the binary installer, either because of the
     24  complexity of installing all of <application>texlive</application> from
     25  source, or because they only want a part of the package, or perhaps because
     26  they wish to get updates as soon as those are available (the source is only
     27  updated annually). These people should follow the <xref
     28  linkend="tl-installer"/> instructions,. After installing, they can run
     29  <command>tlmgr</command> to update their system.</para>
     30
     31  <para>Most people reading BLFS will wish to build from source. You can either
     32  do as BLFS used to do, by starting with <application>install-tl-unx</application>,
     33  or you can avoid the binary files completely and begin at
     34  <xref linkend="texpass1"/> which will install most of
     35  <application>texlive</application>, together with <emphasis>all</emphasis> of the
     36  supporting files. This almost-complete install is then used to build two
     37  remaining parts of <application>texlive</application>, xindy and asy (that
     38  involves recompiling all of the package, but not reinstalling all of it).</para>
     39
     40  <para>Because the texmf files (including documentation, fonts, scripts and
     41  supporting files) are all in one tarball, it is not practical to limit what
     42  gets extracted in a sensible way (e.g. to exclude one or other of the typesetting
     43  engines).</para>
     44
     45  <para>After that, people building from source will wish to install <xref
     46  linkend="biber"/>, which is supplied separately, to complete the full
     47  installation.</para>
    2048
    2149  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tl-installer.xml"/>
     50  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive-pass1.xml"/>
     51  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tex-path.xml"/>
    2252  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive.xml"/>
    2353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="biber.xml"/>
Note: See TracChangeset for help on using the changeset viewer.