Xm/Motif for OpenJDK build?

Kelly O'Hair kelly.ohair at oracle.com
Wed Nov 9 10:06:10 PST 2011


I am using:

      aptitude update
      aptitude install mercurial
      aptitude install rpm ssh openjdk6-jdk expect tcsh csh ksh gawk g++ build-essential
      aptitude build-dep openjdk-6
      if [ "`uname -m`" = "x86_64" ] ; then
        aptitude install ia32-libs
      fi
      aptitude install ntp

-kto

On Nov 9, 2011, at 11:39 AM, Srinivas Ramakrishna wrote:

> Thanks everyone for your suggestions. Indeed I am building jdk6.. I'll try out David's and Andrew's
> suggestions and see. (David: the header files seem to be missing on my ubuntu box, at least i
> can't find them under /usr/X11 (which i do have)).
> 
> -- ramki
> 
> On Wed, Nov 9, 2011 at 6:39 AM, Dr Andrew John Hughes <ahughes at redhat.com> wrote:
> On 09:11 Wed 09 Nov     , Florian Weimer wrote:
> > * Srinivas Ramakrishna:
> >
> > > Sorry for a rather naive question. I am building openjdk (6) from
> > > scratch for the first time and am running into an issue when building
> > > the AWT classes because of not finding the relevant Motif header files
> > > at the expected locations on my system (ubuntu/x64).
> >
> > I think these headers are plain Xt, not Motif.  Here's the minimal list
> > of build dependencies I ended up with:
> >
> >  ant,
> >  ant-optional,
> >  cpio,
> >  file,
> >  gawk,
> >  libasound2-dev,
> >  libcups2-dev,
> >  libfreetype6-dev,
> >  libx11-dev,
> >  libxext-dev,
> >  libxi-dev,
> >  libxrender-dev,
> >  libxt-dev,
> >  libxtst-dev,
> >  m4,
> >  openjdk-6-jdk,
> >  openjdk-drops,
> >  procps,
> >  unzip,
> >  x11proto-input-dev,
> >  zip,
> >
> > This list is for building OpenJDK 7 on a derivative of Debian squeeze,
> > but Ubuntu is probably similar.
> >
> 
> But he asked about 6, not 7.  And 6 does require the Motif headers still.
> Works with OpenMotif.
> 
> > --
> > Florian Weimer                <fweimer at bfk.de>
> > BFK edv-consulting GmbH       http://www.bfk.de/
> > Kriegsstraße 100              tel: +49-721-96201-1
> > D-76133 Karlsruhe             fax: +49-721-96201-99
> 
> --
> Andrew :)
> 
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
> 
> Support Free Java!
> Contribute to GNU Classpath and IcedTea
> http://www.gnu.org/software/classpath
> http://icedtea.classpath.org
> PGP Key: 248BDC07 (https://keys.indymedia.org/)
> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20111109/90c1ee67/attachment-0001.html 


More information about the jdk6-dev mailing list