[Tinyos-2.0wg] Re: tinyos-2-0-0-beta2-candidate
Kristin Wright
kwright at archrock.com
Wed Jul 5 14:25:00 PDT 2006
On 7/5/06, David Gay <dgay42 at gmail.com> wrote:
> 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?
>
Hmmm. I do believe I cleaned before my successful run. I, too, recall
the makefile sequence working.
> 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?
Well, I've already built and uploaded both windows and linux as well
as untarred it to it's snapshot location, etc., so unless this is
critical I'd root for 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.
That's great. I actually run with my TOSDIR in that default location
-- probably why it has worked until now previously. Your fix is much
better.
-kw
> David
> _______________________________________________
> Tinyos-2.0wg mailing list
> Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
>
More information about the Tinyos-2.0wg
mailing list