Well you have what looks like a good PATH, and I just noticed you
complained that "echo $path" is empty, which is right because it's
case sensitive...only PATH is of interest to cygwin.

If I remember correctly tos-check complained about a missing CLASSPATH
which is a Java variable, and in fact you don't seem to have one.
I stand by my suggestion for setting that. You can add it to your
$HOME/.bashrc file (or .bash_profile ... I forget which).
Or put it in the MyComputer...EnvironmentVariables panel.

Have you tried to do any TOS compiles? Are there other problems?

MS

mejda chouaieb wrote:

"printenv > env.txt" gives this :
HOMEPATH=\Documents and Settings\mejda
MANPATH=/usr/local/man:/usr/share/man:/usr/man:
APPDATA=C:\Documents and Settings\mejda\Application Data
HOSTNAME=missy_18
MSP430TOOLS=/opt/msp430
TERM=cygwin
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 8, GenuineIntel
WINDIR=C:\WINDOWS
OLDPWD=/cygdrive/c/cygwin/opt/tinyos-2.x
USERDOMAIN=MISSY_18
OS=Windows_NT
ALLUSERSPROFILE=C:\Documents and Settings\All Users
USER=mejda
!::=::\
LD_LIBRARY_PATH=:/opt/msp430/lib
TEMP=/cygdrive/c/DOCUME~1/mejda/LOCALS~1/Temp
COMMONPROGRAMFILES=C:\Program Files\Fichiers communs
USERNAME=mejda
PROCESSOR_LEVEL=6
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/opt/msp430/bin
MAN_PATH=:/opt/msp430/man
PWD=/cygdrive/c/cygwin/opt/tinyos-2.x/tests
SYSTEMDRIVE=C:
USERPROFILE=C:\Documents and Settings\mejda
CLIENTNAME=Console
PS1=\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$
LOGONSERVER=\\MISSY_18
PROCESSOR_ARCHITECTURE=x86
!C:=C:\cygwin\bin
SHLVL=1
HOME=/home/mejda
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
HOMEDRIVE=C:
PROMPT=$P$G
COMSPEC=C:\WINDOWS\system32\cmd.exe
PYTHONPATH=:/opt/msp430/lib/python2.3/site-packages/
TMP=/cygdrive/c/DOCUME~1/mejda/LOCALS~1/Temp
SYSTEMROOT=C:\WINDOWS
PRINTER=
CVS_RSH=/bin/ssh
PROCESSOR_REVISION=0f08
MAKE_MODE=unix
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
PROGRAMFILES=C:\Program Files
NUMBER_OF_PROCESSORS=1
SESSIONNAME=Console
COMPUTERNAME=MISSY_18
_=/usr/bin/printenv

and I want to know if something is missing in these variables ?!
I have to port tinyos to an other plateform so i have to understand tinyos2.x and especially telos fonctionalites verry well. so if someone can give me some links or doc it will be verry nice, because i'm new in tinyos world ;-)
Thank you all
----- Message d'origine ----
De : Michael Schippling <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : [email protected]
Envoyé le : Vendredi, 3 Août 2007, 20h01mn 30s
Objet : Re: [Tinyos-help] Environment Variables (path is empty in tinyos) !!!!

Do what somebody just someone else to do...

    printenv > env.txt

and send us the env.txt file (it should be plain-text
and not too long, so just copy and paste it into the email).

To set a PATH variable do something like this:

export PATH="/cygdrive/c/JAVA/j2sdk1.4.2_04/bin:\
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:.:$PATH:\
/cygdrive/c/PROGRAMS/BIN/WIN32APP:/cygdrive/c/PROGRAMS/BIN"

or CLASSPATH, which is what toscheck is complaining about:

export CLASSPATH=".;$TOSROOT/tools/java/jars/tinytools.jar"

You'll need to changed the actual paths in those variables
to match your own system. Do "man bash" to see a description
of just about everything you can do in the command shell, or
try googling CLASSPATH, etc for details.

MS

mejda chouaieb wrote:
 >
 > Hello, all
 >  
 > Now I am studying Lesson 1 of TinyOS 2.x tutorial.
 > I have two tmote sky(s) (Telosb) and I also have a problem.
 > I have installed tinyos in windows and when I type tos-check-env I have
 > these warnings ( I joned a printscreen). the path variable is empty when
 > I type echo $path there is nothing.
 > can someone help me please? thank you in advance.
> >
 >
 > ------------------------------------------------------------------------
 > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
 > <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
 >
 >
 > ------------------------------------------------------------------------
 >
 > _______________________________________________
 > Tinyos-help mailing list
 > [email protected]
 > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


------------------------------------------------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail


------------------------------------------------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail


------------------------------------------------------------------------

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

Reply via email to