Are those two directories the right ones?
Is nescc really in: /Users/greg/Documents/Sources/nesc-1.2.4/bin/nescc
and your TOS in: /Users/greg/Documents/Sources/tinyos-1.x/tos/
Just for grins try either: which nescc or type nescc
and make sure it matches up...
You can also try executing various parts of that big command line
independently and see if anything works/breaks.
After that, we'll have to start guessing what the "couldn't excecute"
error code is...MacOS10 is supposed to be UNIX all the way down, so
there's gotta be a way to get it to cough-up the real error.
MS
Greg Turnipseed wrote:
Okay, I ran ncc –v, and here’s the output:
[Greg:~] greg% ncc -v
/Users/greg/Documents/Sources/nesc-1.2.4/bin/nescc -DPLATFORM_MICA
-fnesc-include=tos -topdir=/Users/greg/Documents/Sources/tinyos-1.x -v
-gcc=avr-gcc -mmcu=atmega103 -fnesc-target=avr -fnesc-no-debug
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash/AT45DB
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/types
-I/Users/greg/Documents/Sources/tinyos-1.x/tos/system
Couldn't execute nescc
Does this explain anything?
Thanks,
Greg Turnipseed
------------------------------------------------------------------------
*From: *Sarfraz Nawaz <[EMAIL PROTECTED]>
*Date: *Sat, 14 Apr 2007 21:39:38 +1000
*To: *Greg Turnipseed <[EMAIL PROTECTED]>
*Cc: *tinyos-help <[EMAIL PROTECTED]>
*Subject: *Re: [Tinyos-help] Complete Novice Question: Installing TinyOS
and Compiling on MacOSX 10.4 for MICA
First check the environment variables that they have been set up
correctly. Make sure nescc is in the path. And the third and final step
would be to add a -v switch to the ncc command. It will print out
debugging information about all of its actions.
On 4/13/07, *Greg Turnipseed* <[EMAIL PROTECTED]> wrote:
That would be a good logical next step, yes; however, I don't know
how to do that. The error message, "Couldn't execute nescc." is
rather cryptic, and looking at the source code for ncc is a foreign
language to me. Any ideas for starting points?
Thanks,
Greg Turnipseed
------------------------------------------------------------------------
*From: *Sarfraz Nawaz <[EMAIL PROTECTED]>
*Date: *Fri, 13 Apr 2007 10:46:50 +1000
*To: *Greg Turnipseed <[EMAIL PROTECTED]>
*Cc: *tinyos-help <[EMAIL PROTECTED]>
*Subject: *Re: [Tinyos-help] Complete Novice Question: Installing
TinyOS and Compiling on MacOSX 10.4 for MICA
So you should find out why does ncc complains about being not able
to run nescc when nescc can be run without any problems.
On 4/12/07, *Greg Turnipseed* <
[EMAIL PROTECTED]> wrote:
Okay, I ran nescc --version, and got:
[Greg:~] greg% nescc --version
nescc: 1.2.4
gcc: gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
So, I'm guessing that nescc works fine on its own.
Thanks,
Greg Turnipseed
------------------------------------------------------------------------
*From: *Sarfraz Nawaz <[EMAIL PROTECTED]>
*Date: *Thu, 12 Apr 2007 10:43:24 +1000
*To: *Greg Turnipseed <[EMAIL PROTECTED]>
*Cc: *tinyos-help <[EMAIL PROTECTED]>
*Subject: *Re: [Tinyos-help] Complete Novice Question:
Installing TinyOS and Compiling on MacOSX 10.4 for MICA
I would check if nescc can be run by issuing a command like
"nescc -version" . If it works then the next thing would be to
find out why ncc cannot execute nescc.
On 4/11/07, *Greg Turnipseed*
<[EMAIL PROTECTED]> wrote:
Yes, it's in the path, inside /usr/local/bin, which (I
checked) is in fact in $PATH.
------------------------------------------------------------------------
*From: *Sarfraz Nawaz <[EMAIL PROTECTED]>
*Date: *Wed, 11 Apr 2007 10:51:15 +1000
*To: *Greg Turnipseed <[EMAIL PROTECTED]>
*Cc: *<[EMAIL PROTECTED]>
*Subject: *Re: [Tinyos-help] Complete Novice Question:
Installing TinyOS and Compiling on MacOSX 10.4 for MICA
Is nescc in your path? Without nescc you won't be able to
compile tinyos applications.
On 4/9/07, *Greg Turnipseed* <
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
I have, as far as I can tell, nesc installed; however,
when I run the ncc command, it says "couldn't execute
nescc." I do have TinyOS installed, and the tools, as
well. What's next?
Thanks,
Greg Turnipseed
------------------------------------------------------------------------
*From: *Sarfraz Nawaz <[EMAIL PROTECTED]>
*Date: *Sun, 8 Apr 2007 18:38:10 +1000
*To: *Greg Turnipseed <[EMAIL PROTECTED]>
*Cc: *<[EMAIL PROTECTED]>
*Subject: *Re: [Tinyos-help] Complete Novice Question:
Installing TinyOS and Compiling on MacOSX 10.4 for MICA
You would need to install nesC (probably from source),
tinyos-tools and tinyos. Have a look at
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
<http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html>
On 4/8/07, *Greg Turnipseed*
<[EMAIL PROTECTED]> wrote:
Okay, I managed to get everything installed, as best
as I can tell. (At least I didn't get any long
errors, so I'm guessing I'm okay.) Now what? It
appears that I didn't install TinyOS, but some other
way to compile and write data to my MICAz? Do I
need to install TinyOS now, or is there a different
set of commands I need to use to write something to
the mote?
Thanks,
Greg Turnipseed
------------------------------------------------------------------------
*From: *Sarfraz Nawaz <[EMAIL PROTECTED]>
*Date: *Sat, 7 Apr 2007 20:10:58 +1000
*To: *Greg Turnipseed
<[EMAIL PROTECTED]>
*Cc: *<[EMAIL PROTECTED]>
*Subject: *Re: [Tinyos-help] Complete Novice
Question: Installing TinyOS and Compiling on MacOSX
10.4 for MICA
I know some people have successfully installed
TinyOS on Mac OS X by following instructions from
http://www.ee.ucla.edu/~ram/misc.html
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
<http://www.ee.ucla.edu/%7Eram/misc.html>
You may want to give it a try.
On 4/7/07, *Greg Turnipseed*
<[EMAIL PROTECTED]> wrote:
Hello, everyone. I'm a student at the
University of Texas at Dallas trying
to use ZigBee to create a network of wireless
wattmeters. After much delay,
I've finally received the modules (after three
weeks of waiting on
procurement to obtain them), and am ready to
go...with a minor hang-up. I
can't install TinyOS on my Mac, despite
following several tutorials on how
to install it. They seem all to be outdated or
geared towards a different
platform (i.e., Telos), and whatever the case
is, I can't even get TinyOS
compiled.
My knowledge of UNIX is such that I can move
around and change permissions,
add and remove folders and use a text editor,
but as far as knowing what's
actually going on inside a configure file, let
alone compiling, using make,
etc, so I don't know what to change to make it
work. Can anybody point me
to an up-to-date step-by-step set of
instructions that will let me install
this, with the specifications I need? Please
specify whether to use X11 or
Terminal when doing shell commands (I've heard
Terminal usually uses tcsh
and X11 uses bash, but what do I know).
Any help you guys can provide would be
incredibly appreciated. ZigBee looks
so useful once it's up and running, but I can't
even compile Blink.
Thanks,
Greg Turnipseed
Senior, University of Texas at Dallas, BSEE
_______________________________________________
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> > >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> > > >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> > >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> >
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
> > > > >
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help