source: general/prog/jdk/j2sdk-exp.xml@ 06aea651

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 06aea651 was 06aea651, checked in by Larry Lawrence <larry@…>, 21 years ago

chapter 12

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1204 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[74c1100]1<sect2>
2<title>Command explanations</title>
3
[06aea651]4<para><command>T=`grep...</command> : Determines the part where the tarfile
5begins in the self extracting archive.</para>
6
7<para><command>patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch</command> :
8Patch 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
12modifies this to use the current <envar>PATH</envar> environment to find
13binaries.</para>
14<para><command>patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch</command> :
15Patch 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
19an incompatible system installed version.</para>
20
21<para><command>export ALT_BOOTDIR="$JAVA_HOME"</command> : This var sets
22location of the bootstrap <acronym>JDK</acronym>.
[1bf950c]23</para>
24
[06aea651]25<para><command>export ALT_MOZILLA_PATH=$PWD</command> : This sets the
26variable 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]30changes 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]34help you identify this compiled version of the runtime environment and
35virtual machine by appending this information to the version in the
[06aea651]36output to <command>java -version</command>.</para>
[1bf950c]37
[06aea651]38<para><command>export DEV_ONLY=true</command> : This command
[1bf950c]39eliminates 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]44variable 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
51of the build. Never set these.</para>
52
53<para><command>export INSANE=true</command> : Unless you specify that you
[1bf950c]54are insane the build will not proceed. The certified platform for the build is
55Redhat 6.1. The above variable ensures that all the errors related to
[a40092c]56compiling 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]59compilation command to be displayed on the console.</para>
60
[06aea651]61<para><command>export ALT_CACERTS_FILE...</command> : Specifies the
62certificate file to use.</para>
[74c1100]63
64</sect2>
65
Note: See TracBrowser for help on using the repository browser.