Index: pst/typesetting/texlive.xml
===================================================================
--- pst/typesetting/texlive.xml (revision 2a75b9bc23a12cacecc7a35175a6682b5416ea12)
+++ pst/typesetting/texlive.xml (revision bf7a21ddeb19de583c1235a8bc9a799fe3447e4b)
@@ -73,25 +73,38 @@
TeX Live Dependencies
+ Recommended (to build from source)
+
+ The source ships with its own versions of many
+ libraries, and will use them unless it is forced to use the system
+ versions.
+ ,
+ ,
+ ,
+ ,
+ ,
+ (linked to graphite2),
+ ,
+ ,
+
+
+
+
Optional (to build from source)
- The source ships with its own versions of many of
- these libraries, and will use them unless it is forced to use the system
- versions. Work is in progress to deal with this, in the meantime please
- see ticket
- #4647.
- ,
- ,
- ,
- ,
- ,
- ,
- ,
+ The source ships with its own versions of these libraries, which are either
+ not under active development, or only used for limited functionality. If
+ you install these, as with some other optional dependencies in this book you
+ will need to tell configure to use the system versions.
GD,
t1lib,
ZZIPlib,
CLISP,
- ,
- TECkit, and
-
+ TECkit
+
+
+ Runtime dependencies if building from source
+
+ not yet adequate to rebuild this),
+ for ep2pdftk.
@@ -110,10 +123,10 @@
First, unpack the installer and change into the installer's
- directory, install-tl-20130730.
- This directory name may change if the installer package is updated
- by the upstream maintainers.
+ directory, install-tl-<CCYYMMDD>.
+ This directory name changes frequently when the installer is updated,
+ so replace <CCYYMMDD> by the correct directory name.
tar -xf install-tl-unx.tar.gz &&
-cd install-tl-20130730
+cd install-tl-<CCYYMMDD>
The distribution binaries installed below use static linking
@@ -126,5 +139,5 @@
user:
-TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tl
+TEXLIVE_INSTALL_PREFIX=/opt/texlive ./install-tlThis command is interactive and allows selection or modification of
@@ -138,9 +151,9 @@
scripts as recommended in , update
the needed paths by appending to the extrapaths.sh script.
- Be sure to adjust the paths below to reflect your actual installation
- location. In addition, the path to the binaries will be affected by your
- system architecture.
-
-cat >> /etc/profile.d/extrapaths.sh << "EOF"
+ The programs are always installed in an <ARCH>-linux subdirectory. If
+ you are not using x86_64, always change that to your
+ actual installation location.
+
+cat >> /etc/profile.d/extrapaths.sh << "EOF"
pathappend /usr/share/man MANPATH
pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
@@ -158,40 +171,110 @@
/etc/profile.
- At this point the installation is complete. If building from
- source is desired, extract the source package as usual and continue.
-
-
- If you do not have Xorg installed add --without-x
- to the configure command.
-
- If you do not have fontconfig installed, add
- --disable-xdvipdfmx to the configure command.
-
-
-./configure --prefix=/usr \
- --disable-native-texlive-build \
- --enable-build-in-source-tree \
- --without-luatex \
- --enable-mktextex-default \
- --with-banner-add=" - BLFS" &&
+ At this point the binary installation is complete.
+
+ Please note that installing from source will recompile the binary
+ programs and recreate the man and info
+ files. It will also overwrite the scripts - some of these may be older
+ versions than those from the newer installer. It will not
+ recreate any of the following: the more than 200 symlinks in the
+ <ARCH>-linux directory (some are alternate names, many are pointers to
+ the scripts), html files, PDF files, licenses, README files, two config
+ files (texmf.cnf and texmfcnf.lua),
+ nor the many package and font files in
+ texmf-dist and
+ texmf-var, nor the files recording
+ the actions of the installer, and the ls-R files listing
+ what was originally installed.
+
+ At the moment, these instructions do not rebuild
+ asy and xindy which were
+ installed by the binary installer.
+
+ If building from
+ source is desired, continue as a normal user. Extract the source package as
+ usual. Again, change x86_64-linux to whatever matches your architecture.
+ The developers do not recommend building in the source directory, so enter
+ the following commands:
+
+mkdir texlive-build &&
+cd texlive-build &&
+
+../configure --prefix=/opt/texlive/2013 \
+ --bindir=/opt/texlive/2013/bin/x86_64-linux \
+ --datarootdir=/opt/texlive/2013 \
+ --includedir=/usr/include \
+ --infodir=/opt/texlive/2013/texmf-dist/doc/info \
+ --libdir=/usr/lib \
+ --mandir=/opt/texlive/2013/texmf-dist/doc/man \
+ --disable-native-texlive-build \
+ --disable-static --enable-shared \
+ --with-system-libgs \
+ --with-system-poppler \
+ --with-system-freetype2 \
+ --with-system-fontconfig \
+ --with-system-libpng \
+ --with-system-icu \
+ --with-system-graphite2 \
+ --with-system-harfbuzz \
+ --with-system-xpdf \
+ --with-system-poppler \
+ --with-system-cairo \
+ --with-system-pixman \
+ --with-system-zlib \
+ --with-banner-add=" - BLFS" &&
makeTo test the results, issue: make -k check.
- In order to gather the built files in one place, use
- make install to put then in a temproary location:
-
-make DESTDIR=$PWD/texlive-tmp install
-
- Now copy the executables to the TeX Live
- binary directory. Be sure to adjust the destination directory for your
- installation. As the root
+ Now, as the root
user:
-find texlive-tmp/usr/bin -type f -exec cp -v {} /opt/texlive/2013/bin/x86_64-linux \;
-
- If you passed the option to the
- configure command, the two libraries, libkpathsea.so, libptexenc.so and their
- symbolic links will also need to be copied to /usr/lib.
+make install
+
+
+
+
+ Command Explanations
+
+
+ --prefix=, --bindir=, --datarootdir=, --infodir=, --mandir= ...
+ : these switches ensure that the files installed from source
+ will overwrite the corresponding files previously installed by
+ install-tl.
+
+
+
+ --includedir=, --libdir= ... : these switches ensure
+ that the libraries will be found at runtime, and that programs can be
+ compiled against them.
+
+
+
+
+
+ --enable-shared: Use shared versions of
+ libkpathsea and
+ libptexenc.
+
+
+
+ --with-system-...: Unless this parameter is used,
+ the included versions of these libraries will be statically compiled
+ into the programs which need them. If you decided not to install a
+ recommended library, omit the corresponding switches.
+
+
+
+ --with-system-xpdf: Uniquely, this parameter has
+ a non-standard meaning, it tells configure to use the
+ system-installed poppler headers and library.
+ Again, omit this if you have not installed
+ poppler.
+
+
+
+ : use this if you do not have Xorg installed.
+