Dear all,

I'm using linux Ubuntu 8.3 and I have installed TinyOs from CVS
I'm trying run TestSerial app but it is not possible because I got the
follow notification :

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/tests/TestSerial$ java TestSerial
getenv JNI library not found. Env.getenv will not work
(run the tos-install-jni tool, see man tos-install-jni for more details)

Thus, I have tried all suggestions found in Tinyos Tutorial (
http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder#Cannot_find_JNI_error)
but nothing work.

For example:
1) when a try type make or make install on opt/tinyos-2.x/tools/tinyos/java
I got the follow:
[EMAIL PROTECTED]:/opt/tinyos-2.x/tools/tinyos/java# make install
make: *** No rule to make target `install'.  Stop.
[EMAIL PROTECTED]:/opt/tinyos-2.x/tools/tinyos/java#

2)when a try type ./Bootstrap or ./configure on opt/tinyos-2.x/tools/ I
still have a problem as follow:
[EMAIL PROTECTED]:/opt/tinyos-2.x/tools# ls
Bootstrap  configure.ac  Makefile.am  README   tinyos
build.xml  CVS           platforms    release
[EMAIL PROTECTED]:/opt/tinyos-2.x/tools# ./Bootstrap
+ aclocal
./Bootstrap: 1: aclocal: not found
+ set -x
+ cd platforms/mica/uisp
+ ./bootstrap
./bootstrap: 1: aclocal: not found
./bootstrap: 2: autoheader: not found
./bootstrap: 3: autoconf: not found
./bootstrap: 5: automake: not found
+ rm -f config.cache src/config.cache


But whether I type tos-install-jni I got a msg that jni was installed as
follows:
[EMAIL PROTECTED]:/opt/tinyos-2.x/tools# tos-install-jni
Installing 32-bit Java JNI code in /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386
...
done.

But I still continue receiving the notification that getenv JNI library not
found
if a type: tos-locate-jre --jni I got the follow:
/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386

Seems that jni is been installed in a wrong place .. I don't know, I'really
lost about that, somebody could help me?!
Thank you very much!!!

-- 
Leah
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to