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