Hi Vinodh,
Your environment settings seem strange to me and I can well imagine
that it fails so...
I would...
1. Remove Windows-style paths in TinyOS specific env variables. These
are probably messing up cygwin
2. Remove your NESCPATH env variable. This one is only useful in some
special circumstances and it is not your case.
3. Not define Windows paths (Graphviz, Java, ...) in .bashrc but
natively on your Windows host machine.
All in one, I would do as follows in my .bashrc:
---
export TOSROOT=/opt//tinyos-2.x
export TOSDIR=$TOSROOT/tos
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
export CLASSPATH="$CLASSPATH;."
export MAKERULES=$TOSROOT/support/make/Makerules
export PATH=/opt/msp430/bin:/opt/jflashmm:$TOSROOT/tools_bin/bin:$PATH
---
Your Windows paths
(%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:/Program
Files/Graphviz 2.28/bin;C:/cygwin/bin;C:/Program
Files/Java/jdk1.5.0/bin) should be set by your Windows environment and
not repeated in Cygwin. When you start Cygwin, they will be
automatically transformed in Cygwin paths and added to your PATH
variable (due to the $PATH at the end).
Hope this is clear enough and will help you.
Regards
Romain
On Fri, May 27, 2011 at 1:56 PM, vinod kumar <[email protected]> wrote:
> When I go to:
> c:/cygwin/opt/tinyos-2.x/support/sdk/java
> and type
> make
> .....................
> I am getting some processing shown and when it runs some ".java" file,it is
> giving an error
> make:javac not found.
> My env variables are:
> export TOSROOT="c:/cygwin/opt/tinyos-2.x"
> export TOSDIR="c:/cygwin/opt/tinyos-2.x/tos"
> export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
> export CLASSPATH="$CLASSPATH;."
> export MAKERULES="c:/cygwin/opt/tinyos-2.x/support/make/Makerules"
> export NESCPATH="c:/cygwin/opt/tinyos-2.x/tos/chips;."
> export PYTHONPATH="c:/cygwin/opt/tinyos-2.x/support/sdk/python"
> export
> PATH="%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:/Program
> Files/Graphviz 2.28/bin;C:/cygwin/bin;C:/Program
> Files/Java/jdk1.5.0/bin;/opt/msp430/bin:/opt/jflashmm:$PATH;"
> -----------------------------------------------------------
> Thanks,
> Vinodh.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help