Xm/Motif for OpenJDK build?
kelly.ohair at ORACLE.COM
Thu Nov 10 05:50:54 PST 2011
Strange, I would have assumed that the aptitude build-dep openjdk-6 would have gotten this.
Maybe Dalibor might know more on this aptitude build-dep openjdk-6.
On Nov 9, 2011, at 2:58 PM, Srinivas Ramakrishna wrote:
> Thanks Kelly. This doesn't seem to pull in the motif dependencies. I need to manually
> apt-get libmotif (or more precisely lesstif2). The build seems to have gotten past that point
> once i grabbed it though. (although make sanity still complains about Motif being missing.)
> thanks for your help everyone!!
> -- ramki
> On Wed, Nov 9, 2011 at 10:06 AM, Kelly O'Hair <kelly.ohair at oracle.com> wrote:
> 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
> aptitude install ntp
> 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
>> 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...
More information about the build-dev