Hi all,

Many thanks for your suggestions. Finally, I get it done. For those who
experience the same problem, the following links must be useful for setting
environment variables:

http://www.tinyos.net/faq.html#SEC-45

OR

http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-August/027181.html

http://5secondfuse.com/tinyos/install.html

Ittipong


On 09/11/2007, Michael Schippling <[EMAIL PROTECTED]> wrote:
>
> You need to put those export commands in a startup script file
> so they get run everytime you crank up a bash shell.
> The most common one is: $HOME/.bashrc
> where HOME is usually: /opt/home/[username]
>
> MS
>
> Ittipong Khemapech wrote:
> > Hi,
> >
> > Thank you for your reply. I set MAKERULES and it looks good. However,
> > the 'printenv MAKERULES' returns the
> > '/opt/tinyos-1.x/tools/make/Makerules' every time I restart cygwin.
> >
> > I have no idea how to make it right.
> >
> > Thank you in advance for your help.
> >
> > Ittipong
> >
> > PS: I did this in cygwin:
> >
> > $export TOSROOT=/opt/tinyos-2.x
> > $export TOSDIR=$TOSROOT/tos
> > $export CLASSPATH="C:\cygwin\opt\tinyos- 2.x\support\sdk\java\tinyos.jar
> "
> > $export MAKERULES=$TOSROOT/support/make/Makerules
> > $export PATH=/opt/msp430/bin:$PATH
> >
> >
> > On 09/11/2007, * Janos Sallai* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     >I'm trying to install TinyOS 2.0.2 on Windows. I have followed
> those
> >     instructions on
> >     http://www.tinyos.net/tinyos-2.x/doc/html/install->tinyos.html
> >     <http://www.tinyos.net/tinyos-2.x/doc/html/install-%3etinyos.html>.
> >
> >     >Then, I checked if I had the TinyOS build system enabled. I typed:
> >     >$ printenv MAKERULES
> >
> >     >I got:
> >     >
> >     >/opt/tinyos-1.x/tools/make/Makerules   (instead of
> >     /opt/tinyos-2.x/support/make/MAKERULES)
> >
> >     >I have no clue what I did wrong or overlooked. Is it about setting
> >     the environment variables?
> >
> >     Under step 5, the instructions say that you need to set MAKERULES to
> >     $TOSROOT/support/make/Makerules. Apparently, you missed that step.
> >
> >     Janos
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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

Reply via email to