Re: GCCMain not found & test suite errors fatal?
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
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.