[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-jdk6-dev
Subject:    Xm/Motif for OpenJDK build?
From:       kelly.ohair () ORACLE ! COM (Kelly O'Hair)
Date:       2011-11-10 13:50:54
Message-ID: B6479092-DE21-4C59-9CCB-337DB7DD759D () ORACLE ! COM
[Download RAW message or body]

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.

-kto

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
>       fi
>       aptitude install ntp
> 
> -kto
> 
> 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
>> 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
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20111110/eec47da1/attachment-0001.html 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic