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