<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am using:<div><br></div><div><div>&nbsp; &nbsp; &nbsp; aptitude update</div><div>&nbsp; &nbsp; &nbsp; aptitude install mercurial</div><div>&nbsp; &nbsp; &nbsp; aptitude install rpm ssh openjdk6-jdk expect tcsh csh ksh gawk g++ build-essential</div><div>&nbsp; &nbsp; &nbsp; aptitude build-dep openjdk-6</div><div>&nbsp; &nbsp; &nbsp; if [ "`uname -m`" = "x86_64" ] ; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; aptitude install ia32-libs</div><div>&nbsp; &nbsp; &nbsp; fi</div><div>&nbsp; &nbsp; &nbsp; aptitude install ntp</div><div><br></div><div>-kto</div><div><br></div><div><div>On Nov 9, 2011, at 11:39 AM, Srinivas Ramakrishna wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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">&lt;<a href="mailto:ahughes@redhat.com">ahughes@redhat.com</a>&gt;</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 &nbsp; &nbsp; , Florian Weimer wrote:<br>
&gt; * Srinivas Ramakrishna:<br>
&gt;<br>
&gt; &gt; Sorry for a rather naive question. I am building openjdk (6) from<br>
&gt; &gt; scratch for the first time and am running into an issue when building<br>
&gt; &gt; the AWT classes because of not finding the relevant Motif header files<br>
&gt; &gt; at the expected locations on my system (ubuntu/x64).<br>
&gt;<br>
&gt; I think these headers are plain Xt, not Motif. &nbsp;Here's the minimal list<br>
&gt; of build dependencies I ended up with:<br>
&gt;<br>
&gt; &nbsp;ant,<br>
&gt; &nbsp;ant-optional,<br>
&gt; &nbsp;cpio,<br>
&gt; &nbsp;file,<br>
&gt; &nbsp;gawk,<br>
&gt; &nbsp;libasound2-dev,<br>
&gt; &nbsp;libcups2-dev,<br>
&gt; &nbsp;libfreetype6-dev,<br>
&gt; &nbsp;libx11-dev,<br>
&gt; &nbsp;libxext-dev,<br>
&gt; &nbsp;libxi-dev,<br>
&gt; &nbsp;libxrender-dev,<br>
&gt; &nbsp;libxt-dev,<br>
&gt; &nbsp;libxtst-dev,<br>
&gt; &nbsp;m4,<br>
&gt; &nbsp;openjdk-6-jdk,<br>
&gt; &nbsp;openjdk-drops,<br>
&gt; &nbsp;procps,<br>
&gt; &nbsp;unzip,<br>
&gt; &nbsp;x11proto-input-dev,<br>
&gt; &nbsp;zip,<br>
&gt;<br>
&gt; This list is for building OpenJDK 7 on a derivative of Debian squeeze,<br>
&gt; but Ubuntu is probably similar.<br>
&gt;<br>
<br>
</div></div>But he asked about 6, not 7. &nbsp;And 6 does require the Motif headers still.<br>
Works with OpenMotif.<br>
<div><div></div><div class="h5"><br>
&gt; --<br>
&gt; Florian Weimer &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:fweimer@bfk.de">fweimer@bfk.de</a>&gt;<br>
&gt; BFK edv-consulting GmbH &nbsp; &nbsp; &nbsp; <a href="http://www.bfk.de/" target="_blank">http://www.bfk.de/</a><br>
&gt; Kriegsstraße 100 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tel: <a href="tel:%2B49-721-96201-1" value="+49721962011">+49-721-96201-1</a><br>
&gt; D-76133 Karlsruhe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 &nbsp;8F91 3B96 A578 248B DC07<br>
</font></blockquote></div><br>
</blockquote></div><br></div></body></html>