[74c1100] | 1 | <sect2>
|
---|
| 2 | <title>Command explanations</title>
|
---|
| 3 |
|
---|
[06aea651] | 4 | <para><command>T=`grep...</command> : Determines the part where the tarfile
|
---|
| 5 | begins in the self extracting archive.</para>
|
---|
| 6 |
|
---|
| 7 | <para><command>patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch</command> :
|
---|
| 8 | Patch to fix duplicate messages in the intl files.</para>
|
---|
| 9 | <para><command>patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch</command> : Patch to add missing libs to fix unresolved symbols.</para>
|
---|
| 10 | <para><command>patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch
|
---|
| 11 | </command> : The build wants the binaries in specific locations, this patch
|
---|
| 12 | modifies this to use the current <envar>PATH</envar> environment to find
|
---|
| 13 | binaries.</para>
|
---|
| 14 | <para><command>patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch</command> :
|
---|
| 15 | Patch to fix syntax for <application><acronym>GCC</acronym>-3</application>.
|
---|
| 16 | </para>
|
---|
| 17 | <para><command>patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch
|
---|
| 18 | </command> : Patch to rename the internal motif library to avoid conflicts with
|
---|
| 19 | an incompatible system installed version.</para>
|
---|
| 20 |
|
---|
| 21 | <para><command>export ALT_BOOTDIR="$JAVA_HOME"</command> : This var sets
|
---|
| 22 | location of the bootstrap <acronym>JDK</acronym>.
|
---|
[1bf950c] | 23 | </para>
|
---|
| 24 |
|
---|
[06aea651] | 25 | <para><command>export ALT_MOZILLA_PATH=$PWD</command> : This sets the
|
---|
| 26 | variable that points to where you unzipped the <application>Mozilla
|
---|
| 27 | </application> headers.</para>
|
---|
[1bf950c] | 28 |
|
---|
[06aea651] | 29 | <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command> : This
|
---|
[1bf950c] | 30 | changes the location where the build finds the needed executables.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[06aea651] | 33 | <para><command>export BUILD_NUMBER="blfs-`date +%s`"</command> : This will
|
---|
[1bf950c] | 34 | help you identify this compiled version of the runtime environment and
|
---|
| 35 | virtual machine by appending this information to the version in the
|
---|
[06aea651] | 36 | output to <command>java -version</command>.</para>
|
---|
[1bf950c] | 37 |
|
---|
[06aea651] | 38 | <para><command>export DEV_ONLY=true</command> : This command
|
---|
[1bf950c] | 39 | eliminates compiling the documentation and eliminates a dependency for
|
---|
[06aea651] | 40 | <application>rpm</application>. </para>
|
---|
[1bf950c] | 41 |
|
---|
[06aea651] | 42 | <para><command>unset JAVA_HOME</command> : This clears the
|
---|
[52b9837f] | 43 | <envar>JAVA_HOME</envar>
|
---|
[1bf950c] | 44 | variable and prevents misdirection during compile.</para>
|
---|
| 45 |
|
---|
[06aea651] | 46 | <para><command>unset CLASSPATH</command> : This clears the
|
---|
| 47 | <envar>CLASSPATH</envar> variable and prevents misdirection during compile.
|
---|
[1bf950c] | 48 | </para>
|
---|
| 49 |
|
---|
[06aea651] | 50 | <para><command>unset CFLAGS...</command> : These flags cause miscompilation
|
---|
| 51 | of the build. Never set these.</para>
|
---|
| 52 |
|
---|
| 53 | <para><command>export INSANE=true</command> : Unless you specify that you
|
---|
[1bf950c] | 54 | are insane the build will not proceed. The certified platform for the build is
|
---|
| 55 | Redhat 6.1. The above variable ensures that all the errors related to
|
---|
[a40092c] | 56 | compiling on a non-certified platform will be converted to warnings.</para>
|
---|
[1bf950c] | 57 |
|
---|
[06aea651] | 58 | <para><command>export MAKE_VERBOSE=true</command> : Allows the current
|
---|
[1bf950c] | 59 | compilation command to be displayed on the console.</para>
|
---|
| 60 |
|
---|
[06aea651] | 61 | <para><command>export ALT_CACERTS_FILE...</command> : Specifies the
|
---|
| 62 | certificate file to use.</para>
|
---|
[74c1100] | 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|