Hello ~~
Sorry to delay you ¡G¡^
When I keyed in 'make install' to install
JavaVM, it showed that ....
....
....
Making install in include
make[1]: Entering directory `/home/jun/nodeos/Janos/jvm/include' make[2]: Entering directory `/home/jun/nodeos/Janos/jvm/include' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /usr/local/include/kaffe /usr/bin/install -c -m 644 java_lang_Object.h /usr/local/include/kaffe/java_lang_Object.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/java_lang_Object.h': Permission denied /usr/bin/install -c -m 644 java_lang_String.h /usr/local/include/kaffe/java_lang_String.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/java_lang_String.h': Permission denied /usr/bin/install -c -m 644 java_lang_Thread.h /usr/local/include/kaffe/java_lang_Thread.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/java_lang_Thread.h': Permission denied /usr/bin/install -c -m 644 java_lang_ThreadGroup.h /usr/local/include/kaffe/java_lang_ThreadGroup.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/java_lang_ThreadGroup.h': Permission denied /usr/bin/install -c -m 644 java_lang_Throwable.h /usr/local/include/kaffe/java_lang_Throwable.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/java_lang_Throwable.h': Permission denied /usr/bin/install -c -m 644 Arrays.h /usr/local/include/kaffe/Arrays.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/Arrays.h': Permission denied /usr/bin/install -c -m 644 errors.h /usr/local/include/kaffe/errors.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/errors.h': Permission denied /usr/bin/install -c -m 644 jmalloc.h /usr/local/include/kaffe/jmalloc.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/jmalloc.h': Permission denied /usr/bin/install -c -m 644 jni.h /usr/local/include/kaffe/jni.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/jni.h': Permission denied /usr/bin/install -c -m 644 jni_cpp.h /usr/local/include/kaffe/jni_cpp.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/jni_cpp.h': Permission denied /usr/bin/install -c -m 644 jsyscall.h /usr/local/include/kaffe/jsyscall.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/jsyscall.h': Permission denied /usr/bin/install -c -m 644 jtypes.h /usr/local/include/kaffe/jtypes.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/jtypes.h': Permission denied /usr/bin/install -c -m 644 native.h /usr/local/include/kaffe/native.h /usr/bin/install: cannot remove `/usr/local/include/kaffe/native.h': Permission denied make[2]: *** [install-pkgincludeHEADERS] Error 1 make[2]: Leaving directory `/home/jun/nodeos/Janos/jvm/include' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/jun/nodeos/Janos/jvm/include' make: *** [install-recursive] Error 1 It seemed that I was permission denied to create
some files of Kaffe.
Should I use the nodeos-configure script from
the config/i386/nodeos directory to configure JanosVM first?
But I have some problems about using the
nodeos-configure script.
This is what showed at README.
.
$ cd /home/tullmann/obj/janosvm/ $ /home/tullmann/janosvm/config/i386/nodeos/nodeos-configure \ --srcdir=/home/tullmann/janosvm \ --oskitdir=/opt/oskit \ --nodeosdir=/opt/moab \ --localkaffeh=/opt/kaffe/bin/kaffeh \ --enable-debug \ --prefix=/opt/janosvm-moaboskit/ It showed that ./nodeos-configure \--srcdir=/home/jun/nodeos/Janos/jvm
\
--oskitdir=/home/jun/nodeos/Janos/oskit \ --nodeosdir=/home/jun/nodeos/Janos/moab \ --localkaffeh=/usr/bin/kaffeh \ --enable-debug \ --prefix=/home/jun/nodeos/Janos/janosvm-moaboskit/ JanosVM on NodeOS Configuration: srcdir = /home/jun/nodeos/Janos/jvm nodeos = /home/jun/nodeos/Janos/moab click = oskit = /home/jun/nodeos/Janos/oskit KAFFEH = /usr/bin/kaffeh CC = /home/jun/nodeos/Janos/oskit/bin/x86-oskit-gcc -posix-oskit -pthread -nostdinc -I/home/jun/nodeos/Janos/moab/i nclude LD/CCLD = /home/jun/nodeos/Janos/jvm/config/i386/nodeos/ld-nodeos.sh --oskit=/home/jun/nodeos/Janos/oskit --nodeos=/hom e/jun/nodeos/Janos/moab /home/jun/nodeos/Janos/jvm/configure --with-threads=nodeos-threads --with-staticlib --without-x --host=i386- nodeos --enable-debug --prefix=/home/jun/nodeos/Janos/janosvm-moaboskit/ loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... mawk checking whether make sets ${MAKE}... yes configure: error: source directory already configured; run make distclean there first Can you tell me what to slove
it ?
Is it the reson why I cannot make install JavaVM
successfully ?
And, should it need two environment variables to
be set at configure-time:
JNODEOS_CLASSES_ZIP = The location of a Moab configured jnodeos jar file (usually named jnodeos-moab-debug.jar) JANOSVM_CLASSES_ZIP = The location of a jar file containing the janosvm specific classes (usually libraries/jvmlib/JanosVM.jar) But I don't know how to set them, what commands should I do ?? ¡G¡^
Thank you very very much.
Meng Chun.
|