libjava issues with arm-linux-gcj from arm-linux-gcc 3.3.2

Nathan M ngmlinux@gmail.com
Tue Aug 16 03:58:00 GMT 2005


While trying to use the arm-linux-gcj cross compiler included in
compulab's arm-linux-gcc 3.3.2 tools, I get the following error
message:
===code======================================================
[root@localhost java_xcompile]# arm-linux-gcj HelloWorld.java
HelloWorld.java:0: error: Can't find default package `java.lang'.
Check the CLASSPATH environment variable and the access to the
archives
1 error
=============================================================
I am relatively confident that this is not a GNU Classpath issue as I
have classpath installed.  I believe the issue is related to libjava
(part of arm-linux-gcc 3.3.2) as I think libjava creates java.lang
when it is compiled.  I noticed that libjava hasn't yet been compiled,
located at /home/username/gcc-3.3.2/libjava/, however I have not been
able to configure it do to the following error:
===code======================================================
[root@localhost libjava]# ./configure --enable-threads=posix
--prefix=/usr/local/arm/3.3.2/bin/
loading cache ./config.cache
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
configure: error: can not find install-sh or install.sh in ./.. ././..
=============================================================
Any suggestions as to how I can resolve this "install.sh" error?  I
only have a handful of "install.sh" files on my entire system, none of
which seem to be relevant.

Thanks.



More information about the Java mailing list