On Friday 29 September 2006 01:56 pm, Sean Walton wrote: > I have tried several different girations (and attempted to search any > archive of messages). Currently, I get: > > linux:/opt/tinyos-1.x/apps/Blink # make
This leads me to believe you installed tinyos into /opt/tinyos-1.x. That's it's normal place. > ../Makerules:26: /opt/tinyos1.x/tools/make/Makerules: No such file > or directory Yet this error says the directory is /opt/tinyos1.x. Note there's no "-". > My configuration is: > TOSROOT=/opt/tinyos1.x The source of the problem is the TOSROOT environment variable set incorrectly. MAKERULES, and a few other env vars, are typically built up from the contents of TOSROOT. I'm not sure where the env variables get set by default for tinyos-1.x. In 2.x it's /etc/profile.d/tinyos.sh (and tinyos.csh). Once you've found and fixed the definition, an easy way for the change to take effect is to log out and back in again. The quick way is to source the script with the settings: ". /etc/profile.d/tinyos.sh". Note that's a period, a space, then the pathname of the file. > linux:/opt/tinyos-1.x/apps/Blink # make PS - The prompt above suggests that you may be running as root. You're linux system will be far less susceptible to "operator error" if you do your work as a normal user. You can copy the blink app to your home directory and compile it there: $ cp -a /opt/tinyos-1.x/apps/Blink . $ cd Blink $ make Steve _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
