harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [build][doc] building on Debian
Date Thu, 18 Jan 2007 12:01:50 GMT

On Jan 18, 2007, at 8:24 AM, Mark Hindess wrote:

>
> On 18 January 2007 at 14:11, Gregory Shimansky  
> <gshimansky@gmail.com> wrote:
>> 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?
>
> It's not really that strange.  Classlib natives try to load them
> directly as 'libXmu.so' rather than with version symbols and Debian
> intentionally does not install the unversioned .so files unless you
> install the -dev packages (which are not required by the build).
>

Were we going to have the classlib go on an easter-egg hunt, looking  
first for unversioned, and then versioned if not found?  I don't  
remember the conclusion.

geir

> -Mark.
>
>


Mime
View raw message