building from the sources
Tobias Ivarsson
thobes at gmail.com
Tue Jul 28 06:10:12 PDT 2009
The bsd-port builds on Linux as well.
You might need a few patches though.
This thread was helpful for me when I rebased the interface injection patch
last week:
http://mail.openjdk.java.net/pipermail/mlvm-dev/2009-April/000486.html
With those instructions I managed to get the build working on Ubuntu 9.04.
I think there was some fuzz with the patch application, so I'll attach the
patches as they look on my system at the moment. (applies on bsd-port from
last week).
Simply add these file to your jdk patch repository and add the following
section to your series file (after the reviewed mlvm patches, before the
unreviewed), and "hg qpush -a" should apply these patches along with the
mlvm patches and enable you to build cleanly on Ubuntu.
# patches required to build on Ubuntu
interim-endian.patch
jmx.snmp-binaryplugs.patch
sun-tools-jar.patch
ia32.patch
Happy Hacking
/Tobias
On Tue, Jul 28, 2009 at 2:03 PM, Raffaello Giulietti <
raffaello.giulietti at gmail.com> wrote:
> I'm getting into troubles with the binary snapshot, so I decided to
> build from the sources.
>
> I once managed to build OpenJDK on Ubuntu 9.04/VirtualBox/Vista.
>
> Now, browsing through the building instructions found at
> http://wikis.sun.com/display/mlvm/Building I'm wondering what the
> dependencies between mlvm and the bsd-port are. According to this page,
> the repo is found at http://hg.openjdk.java.net/bsd-port/bsd-port so it
> seems at first sight that mlvm is currently targeted only at this platform.
>
> Am I wrong?
> What about Linux?
>
> Thanks
> Raffaello
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090728/2fcd5c60/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interim-endian.patch
Type: application/octet-stream
Size: 1581 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090728/2fcd5c60/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmx.snmp-binaryplugs.patch
Type: application/octet-stream
Size: 742 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090728/2fcd5c60/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sun-tools-jar.patch
Type: application/octet-stream
Size: 1396 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090728/2fcd5c60/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ia32.patch
Type: application/octet-stream
Size: 1241 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090728/2fcd5c60/attachment-0003.obj
More information about the mlvm-dev
mailing list