%general-entities; ]> $LastChangedBy$ $Date$ texlive-&texlive-version;-source pass 1 texlive-pass-1 Introduction to TeX Live from source, pass 1 Most of TeX Live can be built from source without difficulty. However, xindy (for indexing) needs working versions of latex and pdflatex when configure is run, and the testsuite for asy (for vector graphics) will fail if TeX has not already been installed. In addition, it is necessary to create various symlinks at the end of this install. We can later rebuild texlive in to include xindy. There we will install xindy and also build and install asy. &lfs76_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &texlive-pass1-md5sum; Download size: &texlive-pass1-size; Estimated disk space required: &texlive-pass1-buildsize; Estimated build time: &texlive-pass1-time; Required Additional Download Much of the texlive environment (including scripts, documentation, fonts and various other files) is not part of the source tarball. You must download it separately. This will give you all of the additional files which are provided by a full install of the binary version, there is no realistic way to restrict which parts get installed. Because of the size of this package, it is unlikely to be mirrored by BLFS mirrors. In case of difficulty, go to http://www.ctan.org/mirrors/ to find a more-accessible mirror. Download (FTP): Download MD5 sum: &texlive-texmf-md5sum; Download size: &texlive-texmf-size; TeX Live from source pass 1 Dependencies Recommended The source ships with its own versions of many libraries, and will use them unless it is forced to use the system versions. The following are recommended so that the system version will be used: , , , , (linked to graphite2), , , , Optional The source ships with its own versions of several 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, TECkit Runtime dependencies Some scripts will use or . User Notes: Installation of TeX Live, pass 1 Install TeX Live pass 1 by running the following commands: export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') && mkdir texlive-build && cd texlive-build && ../configure \ --prefix=/opt/texlive/&texlive-year; \ --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \ --datarootdir=/opt/texlive/&texlive-year; \ --includedir=/usr/include \ --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \ --libdir=/usr/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-graphite2 \ --with-system-harfbuzz \ --with-system-icu \ --with-system-libgs \ --with-system-libpng \ --with-system-pixman \ --with-system-poppler \ --with-system-xpdf \ --with-system-zlib \ --with-banner-add=" - BLFS" && unset TEXARCH && make To test the results, issue: make -k check One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea has not yet been installed. Now, as the root user: make install && make texlinks And now, install the additional files as the root user: mkdir -pv /opt/texlive/&texlive-year; && tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1 Now proceed to . 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: Create 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. make texlinks : this runs the texlinks.sh script to create (or recreate) symbolic links from formats to engines. In practice, several of the targets such as xetex are now separate binaries and for these it will report "file already exists". tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1: 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. Contents Installed Programs Installed Libraries Installed Directories Over 300 binaries and symlinks to scripts libkpathsea.so, libptexenc.so /opt/texlive/&texlive-year;/bin, /opt/texlive/&texlive-year;/texmf-dist, /usr/include/kpathsea, /usr/include/ptexenc Short Descriptions TeX programs TeX Live programs libkpathsea.so (kpathsearch) exists to look up a file in a list of directories. libkpathsea.so libptexenc.so is a library for Japanese pTeX (publishing TeX). libptexenc.so