Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 31148 invoked from network); 18 Jan 2007 11:12:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 11:12:48 -0000 Received: (qmail 69767 invoked by uid 500); 18 Jan 2007 11:12:52 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 69741 invoked by uid 500); 18 Jan 2007 11:12:52 -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 69732 invoked by uid 99); 18 Jan 2007 11:12:52 -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 03:12:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 03:12:40 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H7VBf-0007MB-PV for dev@harmony.apache.org; Thu, 18 Jan 2007 12:12:07 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jan 2007 12:12:07 +0100 Received: from gshimansky by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jan 2007 12:12:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Gregory Shimansky Subject: Re: [build][doc] building on Debian Date: Thu, 18 Jan 2007 14:11:48 +0300 Lines: 40 Message-ID: References: <2c9597b90701171003t6bb8e093q9bcd36aad6d298b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <2c9597b90701171003t6bb8e093q9bcd36aad6d298b@mail.gmail.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org 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