Hello,

Try 

"sudo apt-get install automake"

Best regards


UnderlĂ©a Cabreira CorrĂȘa wrote:
> 
> Hello all,
> 
> I'm using linux Ubuntu 8.3 and I'm trying run TestSerial app but it is not
> possible because I got the follow notification :
> 
> l...@lea-laptop:/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 anything work.
> 
> For example:
> 1) when a try type make or make install on
> opt/tinyos-2.x/tools/tinyos/java
> I got the follow:
> r...@lea-laptop:/opt/tinyos-2.x/tools/tinyos/java# make install
> make: *** No rule to make target `install'.  Stop.
> r...@lea-laptop:/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:
> r...@lea-laptop:/opt/tinyos-2.x/tools# ls
> Bootstrap  configure.ac  Makefile.am  README   tinyos
> build.xml  CVS           platforms    release
> r...@underlea-laptop:/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:
> r...@lea-laptop:/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,
> 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
> 

-- 
View this message in context: 
http://www.nabble.com/Help-with-tos-install-jni-tp19422477p23248399.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.


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

Reply via email to