Hi!
On Sat, 3 Oct 2009, Andres Vahter wrote:
> Hi,
>
> I tried to compile TinyOS tools, but it seems like I don't have enough
> command line skills.
> $ ./Bootstrap
> $ -bash: ./Bootstrap: Permission denied
>
> Then I tried:
> $ sudo ./Bootstrap
> $ sudo: ./Bootstrap: command not found
>
> $ ls -l
> -rw-r--r--+ 1 Andres admin 609 24 sept 09:43 Bootstrap
> -rw-r--r--+ 1 Andres admin 56 24 sept 09:43 Makefile.am
> -rw-r--r--+ 1 Andres admin 425 24 sept 09:43 README
> -rw-r--r--+ 1 Andres admin 727 24 sept 09:43 build.xml
> -rw-r--r--+ 1 Andres admin 3510 24 sept 09:43 configure.ac
> drwxr-xr-x+ 7 Andres admin 238 24 sept 09:43 platforms
> drwxr-xr-x+ 14 Andres admin 476 3 okt 12:43 release
> drwxr-xr-x+ 10 Andres admin 340 3 okt 12:42 tinyos
>
> Is there something wrong with rights?
>
Mine are:
-rwxr-xr-x 1 tinyos staff 609 Apr 11 22:47 Bootstrap
-rw-r--r-- 1 tinyos staff 56 Apr 11 22:47 Makefile.am
-rw-r--r-- 1 tinyos staff 425 Apr 11 22:47 README
-rw-r--r-- 1 tinyos staff 727 Apr 11 22:47 build.xml
-rw-r--r-- 1 tinyos staff 3510 Apr 11 22:47 configure.ac
drwxr-xr-x 7 tinyos staff 238 Apr 11 22:52 platforms
drwxr-xr-x 13 tinyos staff 442 Apr 11 22:47 release
drwxr-xr-x 9 tinyos staff 306 Apr 11 22:52 tinyos
You don't seem to have the execute flag set on the ./Bootstrap. How did you
get the sources? :D You can make the script executable with this command:
chmod +x Bootstrap
To make sure everything is fine it might be a good idea to do a fresh
install from CVS or GIT. :D
--
Razvan ME
> Andres Vahter
>
>
> On 24.09.2009, at 10:26, Razvan Musaloiu-E. wrote:
>>
>> ncc and the tos-* programs are part of the tinyos tools. You should be able
>> to compile them this way:
>>
>> $ cd $TOSROOT/tools
>> $ ./Bootstrap
>> $ ./configure --prefix=$HOME/local
>> $ make
>> $ make install
>>
>> The binaries will end up in $HOME/local/bin so you'll have to add that to
>> your path.
>>
>> All the best!
>> Razvan ME
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help