From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8996 invoked by alias); 3 Jan 2010 19:00:04 -0000 Received: (qmail 8909 invoked by uid 22791); 3 Jan 2010 19:00:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 03 Jan 2010 18:59:57 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o03IxuFE006738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 3 Jan 2010 13:59:56 -0500 Received: from zebedee.pink (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o03IxrhF024060; Sun, 3 Jan 2010 13:59:55 -0500 Message-ID: <4B40E928.2090900@redhat.com> Date: Sun, 03 Jan 2010 19:00:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: jlpoole@pon.net CC: java@gcc.gnu.org Subject: Re: GCCMain not found & test suite errors fatal? References: <4B3CDCA7.70808@pon.net> <4B40C5A7.5020903@redhat.com> <4B40DE6F.1010003@pon.net> <4B40E279.3090601@redhat.com> <4B40E5A7.7090900@pon.net> In-Reply-To: <4B40E5A7.7090900@pon.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00004.txt.bz2 On 01/03/2010 06:44 PM, John Poole wrote: > On 1/3/2010 10:31 AM, Andrew Haley wrote: >> On 01/03/2010 06:14 PM, John Poole wrote: >>> Basically, the problem is that compiler was looking for ecj.jar under a >>> fixed(?) /usr/local/share path instead of the path where I had custom >>> installed: /usr/local/gcj; moreover it should have been looking under >>> the full path of /usr/local/gcj/usr/local/share/java. >>> >> OK, so we need to know why that happened. It might be a bug in gcj or >> you might not have configured gcc correctly. My guess is the latter, >> but you never know. >> >> Please look at the config.log in the top of the gcc build directory, >> and cut-n-paste the configure line that's there. I think I know >> what's wrong, but I'll need to see it to be sure. > I added this to the bug, too. > > plug build # pwd > /mnt/seagate2/download/gnu/build > plug build # head config.log > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by configure, which was > generated by GNU Autoconf 2.64. Invocation command line was > > $ ../trunk/configure --enable-languages=java Oh right, that's the problem then. You need to set the prefix with --prefix=/usr/local/gcj and then do "make install" to install gcj in the correct place. I'm sure that's in the instructions. Andrew.