This is directed primarily to DJ.
I decided to get busy and actually build OO tonight. One of the prereqs
is JDK so I decided to build that from source too.
As I went through, I found the instructions a bit difficult to follow.
First, the text says:
If you plan on compiling the JDK source, you will still need to
download the binary version to bootstrap the JDK build. You will need to
download a total of four files to complete the source build:
jdk-1_5_0_06-linux-i586.bin,
jdk-1_5_0_05-fcs-src-b05-jrl-13_oct_2005.jar (or optionally the JIUL
version), jdk-1_5_0_05-fcs-bin-b05-13_oct_2005.jar, and
jdk-1_5_0_05-mozilla_headers-b05-unix-26_aug_2005.jar.
And then:
Package Information
* Binary download: http://java.sun.com/j2se/1.5.0/download.jsp
* Version used (binary): 1.5.0_06
* Download MD5 sum (binary): 3cdad4a383b93680f02f6f06198c2227
* Source download: https://tiger.dev.java.net/jdk_5_0_05.html
* Download size (binary): 46.7 MB
* Download size (source): 64.4 MB (three .jar files)
* Estimated disk space required: 1553 MB
* Estimated build time: 29.05 SBU
I found this to be confusing. Although I got all the files, it wasn't
clear where to get each. We need to do something like:
Package Information
* Binary download: http://java.sun.com/j2se/1.5.0/download.jsp
(to download jdk-1_5_0_06-linux-i586.bin)
* Download MD5 sum: 3cdad4a383b93680f02f6f06198c2227
* Download size (binary): 46.7 MB
* Source download: https://tiger.dev.java.net/jdk_5_0_05.html
(to download jdk-1_5_0_05-fcs-src-b05-jrl-13_oct_2005.jar (or
optionally the JIUL version),
jdk-1_5_0_05-fcs-bin-b05-13_oct_2005.jar, and
jdk-1_5_0_05-mozilla_headers-b05-unix-26_aug_2005.jar)
* MD5 sums:
jdk-1_5_0_05-fcs-src-b05-jrl-13_oct_2005.jar xxxxxxxxxxxxxxxxxxx
jdk-1_5_0_05-fcs-bin-b05-13_oct_2005.jar xxxxxxxxxxxxxxxxxx
jdk-1_5_0_05-mozilla_headers-b05-unix-26_aug_2005.jar xxxxxxxxxx
* Download size (source): 64.4 MB (three .jar files)
* Estimated disk space required: 1553 MB
* Estimated build time: 29 SBU
Second, the first instruction modifies the original file in the
original location:
sed -i "s:^PATH=.*::" jdk-1_5_0_06-linux-i?86.bin
This is different from every other BLFS package. Normally we expect the
user to extract files to a subdirectory and change to that location. In
this case, we need to create a copy of the file and modify the copy
before executing it.
As we follow the instructions, we:
cd jdk1.5.0_06
install the precompiled binary
export/update some env variables
mkdir jdk-build &&
cd jdk-build
for JAR in ../jdk-1_5_0_05*.jar
do java -jar ${JAR}
done
Oops, the instructions fail because we did not go up from the
jdk1.5.0_06 directory.
Also, in the configuration section, we have:
ln -v -nsf jdk-1.5.0_05 /opt/jdk/jdk
I think that should be
ln -v -nsf jdk-1.5.0_06 /opt/jdk/jdk
^
This is as far as I've gotten so far, but some changes need to be made
to clarify the instructions. I'll be glad to do it after I complete the
build and verify that it works or you can do it.
Comments?
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page