Hi

I've managed to install tinyos2.x on Mac Os X Leopard following the
great tutorial available at
http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n&pli=1#Installing_Stow

Nonetheless I've found two mistakes the first when compiling the
tinyos-2.x tools and the second while generating javadoc of the sdk.

For the first mistake(installing the tinyos-2.x tools) I've had the
following message ;

Making all in tinyos
Making all in java
Making all in env
make[3]: *** No rule to make target `-n', needed by `all-am'.  Stop.


It's due to the fact that in Makefile I had GETENVLIB=-n libenv.jnilib
I give you extracts from differents files.

configure.ac (tools/configure.ac) :

107 function jnimap {
108   for v in $JNIVERSIONS; do
109     echo -n "${JNIPREFIX}$1$v$JNISUFFIX "
110   done
111 }

config.status (tools/config.status):

 206 ECHO_C= ECHO_N= ECHO_T=
 207 case `echo -n x` in
 208 -n*)
 209   case `echo 'x\c'` in
 210   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
 211   *)   ECHO_C='\c';;
 212   esac;;
 213 *)
 214   ECHO_N='-n';;
 215 esac

Makefile (tools/Makefile) :
 88 ECHO_C = \c
 89 ECHO_N =
 90 ECHO_T =





And the second error is in support/sdk/java/Makefile at the last line.

 20     javadoc -d $(JAVADOCDIR) `find -name *.java`

I had to replace this line by

 20     javadoc -d $(JAVADOCDIR) `find . -name *.java`




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

Reply via email to