harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: [build][doc] building on Debian
Date Thu, 18 Jan 2007 11:11:48 GMT
Alexei Zakharov wrote:
> Hi all,
> 
> I gratefully like to announce that I was successful in building and
> running Harmony on newly installed Debian stable Linux system. As far
> as I remember nobody has tried to build on Debian before (I may be
> wrong of course).
> 
> However there were some tricks I'd like to share.
> 1. I was able to build both classlib and DRLVM without any problems
> with our "getting started for contributors" page and default Debian
> package set.
> 2. However, DRLVM completely rejected to run after step 1. Even
> HelloWorld crashed. The problem was that the kernel I was using wasn't
> fresh enough - big thanks to Alexei Fedotov for pointing this out. So
> I've switched from version 2.4.27 to 2.6.8 and this brings DRLVM back
> to life.
> 3. After step 2 everything was almost fine. Except for the graphics.
> Almost all Swing & AWT tests fail because it fails to load
> org.apache.harmony.awt.wtk.linux.LinuxWindowFactory. I've spent some
> time investigating this. The correct sequence of actions was
> su
> cd /usr/X11R6/lib
> ln -sf libXmu.so.6 libXmu.so
> ln -sf libXtst.so.6 libXtst.so
> ldconfig
> exit

This is quite strange if you built classlib on this machine from scratch 
and didn't have any binaries left around. Which library required 
libXmu.so instead of libXmu.so.6? Could you find it with ldd among 
classlib native libraries?

> Now everything is fine. I believe that the information from steps (2)
> and (3) may help others to setup Harmony quickly. Probably it is not a
> bad idea to put it somewhere on our site.


-- 
Gregory


Mime
View raw message