Hello to all 
a week ago i installed TinyOs in Ubuntu 9.04 and it seems to be working fine :)
i followed the instructions in the TinyOs wiki but i found this -> 
http://mythicalcomputer.blogspot.com/2008/08/installation-of-tinyos-in-ubuntu.html
 
and it becme very helpful, go take a look ! 

From: [email protected]
To: [email protected]
Date: Tue, 8 Sep 2009 09:36:38 +0300
CC: [email protected]
Subject: Re: [Tinyos-help] classpath and makerules error


Hello

Also, I tried the simplest TinyOS program (from 
http://docs.tinyos.net/index.php/The_simplest_TinyOS_program), when I execute 
"mica micaz" I get the following error: make: *** No rule to make target 
`micaz'.  Stop.I installed it yesterday to ubuntu using this tutorial - make 
worked fine: 
http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Two-step_install_on_your_host_OS_with_Debian_packagesDo
 you added "source /opt/tinyos.sh"  to /home/<user>/.bashrc? If not then 
"tinyos.sh" is never executed. 

/opt/tinyos-2.1.0/tinyos.sh
 #! /usr/bin/env bash # Here we setup the environment # variables needed by the 
tinyos  # make system 
 echo "Setting up for TinyOS 2.1.0" export TOSROOT= export TOSDIR= export 
MAKERULES= 
 TOSROOT="/opt/tinyos-2.1.0" TOSDIR="$TOSROOT/tos" 
CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java 
MAKERULES="$TOSROOT/support/make/Makerules" 
 export TOSROOT export TOSDIR export CLASSPATH export MAKERULES
I had also problems with classpath. So I added these dirs to 
classpath:CLASSPATH=$TOSROOT/support/sdk/java/:$TOSROOT/support/sdk/java/tinyos.jar:.:$CLASSPATH

Andres Vahter

_________________________________________________________________
Acesse o Portal MSN do seu celular e se mantenha sempre atualizado. Clique aqui.
http://www.windowslive.com.br/celular/home.asp?utm_source=MSN_Hotmail&utm_medium=Tagline&utm_campaign=MobileServices200908
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to