This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Can't install libgcj on solaris



Jonah wrote:
> Hello, has anyone been able to install libgcj on solaris?  I've spent 
> over 5 hours on it.  I'm using libgcj-snapshot-1999-04-08.

Yes, I've built it under solaris.  

There appears to be a bug in the build system.  I get the same error
if I try to configure and make in the same directory as the source
code.

A work around, for now, is to configure/make in a different directory.

For instance....

fencer[1072] ls -l
total 4
drwxr-xr-x   9 green    cygnus       4096 Apr  8 08:27 libgcj-snapshot-1999-04-08
fencer[1073] mkdir build
fencer[1074] cd build
fencer[1075] ../libgcj-snapshot-1999-04-08/configure; make

Does this work?

Most of us configure/build our code this way.  There are plenty of
good reasons to (easier to deal with cvs, build multiple platforms
from single source tree, etc).

Thanks,

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California