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.giulie...@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@openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>

Attachment: interim-endian.patch
Description: Binary data

Attachment: jmx.snmp-binaryplugs.patch
Description: Binary data

Attachment: sun-tools-jar.patch
Description: Binary data

Attachment: ia32.patch
Description: Binary data

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to