[Tinyos-2.0wg] Re: tinyos-2-0-0-beta2-candidate
David Gay
dgay42 at gmail.com
Wed Jul 5 14:14:37 PDT 2006
On 7/5/06, Kristin Wright <kwright at archrock.com> wrote:
> Trying to make tinyos.jar in the devel branch, I found this bit in my
> environment:
> $ ncc -print-tosdir
> /home/degay/motes/2.x/tos
>
> Any ideas?
That wasn't the problem. The problem was that Serial.java was built
after stuff which uses it was compiled. On your 2nd attempt,
Serial.java already existed, so it worked (look for the invocation of
ncg in the first build.out posted). I thought somebody had changed the
Makefile to make this work, though?
The remaining error reports the lack of Makefile in the sim directory.
Phil tagged the java file there with the beta2 branch tag, but not the
Makefile. Phil did you want this in, or out?
For the tosdir thing: It sounds like the current cygwin tinyos-tools
rpm has my TOSDIR value in it, which probably means I built it... The
tinyos-tools configure should be run with TOSDIR=/opt/tinyos-2.x/tos,
so that the default tos dir is the default installation point. It
shouldn't matter much as long as we always set TOSDIR, though (which
we need to, to support relocatable tinyos rpms).
I've changed the tinyos-toosl.spec to have
TOSDIR=/opt/tinyos-2.x/tos ./configure --prefix=/usr
in the %build section, to do this.
David
More information about the Tinyos-2.0wg
mailing list