This might reduce some of the errors you have:
echo "TINYOS 2.x"#TINYOS 2.x#Defines the TOSROOT variable necessary for the
rest of the variablesexport TOSROOT=/opt/tinyos-2.x#Defines TOSDIRexport
TOSDIR=$TOSROOT/tos#Defines the paths to various system
toolsPATH=/cygdrive/c/Programmi/Java/jdk1.6.0_06/bin:/opt/jflashmm/:/bin:/opt/tinyos-2.x/tools/tinyos/misc:/cygdrive/c/Programmi/Graphviz/bin:${PATH}#Defines
the classpathexport
CLASSPATH="c:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;."export
MAKERULES=$TOSROOT/support/make/Makerules
Place it in ".bash_profile".
I'm not sure if the Java comment is valid, since those warning msgs are for
older versions (?)
Supriyo
Date: Wed, 28 Jul 2010 06:24:11 -0700
From: [email protected]
To: [email protected]
Subject: [Tinyos-help] tinyos 2.x environment in cygwin
hello Everyone,
I am still unable to fix my tinyos environment in cygwin..
Command i used to fix it
-------------------------------------------------
export TOSROOT=/opt/tinyos-2.x
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
export CLASSPATH="$CLASSPATH;."
export MAKERULES=$TOSROOT/support/make/Makerules
export TOSDIR=$TOSROOT/tos
type java >/dev/null 2>/dev/null || PATH=`/usr/bin/tos-locate-jre --java`:$PATH
type javac >/dev/null 2>/dev/null || PATH=`/usr/bin/tos-locate-jre
--javac`:$PATH
echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH
------------------------------------------------
I put these in .bash_profile once, but no success then in .bashrc but still get
the error like this classpath
----------------------------------------------
--> WARNING: CLASSPATH may not include '.' (that is, the symbol for the current
working directory). Please add '.' to your CLASSPATH or you may experience conf
iguration problems.
--> WARNING: The JAVA version found first by tos-check-env may not be version 1.
4 or version 1.5one of which is required by TOS. Please ensure that the located
Java version is 1.4 or 1.5
Depending on your PATH environment variable, there is often another version of
java.exe in c:\windows\system32 that is "seen" first. Check that this is version
1.4 or 1.5 or reconfigure your PATH environment variable if this is the case.
--> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10. Plea
se update your graphviz version if you'd like to use the nescdoc documentation g
enerator.
------------------------------------------------------------
I don't understand well how to fix my environment
Anyone who is using tinyos with cygwin and fixed it .. plese share the solution
Thanks
HS
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help