On Jul 11, 2006, at 7:52 PM, Demin Wang wrote:

Hi all,
I have the same problem when I use the nesC rpm provided by the instruction.
I also tried to install nesC compiler from the source code.
I use rpm --erase --nodeps to remove the nesC

But where should I extract the file
and how to set the path to make it compatable with tinyos2?

David Gay is the best authority on this but...

More recent versions of nesC split apart the nesC compiler (e.g., nesc1) from the scripts that do all kinds of tinyos-specific things (platform files, etc).

What you want to do is this:

1) uninstall the tools RPM
2) download the nesC code anywhere
3) compile and install nesC
4) install the tools RPM

Hopefully, the tools RPM will find the right version of nesc1. The issue is that the nesc RPM puts it in /usr/bin while compiling from source will put it in /usr/local/bin. That's an easy way to find out if your ncc is pointing at the wrong one. (I ran into this when I did my Cygwin install.)

It looks like the nesC 1.2.7a cygwin RPM has issues; I'll bring it up at the Core Working Group meeting tomorrow and hopefully we'll have a solution soon.

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

Reply via email to