Hi!

On Mon, 30 Nov 2009, Xiaohui Liu wrote:

> Hi all,
>
> I'm trying to install TinyOS on Ubuntu 9.10 following Two-step install on
> your host OS with Debian
> packages<http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Two-step_install_on_your_host_OS_with_Debian_packages>.
> After substitute <distribution> as karmic and launch sudo
> apt-get update, I have the following error:
> W: Failed to fetch
> http://tinyos.stanford.edu/tinyos/dists/ubuntu/dists/karmic/main/binary-i386/Packages.gz
> 404  Not Found
>
> Then I change <distribution> to hardy, all went well till I execute the
> following command
> xiao...@lab-desktop:~$ sudo apt-get install tinyos-2.1.0
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  tinyos-2.1.0: Depends: tinyos-required-all but it is not going to be
> installed or
>                         tinyos-required-msp430 but it is not going to be
> installed or
>                         tinyos-required-avr but it is not going to be
> installed
> E: Broken packages
> xiao...@lab-desktop:~$ sudo apt-get install tinyos-required-msp430
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  tinyos-required-msp430: Depends: nesc but it is not going to be installed
>                          Depends: tinyos-tools but it is not going to be 
> installed
>                          Depends: deputy-tinyos but it is not going to be 
> installed
> E: Broken packages
>
>
> Then I tried to install nesc, but it keeps complaining the same dependencies
> problems. Is there anyone out there who has installed TinyOS on Ubuntu 9.10
> using repository?

Are using a 32-bit or a 64-bit system? If you use a 32-bit you can use the 
following deb package for nesc should work fine:
        http://cs.jhu.edu/~razvanm/wsn/debian/nesc-1.3.1.deb

You should be able to install the MSP430/AVR toolchains:
        apt-get install msp430-tinyos-base
        apt-get install avr-tinyos-base


You can then get the tinyos from CVS (or GIT) and compile by hand the 
stuff from the tool directory. :-)

--
Razvan ME
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to