1 | <sect2>
|
---|
2 | <title>Command explanations</title>
|
---|
3 |
|
---|
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>.
|
---|
23 | </para>
|
---|
24 |
|
---|
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>
|
---|
28 |
|
---|
29 | <para><command>export ALT_DEVTOOLS_PATH="/usr/bin"</command> : This
|
---|
30 | changes the location where the build finds the needed executables.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | <para><command>export BUILD_NUMBER="blfs-`date +%s`"</command> : This will
|
---|
34 | help you identify this compiled version of the runtime environment and
|
---|
35 | virtual machine by appending this information to the version in the
|
---|
36 | output to <command>java -version</command>.</para>
|
---|
37 |
|
---|
38 | <para><command>export DEV_ONLY=true</command> : This command
|
---|
39 | eliminates compiling the documentation and eliminates a dependency for
|
---|
40 | <application>rpm</application>. </para>
|
---|
41 |
|
---|
42 | <para><command>unset JAVA_HOME</command> : This clears the
|
---|
43 | <envar>JAVA_HOME</envar>
|
---|
44 | variable and prevents misdirection during compile.</para>
|
---|
45 |
|
---|
46 | <para><command>unset CLASSPATH</command> : This clears the
|
---|
47 | <envar>CLASSPATH</envar> variable and prevents misdirection during compile.
|
---|
48 | </para>
|
---|
49 |
|
---|
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
|
---|
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
|
---|
56 | compiling on a non-certified platform will be converted to warnings.</para>
|
---|
57 |
|
---|
58 | <para><command>export MAKE_VERBOSE=true</command> : Allows the current
|
---|
59 | compilation command to be displayed on the console.</para>
|
---|
60 |
|
---|
61 | <para><command>export ALT_CACERTS_FILE...</command> : Specifies the
|
---|
62 | certificate file to use.</para>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|