Building Penrose
Shi Jun Zhang
zhangshj at linux.vnet.ibm.com
Sun Feb 26 22:28:54 PST 2012
On 2/24/2012 9:13 PM, David Bosschaert wrote:
> For those who, like me, had to learn how to build OpenJDK 8 / Penrose,
> I've recorded the steps needed to get it built on Fedora 16 here:
> http://coderthoughts.blogspot.com/2012/02/building-project-penrose-or-openjdk-8.html
>
> Cheers,
>
> David
>
Here is my experience of building OpenJDK8/Jigsaw/Penrose on Windows XP
32bit machine. Basically follow the instruction in README-builds.html,
you can get the build successfully.
1. Pre-requirement
1.1 NTFS required
1.2 cygwin: package required:
Binary Name Category Package
ar.exe Devel binutils
m4.exe Interpreters m4
cpio.exe Utils cpio
gawk.exe Utils awk
file.exe Utils file
zip.exe Archive zip
unzip.exe Archive unzip
free.exe System procps
1.3 Microsoft Visual Studio C++ 2010 Professional Edition or
Express compiler required
1.4 ant >= 1.7.1. Get the latest ant from here:
http://ant.apache.org/ivy/download.cgi
1.5 bootstrap jdk >= jdk7
1.6 freetype
a. Get the latest code from
http://freetype.sourceforge.net/download.html#stable
b. Build the project. The output are freetype.dll in
ALT_FREETYPE_LIB_PATH and src/include as ALT_FREETYPE_HEADER_PATH
1.7 make 3.80: make 3.80 is no longer provided by the cygwin.
Please get it from http://www.go-mono.com/archive/helper/make-3.80-1.tar.bz2
1.8 Microsoft Direct SDK: Please get it from
http://www.microsoft.com/downloads/details.aspx?FamilyId=FD044A42-9912-42A3-9A9E-D857199F888E&displaylang=en
2. Get the code
Get mercurial from: http://mercurial.selenic.com/
Get the source
hg clone http://hg.openjdk.java.net/penrose/jigsaw
cd jigsaw
chmod +x get_source.sh
./get_source.sh
3. Build
Using vs studio command prompt:
set CLASSPATH=
set JAVA_HOME=
make ALT_BOOTDIR=<bootjdk> ALT_FREETYPE_LIB_PATH=<freetype lib>
ALT_FREETYPE_HEADERS_PATH=<freetype header> ALLOW_DOWNLOADS=true
--
Regards,
Shi Jun Zhang
More information about the penrose-dev
mailing list