(user probs) Things I dont understand, which may be bugs...
Tom Tromey
tromey@redhat.com
Mon Jan 5 19:24:00 GMT 2004
>>>>> "Anders" == Anders Biehl Nørgaard <biehl@binf.ku.dk> writes:
Anders> 1) the installation procedure as described on
Anders> http://forums.gentoo.org/viewtopic.php?t=108718&start=25
Anders> search for "ok, after a reboot (!)"...has some bugs - are they
Anders> related to a broken ebuild or some gcj-brokenness?
I don't know anything about gentoo. A reboot isn't a normal part of
gcc installation though.
Anders> bash-2.05b$ /usr/local/bin/gcj CountColumn.java
Anders> /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/bin/ld:
Anders> cannot find -lgcjcollect2: ld returned 1 exit status
It's best to follow the gcc install instructions. If you configured
with --prefix=/usr/local, then do you have /usr/local/lib/libgcj.so?
If not, your install is messed up.
Anders> cp=.:/usr/share/gcc-data/i686-pc-linux-gnu/3.4/java/libgcj-3.4.0.jar
Anders> export CLASSPATH=cp
You want export CLASSPATH=$cp
note this ^
Although, really, it is better to use the command-line arguments than
to bury the setting in a script in /usr/local/bin.
Tom
More information about the Java
mailing list