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 <ahug...@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 <fwei...@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 >