building OpenJDK on Ubuntu 7.10

David Herron David.Herron at Sun.COM
Wed Jun 25 18:35:18 UTC 2008


Jonathan Gibbons wrote:
> I'm setting up Ubuntu 7.10 to build JDK, and I'm looking at the info 
> here:
> http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html
>
> There isn't a section for 7.10, but 7.04 comes pretty close. The only 
> issue
> is the xlibs-dev package.  Does anyone have a suggestion on how to fix 
> this?
>
> -- Jon
>
> $ sudo apt-get install xlibs-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package xlibs-dev is not available, but is referred to by another 
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package xlibs-dev has no installation candidate
>

Jon,

Compiles on 7.10 work pretty readily but you have to get the right X 
libraries installed.  Compiles on 7.10 is even easier because the GCC 
version on 7.10 doesn't complain about the string casts in Hotspot which 
the GCC version on 8.04 complains about.

That package existed to cause inclusion of a slew of X libraries & 
headers. 

I thought there was still a package for this purpose, but I cannot find 
it (on 8.04)

On 8.04 I have these libraries installed:-

libx11-dev
libx11-xcb-dev
libxau-dev
libxcb1-dev
libxcb-xlib0-dev
libxdmcp-dev
libxext-dev

The ones with xcb in their name probably do not exist on 7.10

- David Herron




More information about the build-dev mailing list