You might need to remove brltty:
|
sudo apt-get remove brltty |
The steps for Debian/Ubuntu are:
|
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main |
|
# sudo apt-get update |
|
# sudo apt-get install msp430tools-base-tinyos msp430tools-binutils-tinyos msp430tools-gcc-tinyos msp430tools-libc-tinyos |
|
# sudo apt-get install avr-binutils-tinyos avr-gcc-tinyos avr-libc-tinyos |
|
# sudo apt-get install nesC or download it from http://sourceforge.net/projects/nescc - ~/local/src/nesc-1.3.0$ ./configure --prefix=$HOME/local/bin ~/local/src/nesc-1.3.0$ make ~/local/src/nesc-1.3.0$ make install
|
|
# sudo apt-get install git-core |
|
# sudo apt-get install curl |
|
# sudo apt-get install automake |
|
# sudo apt-get install libc6-dev g++ gcc |
|
~/local/src$ git clone http://hinrg.cs.jhu.edu/git/tinyos-2.x.git ~/local/src$ cd tinyos-2.x/tools ~/local/src/tinyos-2.x/tools$ ./Bootstrap ~/local/src/tinyos-2.x/tools$ ./configure --prefix=$HOME/local ~/local/src/tinyos-2.x/tools$ make all (a bunch of ENTERs will be required) ~/local/src/tinyos-2.x/tools$ make install (some more ENTERs will be required) |
|
export PATH=$HOME/local/bin:/opt/msp430/bin:$PATH export TOSROOT=$HOME/local/src/tinyos-2.x export TOSDIR=$TOSROOT/tos export MAKERULES=$TOSROOT/support/make/Makerules export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. export PYTHONPATH=$TOSROOT/support/sdk/python:$HOME/local/lib/tinyos:$PYTHONPATH export PATH=$HOME/local/src/tinyos-2.x/support/sdk/c:$PATH |