Dear All
I have installed cygwin on windows XP platform. I have used the manual
installation procedure for windows with RPM as outlined in "installing tiny os
2.1". I have encountered several problems to install Tinyos2 as follows and I
would appreciate it if someone could help me to resolve these issues:
1. Firstly there is no JDK 1.6. Instaed I used Java SE 6 update 13. I am not
sure if that is okay.
Cygwin installation was pretty straightforward. I had no problem.
2. I tried to install native compilers using RPMs. I tried to install all
native compilers (AVR, PXA (iMote2), TI MSP430) on my machine as was suggested
on the installation webpage. It looks like that the AVR gcc has some conflict
with that of the PXA (iMote2). Therefore when AVR gcc is installed, PXA gcc
can't be installed and vice versa.
3. The link that is provided under PXA(imote2) for "jflashmm.tgz" takes me to
"jflashmm.gz" and even worse when I try to "untar" it using "tar xzf
jflashmm.gz" (after renaming .tgz to .gz ofcourse) the system replies that it
is not in gzip format. So I couldn't unzip it and to later leave it in the path
suggested by installation document.
4. I read the recommended unix tutorials on using path and class path however I
don't know where to leave it. Is it in .bashrc? If so where. There are so many
copies of .bashrc, one in my hoe directory, another one in /etc/.. and I don't
know how many more.
5. SHould I use cygpat to export CLASSPATH only or I should use it for other
variables too such as MAKERULES too? I tried using "cypath -w" option with
MAKERULES but when I used "printenv" command, it doesnt give me the path
"C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.", rather it gives me
"cygpath -w $TOSROOT/support/sdk/java/tinyos.jarcygpath -w
$TOSROOT/support/sdk/java/tinyos.jar". In other words the words "cygpath -w"
are present in the path is that ok? I tried to identify MAKERULES without the
use of "cypath -w" and "printenv" command athe command prompt issues
" opt/tinyos-2.x/support/make/Makerules". Is it okay. Should I use cygpath for
both?
export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
export CLASSPATH="$CLASSPATH;."
export MAKERULES='/opt/tinyos-2.x/support/sdk/java/tinyos.jar`
I have placed both of them in .bashrc in my home directory? re these correct?I
have also haven't identified $TOSROOT and $TOSDIR. I just replaced the content
of TOSROOT in the path (CLASSPATH and MAKERULES). Are they necessary? What are
the shell commands I have to use? 6. I get several warnings from
"tos-check-env" as follows:"....Java version maynot be version 1.4 or 1.5..."
I am confused! the document asks for JDK 1.6 and besides even JDK1.6 doesnt
exist and the only updates available is java SE update 13....So I don't know
how to deal with that.The tos-check-env also issues a warning about no dot in
the path. Looks like I need this for graphviz only. In case I dont need
graphviz can I still work with the installation without the installation of
graphviz? Is this dot important?7. I dont have any motes and I would like to
work with Tossim.When I type "make micaz sim" at the prompt (found at
/opt/tinyos-2.x/apps/blink directory)it fails to compile
and the error 2 is issued. It looks like that it can't find the directory
(/usr/src/rpm/BUILD/tinyos-tools-1.3.0/tools) doesnt exist.I have the directory
/usr/src/rpm/BUILD, but the rest is missing and thedirectory /BUILD is empty.
Is there anything I should have installed ar gone wrong?Please help me. I am
stuck and I get get any further.Regardshf
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help