Hi Daniele,

1.
I put all the TinyOS files into "/opt/tinyos-2.x". I saved the tinyos.sh 
file into this directory (so it is at "/opt/tinyos-2.x/tinyos.sh"). Then 
I modified the TOSROOT line to:

TOSROOT="/opt/tinyos-2.x"

Then I modified the ".profile" file in my users home directory 
("~/.profile") to check for tinyos.sh, and if it is found, to run it. To 
do this, I addd the following line to this ".profile" file:

test -r /opt/tinyos-2.x/tinyos.sh && source /opt/tinyos-2.x/tinyos.sh

2.
Did you run the "./Bootstrap" and the "./configure" commands? If so, was 
there any error? The "Makefile" file should be generated by the 
"./configure" command. Is there a file called "Makefile"? If the file 
exists, you seem to have a problem with the "make" command, otherwise 
something in the previous steps did not work.

Cheers,
Urs



Daniele Ricci wrote:
> Hi, if you use a mac you have certanly followed this guide:
> http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_(Tiger_%26_Leopard)#Installing_nesc
> 
> 1. I don't know what to do in this point after tinyos.sh download:
> 
> 
>     Downloading tinyos-2.x from cvs
> 
> You will also want to download tinyos.sh 
> <http://sing.stanford.edu/klueska/tinyos2_mac_install/tinyos.sh> for 
> setting up your tinyos environment variables correctly. You will need to 
> edit this file to have TOSROOT point to the absolute path of your 
> tinyos-2.x installation directory. You can put this file wherever you 
> please, but I have chosen to place it inside of my tinyos-2.x folder. I 
> have also added the line "source $TOSROOT/tinyos.sh" into the '.profile' 
> file in my home directory so that this script gets run any time I open a 
> new shell. Again, if you choose to do this, $TOSROOT will have to be 
> replaced with the absolute path to your tinyos-2.x tree.
> 
> 
> 2. 
> 
> 
>     Installing the tinyos-2.x toolset
> 
> (Note: Before proceeding further, make sure you have setup your 
> tinyos.sh script correctly and have run it in the current environment.)
> 
> Now, cd into your $TOSROOT directory and run the following commands:
> 
>         * cd tools
>         * NOTE: For Leapord users, you will have to open
>           the configure.ac file and remove the '-n' from line 109
>         * ./Bootstrap
>         * ./configure --prefix=/stow/repository/tinyos-2.x-tools
>         * make   // when I tipe make the compiler says the there isn't a
>           make file.
> 
> 
>     Thanks for the help!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to