2002-08-10 10:42:59 +08:00
<sect2 >
<title > Command explanations</title>
2003-04-07 01:54:24 +08:00
<para > <userinput > T=`grep...</userinput> : Determines the part where the tarfile begins in the self extracting archive.</para>
<para > <userinput > patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch</userinput> : Patch to fix duplicate messages in the intl files.</para>
<para > <userinput > patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch</userinput> : Patch to add missing libs to fix unresolved symbols.</para>
2003-04-22 04:24:40 +08:00
<para > <userinput > patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch</userinput> : The build wants
the binaries in specific locations, this patch modifies this to use the
current <envar > PATH</envar> environment to find binaries.</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch</userinput> : Patch to fix syntax for gcc3.</para>
<para > <userinput > patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch</userinput> : Patch to rename the internal motif library to avoid conflicts with an incompatible system installed version.</para>
<para > <userinput > export ALT_BOOTDIR="$JAVA_HOME"</userinput> : This
2003-01-30 16:04:11 +08:00
var sets location of the bootstrap JDK.
</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > export ALT_MOZILLA_PATH=$PWD</userinput> : This sets the
2003-01-30 16:04:11 +08:00
variable that points to where you unzipped the mozilla headers.</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > export ALT_DEVTOOLS_PATH="/usr/bin"</userinput> : This
2003-01-30 16:04:11 +08:00
changes the location where the build finds the needed executables.
</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > export BUILD_NUMBER="blfs-`date +%s`"</userinput> : This will
2003-01-30 16:04:11 +08:00
help you identify this compiled version of the runtime environment and
virtual machine by appending this information to the version in the
output to "java -version".</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > export DEV_ONLY=true</userinput> : This command
2003-01-30 16:04:11 +08:00
eliminates compiling the documentation and eliminates a dependency for
rpm. </para>
2003-04-22 09:53:42 +08:00
<para > <userinput > unset JAVA_HOME</userinput> : This clears the
<envar > JAVA_HOME</envar>
2003-01-30 16:04:11 +08:00
variable and prevents misdirection during compile.</para>
2003-04-22 09:53:42 +08:00
<para > <userinput > unset CLASSPATH</userinput> : This clears the
<envar > CLASSPATH</envar>
2003-01-30 16:04:11 +08:00
variable and prevents misdirection during compile.</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > unset CFLAGS...</userinput> : These flags cause miscompilation
2003-01-30 16:04:11 +08:00
of the build. Never set these.
</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > export INSANE=true</userinput> : Unless you specify that you
2003-01-30 16:04:11 +08:00
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
2003-01-31 09:35:28 +08:00
compiling on a non-certified platform will be converted to warnings.</para>
2003-01-30 16:04:11 +08:00
2003-04-07 01:54:24 +08:00
<para > <userinput > export MAKE_VERBOSE=true</userinput> : Allows the current
2003-01-30 16:04:11 +08:00
compilation command to be displayed on the console.</para>
2003-04-07 01:54:24 +08:00
<para > <userinput > export ALT_CACERTS_FILE...</userinput> : Specifies the certificate
2003-01-30 16:04:11 +08:00
file to use.</para>
2002-08-10 10:42:59 +08:00
</sect2>