[Tinyos-help] Error making TinyOS Java library on Mac OS X

Urs Hunkeler uhu at gmx.ch
Mon Jan 26 23:48:35 PST 2009


Hi,

When installing TinyOS 2.x on Mac OS X (10.5.6), I get errors trying to 
make the Java libraries in $TOSROOT/support/sdk/java. After some 
debugging it looks like GNU make doesn't know about the environment 
variables, such as CLASSPATH and TOSDIR. Any ideas why this could happen?

My environment variables are set in tinyos.sh, which gets called from 
.profile. The variables are correctly set in the shell:

$ echo $CLASSPATH
.::/opt/tinyos-2.x/support/sdk/java
$ echo $TOSROOT
/opt/tinyos-2.x
$ echo $TOSDIR
/opt/tinyos-2.x/tos

I use bash and GNU Make 3.81.

Cheers,
Urs


More information about the Tinyos-help mailing list