Thanks Kelly. This doesn't seem to pull in the motif dependencies. I need to manually<br>apt-get libmotif (or more precisely lesstif2). The build seems to have gotten past that point<br>once i grabbed it though. (although make sanity still complains about Motif being missing.)<br>
<br>thanks for your help everyone!!<br>-- ramki<br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 10:06 AM, Kelly O'Hair <span dir="ltr"><<a href="mailto:kelly.ohair@oracle.com">kelly.ohair@oracle.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 style="word-wrap: break-word;">I am using:<div><br></div><div><div> aptitude update</div>
<div> aptitude install mercurial</div><div> aptitude install rpm ssh openjdk6-jdk expect tcsh csh ksh gawk g++ build-essential</div><div> aptitude build-dep openjdk-6</div><div> if [ "`uname -m`" = "x86_64" ] ; then</div>
<div> aptitude install ia32-libs</div><div> fi</div><div> aptitude install ntp</div><div><br></div><div>-kto</div><div><div></div><div class="h5"><div><br></div><div><div>On Nov 9, 2011, at 11:39 AM, Srinivas Ramakrishna wrote:</div>
<br><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"><<a href="mailto:ahughes@redhat.com" target="_blank">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>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><br>
> --<br>
> Florian Weimer <<a href="mailto:fweimer@bfk.de" target="_blank">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" target="_blank">+49-721-96201-1</a><br>
> D-76133 Karlsruhe fax: <a href="tel:%2B49-721-96201-99" value="+497219620199" target="_blank">+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>
</blockquote></div><br></div></div></div></div></blockquote></div><br>