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