glfs/general/prog/jdk/j2sdk-exp.xml
Larry Lawrence 2be0e0db70 spelling
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1293 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-03 21:35:57 +00:00

66 lines
2.8 KiB
XML

<sect2>
<title>Command explanations</title>
<para><command>T=`grep...</command>: Determines the part where the tarfile
begins in the self extracting archive.</para>
<para><command>patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch</command>:
Patch to fix duplicate messages in the international files.</para>
<para><command>patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch</command>: Patch to add missing libs to fix unresolved symbols.</para>
<para><command>patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch
</command>: The build wants the binaries in specific locations, this patch
modifies this to use the current <envar>PATH</envar> environment to find
binaries.</para>
<para><command>patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch</command>:
Patch to fix syntax for <application><acronym>GCC</acronym>-3</application>.
</para>
<para><command>patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch
</command>: Patch to rename the internal motif library to avoid conflicts with
an incompatible system installed version.</para>
<para><command>export ALT_BOOTDIR="$JAVA_HOME"</command>: This var sets
location of the bootstrap <acronym>JDK</acronym>.
</para>
<para><command>export ALT_MOZILLA_PATH=$PWD</command>: This sets the
variable that points to where you unzipped the <application>Mozilla
</application> headers.</para>
<para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command>: This
changes the location where the build finds the needed executables.
</para>
<para><command>export BUILD_NUMBER="blfs-`date +%s`"</command>: This will
help you identify this compiled version of the runtime environment and
virtual machine by appending this information to the version in the
output to <command>java -version</command>.</para>
<para><command>export DEV_ONLY=true</command>: This command
eliminates compiling the documentation and eliminates a dependency for
<application>rpm</application>. </para>
<para><command>unset JAVA_HOME</command>: This clears the
<envar>JAVA_HOME</envar>
variable and prevents misdirection during compile.</para>
<para><command>unset CLASSPATH</command>: This clears the
<envar>CLASSPATH</envar> variable and prevents misdirection during compile.
</para>
<para><command>unset CFLAGS...</command>: These flags cause miscompilation
of the build. Never set these.</para>
<para><command>export INSANE=true</command>: Unless you specify that you
are insane the build will not proceed. The certified platform for the build is
Redhat 6.1. The above variable ensures that all the errors related to
compiling on a non-certified platform will be converted to warnings.</para>
<para><command>export MAKE_VERBOSE=true</command>: Allows the current
compilation command to be displayed on the console.</para>
<para><command>export ALT_CACERTS_FILE...</command>: Specifies the
certificate file to use.</para>
</sect2>