[Tinyos-help] problems when installed tinyos 2.x in ubuntu 7.10

Wouter Horré wouter.horre at cs.kuleuven.be
Mon Mar 10 01:01:18 PDT 2008


On Saturday 08 March 2008 12:13:05 you wrote:
> export TOSROOT="/opt/tinyos-2.x"
> export TOSDIR="/opt/tinyos-2.x/tos"
> export
> CLASSPATH="/opt/tinyos-2.x/support/sdk/java/tinyos.jar"
> export
> MAKERULES="/opt/tinyos-2.x/support/make/Makerules"

Have you placed these commands in $HOME/.bashrc? Did you reload your 
environment afterwards (source ~/.bashrc or start a new terminal)?

Also, make sure each command is on one line (export and CLASSPATH should be on 
the same line, same for MAKERULES).

> tos-check-env completed with errors:
>
> --> WARNING: CLASSPATH environment variable doesn't
> exist.
> Your classpath should contain  and a pointer
> to the cwd (a dot)

This shouldn't happen if you set the classpath variable correctly.

> --> WARNING: The graphviz (dot) version found by
> tos-check-env is not 1.10. Please update your graphviz
> version if you'd like to use the nescdoc documentation
> generator."

You can ignore this warning. You have a newer version of graphviz installed 
(2.16.1).

> and implement the command  "printenv MAKERULES ",
> nothing happened.

This should also give the correct result if you got your environment right. 
So, it seems to be all related to my first remark.

regards
Wouter

-- 
http://www.cs.kuleuven.be/~wouterh/


More information about the Tinyos-help mailing list