- Timestamp:
- 03/07/2005 06:36:58 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7b7c3d8
- Parents:
- 68bcfc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL
r68bcfc7 r82d3941c 26 26 * HTMLTidy 27 27 - http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html 28 - you'll also need the patch at http://linuxfromscratch.org/~matthew/tidy-041026-prevent_PRE_newlines-1.patch as well.29 28 30 29 ------------------------------------------------------------------------------- 31 30 If you want to be able to convert the book into PDF as well, then you will need 32 31 the FOP package. This takes an XSL-FO file (created with libxslt which you 33 already installed) and converts it to PDF. FOP is dependent on ANT 34 (Another Neat Tool) and the Java Advanced Imaging (JAI) API. 32 already installed) and converts it to PDF. FOP is dependant on the Java 33 Advanced Imaging (JAI) API to render SVG graphics. Instructions to install the 34 JAI are included in the FOP instructions. Perform the following: 35 35 36 First we need the Java SDK installed. See 37 http://www.linuxfromscratch.org/blfs/view/svn/general/j2sdk.html. 36 * J2SDK 37 - http://www.linuxfromscratch.org/blfs/view/svn/general/j2sdk.html 38 38 39 Now install JAI: 40 - Download jai-1_1_2_01-lib-linux-i586-jdk.bin from 41 http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html 42 (download the version for the JDK Install). 43 - chmod +x jai-1_1_2_01-lib-linux-i586-jdk.bin 44 - cd /opt/j2sdk && /path/to/jai-1_1_2_01-lib-linux-i586-jdk.bin 39 * FOP 40 - http://www.linuxfromscratch.org/blfs/view/svn/pst/fop.html 45 41 46 Next install ANT:47 - http://www.linuxfromscratch.org/blfs/view/svn/general/apache-ant.html48 49 And finally install FOP:50 - download http://www.apache.org/dist/xml/fop/fop-0.20.5-src.tar.gz51 - tar -xzvf fop-0.20.5-src.tar.gz52 (recent versions of tar will warn about "A lone zero block at 33476" but53 this can be safely ignored)54 - cd fop-0.20.5 &&55 ./build.sh &&56 install -d /opt/fop/{bin,lib} &&57 cp lib/{avalon-framework-cvs-20020806.jar,batik.jar} build/fop.jar \58 /opt/fop/lib &&59 cp fop.sh /opt/fop/bin60 - edit your bash profile to set FOP_HOME=/opt/fop and PATH=$PATH:/opt/fop/bin
Note:
See TracChangeset
for help on using the changeset viewer.