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

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 v1_0 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 e68cc1c was e68cc1c, checked in by Larry Lawrence <larry@…>, 21 years ago

appendix tags, other tagging

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

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[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
9the binaries in specific locations, this patch modifies this to use the
10current <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]15var sets location of the bootstrap JDK.
16</para>
17
[03cbf55]18<para><userinput>export ALT_MOZILLA_PATH=$PWD</userinput> : This sets the
[1bf950c]19variable that points to where you unzipped the mozilla headers.</para>
20
[03cbf55]21<para><userinput>export ALT_DEVTOOLS_PATH="/usr/bin"</userinput> : This
[1bf950c]22changes 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]26help you identify this compiled version of the runtime environment and
27virtual machine by appending this information to the version in the
28output to "java -version".</para>
29
[03cbf55]30<para><userinput>export DEV_ONLY=true</userinput> : This command
[1bf950c]31eliminates compiling the documentation and eliminates a dependency for
32rpm. </para>
33
[03cbf55]34<para><userinput>unset JAVA_HOME</userinput> : This clears the JAVA_HOME
[1bf950c]35variable and prevents misdirection during compile.</para>
36
[03cbf55]37<para><userinput>unset CLASSPATH</userinput> : This clears the CLASSPATH
[1bf950c]38variable and prevents misdirection during compile.</para>
39
[03cbf55]40<para><userinput>unset CFLAGS...</userinput> : These flags cause miscompilation
[1bf950c]41of the build. Never set these.
42</para>
43
[03cbf55]44<para><userinput>export INSANE=true</userinput> : Unless you specify that you
[1bf950c]45are insane the build will not proceed. The certified platform for the build is
46Redhat 6.1. The above variable ensures that all the errors related to
[a40092c]47compiling 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]50compilation command to be displayed on the console.</para>
51
[03cbf55]52<para><userinput>export ALT_CACERTS_FILE...</userinput> : Specifies the certificate
[1bf950c]53file to use.</para>
[74c1100]54
55</sect2>
56
Note: See TracBrowser for help on using the repository browser.