You didn't find it, because it is related to cygwin not to bash. The variable should be set up in windows env vars. I've used this to set +x on makefiles, but I have not checked that with TOS tools.
http://www.cygwin.com/cygwin-ug-net/ntsec.html 2008/12/18 Michael Schippling <[email protected]>: > I'm a little lost in the thread here but... > > For the original missing Makerules problem: > Go see if you actually have the specified file in the specified place > and that it is readable. If you can't find it then you probably need > to reinstall your TOS tools. Search this list for "Makerules". > > For the second USERx problem: > You have probably installed your system with only user access permissions. > As far as I can tell there is some gray-magic on Windows so I always try > both of these techniques -- First, go to the top of the TOS tree in the > file manager and right-click on properties. There you should be able to > set access permissions for everyone, all the way down, and make sure > read-only is NOT set. Second, go to the top of the TOS tree in a bash > shell window and type: > chmod -R a+rw * > Which should do the same thing, but often seems to not... > > For the top level nontsec comment: > Never heard of it, the bash man page doesn't contain it, and the first > few pages of google results are all email discussions of whether to use > it or not...so I don't know...It sounds like it might be meant to do > what the permissions shuffle stuff above should do, so it might work. > But it probably has little to do with a missing Makerules. > > MS > > Wojciech Bober wrote: >> >> Hi, >> >> I have not checked this, but try to set following env. variable >> >> set CYGWIN=nontsec >> >> Regards, >> Wojtek >> >> -------------------------------------------------- >> From: "João Carlos Giacomin" <[email protected]> >> Sent: Tuesday, December 16, 2008 5:32 PM >> To: <[email protected]> >> Subject: Re: [Tinyos-help] Tossim !! + make pc >> >>> Islam, >>> >>> I had some problems like this, when I tried to compile applications in >>> Cygwin. I could make TinyOS work on Cygwin only when I logged in Windows XP >>> as the same user that installed TinyOS. >>> >>> It TinyOS was installed by the user USR1, only USR1 had permission to >>> compile applications. But USR1 shares "apps" directory, another user, like >>> USR2, can create another subdirectory there and develop his application >>> there. >>> >>> Example: USR2 create a subdirectory "/apps/AppUSR2" and copy Blink.nc >>> there. Then USR2 can copile Blink.nc. >>> >>> If somebody kowns how to fix this problem, please tell me. >>> >>> ***************** >>> João Giacomin >>> Prof-DCC-UFLA >>> ***************** >>> >>> ---------- Original Message ----------- >>> From: Islam Mohamad Ameen Al Jarrah <[email protected]> >>> To: [email protected] >>> Sent: Wed, 10 Dec 2008 23:29:15 +0400 >>> Subject: [Tinyos-help] Tossim !! >>> >>>> Dear Sir, >>>> >>>> I am trying to run tossim simulator but unfortunately I have a problem >>>> using the command make pc in cygwin !! the error looks as follows : >>>> >>>> $ make pc >>>> ../Makerules:26: /opt/tinyos-1.x/tools/make/Makerules: No such file or >>>> directory >>>> >>>> make: *** No rule to make target `/opt/tinyos-1.x/tools/make/Makerules'. >>>> Stop. >>>> How can I fix this problem in order to use tossim? another question : Is >>>> there any documentations that could help me to run calamri code on MICA2 >>>> motes?? >>>> >>>> Regards, >>>> Islam >>> >>> ------- End of Original Message ------- >>> >>> >>> >> >> >> >>> _______________________________________________ >>> 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 > > -- > Platform: WinXP/Cygwin > TinyOS version: 1.x, Boomerang > Programmer: MIB510 > Device(s): Mica2, MicaZ, Tmote > Sensor board: homebrew > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
