From dev-return-23225-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Jan 18 13:00:09 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 61440 invoked from network); 18 Jan 2007 13:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 13:00:08 -0000 Received: (qmail 29494 invoked by uid 500); 18 Jan 2007 13:00:12 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 29475 invoked by uid 500); 18 Jan 2007 13:00:12 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 29466 invoked by uid 99); 18 Jan 2007 13:00:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 05:00:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alexei.zakharov@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 05:00:01 -0800 Received: by an-out-0708.google.com with SMTP id b2so56717ana for ; Thu, 18 Jan 2007 04:59:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jgNe7CFA1IuE27faEbsupCJOuKgzwyOIG5OoqcGsssL8Uu6JGFiMi+yaK+at/39OK2DxvQu9cF/Eby7tswZatucFhMzBa4Of4fVayrBmQYdPUPWqNa951NBbH14q0m6DzpRn2FDmKBMkVXbnpD3W7gMEMLVtEJdCgm8WGLdzYhI= Received: by 10.78.187.17 with SMTP id k17mr692030huf.1169125172258; Thu, 18 Jan 2007 04:59:32 -0800 (PST) Received: by 10.78.203.2 with HTTP; Thu, 18 Jan 2007 04:59:32 -0800 (PST) Message-ID: <2c9597b90701180459r4635577bl58e8d78b5a6959f3@mail.gmail.com> Date: Thu, 18 Jan 2007 15:59:32 +0300 From: "Alexei Zakharov" To: dev@harmony.apache.org Subject: Re: [build][doc] building on Debian In-Reply-To: <200701181124.l0IBOWb5014920@d06av02.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2c9597b90701171003t6bb8e093q9bcd36aad6d298b@mail.gmail.com> <200701181124.l0IBOWb5014920@d06av02.portsmouth.uk.ibm.com> X-Virus-Checked: Checked by ClamAV on apache.org > It's not really that strange. Classlib natives try to load them > directly as 'libXmu.so Right, it tries to load libs directly. See org_apache_harmony_awt_nativebridge_linux_X11.cpp in modules/awt/src/main/native/x11wrapper/unix . Regards, 2007/1/18, Mark Hindess : > > On 18 January 2007 at 14:11, Gregory Shimansky 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). -- Alexei Zakharov, Intel ESSD