The "sdk" thing is specific to T2, in T1 it should be something like
.../tinyos.../tools/java
And using java 1.5 is fine
So what is your actual problem?
Lalit Shah wrote:
Hi,
I have check that document and set the environment variables TOSROOT AND
TOSDIR, but for the CLASSPATH variable I don't find the folder sdk and
support in the /opt/tinyos-1.x directory.
I have checked weather TinyOs is installed properly on the system or not
with the help of the toscheck script and I get the message toscheck
completed with errors.
The output.txt file attached with this mail shows the details of the
toscheck output.
I have used the version 1.5 of JDK instead of 1.4 weather it would cause any
problem or not.
Regards,
Lalit Shah
-----Original Message-----
From: Michael Schippling [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 12:46 AM
To: Lalit Shah
Cc: [email protected]; [EMAIL PROTECTED]
Subject: Re: [TinyOs-help] problem in installation of TinyOs 1.1
I couldn't find the equiv T1 page, but this is basically the same
from T2: http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
Look for TOSROOT.
You install should have put script files in /etc/profile.d as well.
MS
Lalit Shah wrote:
Hi,
Thanks for your reply.
It works with the --nodeps option.
Do I need to set any environment variable for starting the TinyOs?
Regards,
Lalit Shah
-----Original Message-----
From: Michael Schippling [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 1:58 AM
To: Lalit Shah
Cc: [email protected]; [EMAIL PROTECTED]
Subject: Re: [Tinyos-help] problem in installation of TinyOs 1.1
First, none of the "missing" components have anything to do with Java...
Java can live most anywhere on your system independent of TOS.
You can check to see if /bin/tcsh and the like actually exist. If they
do then you might just try using "--nodeps" on the RPM install. But
probably you missed some part of the earlier install and they are really
not there.
You said you "successfully installed all the rpm packages"...do you mean
all those prior to the tinyos rpm? You can verify this with "rpm -qa".
IF anything looks funny try un-installing and re-doing it all.
And I would start with a newer TOS version like 1.1.10, which I think
has a full install package as well.
You also don't say what system you are working on, Widows, Linux, etc?
IF on Windows, most of the errors might indicate not getting cygwin right.
MS
Lalit Shah wrote:
Hi,
I have started installing TinyOs 1.1; I have followed all the steps
required for installing TinyOs 1.1.
I have successfully installed all the rpm packages without nay warning
but In the end when I started installing RPM package
tinyos-1.1.0-1.noarch.rpm I have got following error.
Error: Failed dependencies:
/bin/tcsh is needed by tinyos-1.1.0-1
/usr/bin/perl is needed by tinyos-1.1.0-1
Libc.so.6 is needed by tinyos-1.1.0-1
libc.so.6 (GLIBC_2.0) is needed by tinyos-1.1.0-1
libc.so.6 (GLIBC_2.1) is needed by tinyos-1.1.0-1
libc.so.6 (GLIBC_2.1.3) is needed by tinyos-1.1.0-1
perl (strict) is needed by tinyos-1.1.0-1
So please suggest me how to overcome the above problem.
Is it necessary that Java and TinyOs tools should be in same folder.
* Lalit Shah *
* Software Engineer *
-----------------------------------------------------------
System Level Solutions India Pvt. Ltd.
Plot# 32, Zone - D/4,
Phase - 1, GIDC Estate,
V.U.Nagar - 388121
Gujarat , India
------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
------------------------------------------------------------------------
Path:
/usr/local/bin
/usr/bin
/bin
/cygdrive/c/WINDOWS/system32
/cygdrive/c/WINDOWS
/cygdrive/c/WINDOWS/System32/Wbem
/cygdrive/d/tools/altera/quartus60/bin
/cygdrive/d/tools/altera/quartus60/win
/cygdrive/d/tools/altera/quartus60/bin
/cygdrive/c/Program Files/Java/jdk1.5.0_13/bin
/cygdrive/e/temp/ATT/Graphviz/bin
/cygdrive/e/temp/ATT/Graphviz/bin/tools
Classpath:
.
e:\temp\cygwin\opt\tinyos-1.x\tools\java
e:\temp\cygwin\opt\tinyos-1.x\tools\java\jars\oalnf.jar
e:\temp\cygwin\opt\tinyos-1.x\tools\java\jars\pxgraphapplet.jar
avr-gcc:
/usr/local/bin/avr-gcc
Version: avr-gcc (GCC) 3.3-tinyos
perl:
/usr/bin/perl
Version: v5.8.0 built for cygwin-multi-64int
flex:
/usr/bin/flex
bison:
/usr/bin/bison
java:
/cygdrive/c/WINDOWS/system32/java
--> WARNING: The JAVA version found first by toscheck may not be version 1.4 which is
required by TOS. Please ensure that the located Java version is 1.4Depending on your PATH
environment variable, there is often a 1.2 version of java.exe in c:\windows\system32 that
is "seen" first. Check that this is version 1.4 or reconfigure your PATH
environment variable if this is the case.
javax.comm:
javax.comm ok
Cygwin:
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Oct 19 12:46:02 2007
Windows XP Professional Ver 5.1 Build 2600 Service Pack 2
Path: e:\temp\cygwin\usr\local\bin
e:\temp\cygwin\bin
e:\temp\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
d:\tools\altera\quartus60\bin
d:\tools\altera\quartus60\win
d:\tools\altera\quartus60\bin
c:\Program Files\Java\jdk1.5.0_13\bin
e:\temp\ATT\Graphviz\bin
e:\temp\ATT\Graphviz\bin\tools
e:\temp\cygwin\bin\id.exe output (nontsec)
UID: 1003(Slsemployee) GID: 513(None)
513(None)
e:\temp\cygwin\bin\id.exe output (ntsec)
UID: 1003(Slsemployee) GID: 513(None)
513(None) 544(Administrators)
545(Users) 1004(Debugger Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = `e:\temp\cygwin\home\Slsemployee'
MAKE_MODE = `unix'
PWD = `/cygdrive/e/temp/cygwin/etc/profile.d'
USER = `Slsemployee'
Use `-r' to scan registry
a: fd N/A N/A
c: hd FAT32 7985Mb 52% CP UN BOOT
d: hd FAT32 12985Mb 19% CP UN APPS
e: hd NTFS 17123Mb 76% CP CS UN PA FC DATA
f: cd N/A N/A
e:\temp\cygwin / system binmode
e:\temp\cygwin/bin /usr/bin system binmode
e:\temp\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: e:\temp\cygwin\bin\awk.exe
Found: e:\temp\cygwin\bin\bash.exe
Found: e:\temp\cygwin\bin\cat.exe
Found: e:\temp\cygwin\bin\cp.exe
Found: e:\temp\cygwin\bin\cpp.exe
Found: e:\temp\cygwin\bin\find.exe
Found: e:\temp\cygwin\bin\gcc.exe
Found: e:\temp\cygwin\bin\gdb.exe
Found: e:\temp\cygwin\bin\grep.exe
Found: e:\temp\cygwin\bin\ld.exe
Found: e:\temp\cygwin\bin\ls.exe
Found: e:\temp\cygwin\bin\make.exe
Found: e:\temp\cygwin\bin\mv.exe
Found: e:\temp\cygwin\bin\rm.exe
Found: e:\temp\cygwin\bin\sed.exe
Found: e:\temp\cygwin\bin\sh.exe
Found: e:\temp\cygwin\bin\tar.exe
58k 2002/05/07 e:\temp\cygwin\bin\cygbz2-1.dll
848k 2003/04/11 e:\temp\cygwin\bin\cygcrypto-0.9.7.dll
645k 2003/04/11 e:\temp\cygwin\bin\cygcrypto.dll
380k 2002/07/24 e:\temp\cygwin\bin\cygdb-3.1.dll
487k 2002/07/24 e:\temp\cygwin\bin\cygdb_cxx-3.1.dll
135k 2003/04/13 e:\temp\cygwin\bin\cygexpat-0.dll
45k 2001/04/25 e:\temp\cygwin\bin\cygform5.dll
35k 2002/01/09 e:\temp\cygwin\bin\cygform6.dll
76k 2003/03/09 e:\temp\cygwin\bin\cygform7.dll
28k 2003/07/20 e:\temp\cygwin\bin\cyggdbm-3.dll
30k 2003/08/11 e:\temp\cygwin\bin\cyggdbm-4.dll
19k 2003/03/22 e:\temp\cygwin\bin\cyggdbm.dll
15k 2003/07/20 e:\temp\cygwin\bin\cyggdbm_compat-3.dll
15k 2003/08/11 e:\temp\cygwin\bin\cyggdbm_compat-4.dll
17k 2001/06/28 e:\temp\cygwin\bin\cyghistory4.dll
20k 2002/10/10 e:\temp\cygwin\bin\cyghistory5.dll
945k 2003/06/18 e:\temp\cygwin\bin\cygiconv-2.dll
22k 2001/12/13 e:\temp\cygwin\bin\cygintl-1.dll
28k 2002/09/20 e:\temp\cygwin\bin\cygintl-2.dll
26k 2001/04/25 e:\temp\cygwin\bin\cygmenu5.dll
20k 2002/01/09 e:\temp\cygwin\bin\cygmenu6.dll
48k 2003/03/09 e:\temp\cygwin\bin\cygmenu7.dll
156k 2001/04/25 e:\temp\cygwin\bin\cygncurses++5.dll
175k 2002/01/09 e:\temp\cygwin\bin\cygncurses++6.dll
226k 2001/04/25 e:\temp\cygwin\bin\cygncurses5.dll
202k 2002/01/09 e:\temp\cygwin\bin\cygncurses6.dll
284k 2003/03/09 e:\temp\cygwin\bin\cygncurses7.dll
15k 2001/04/25 e:\temp\cygwin\bin\cygpanel5.dll
12k 2002/01/09 e:\temp\cygwin\bin\cygpanel6.dll
31k 2003/03/09 e:\temp\cygwin\bin\cygpanel7.dll
63k 2003/04/11 e:\temp\cygwin\bin\cygpcre.dll
61k 2003/04/11 e:\temp\cygwin\bin\cygpcreposix.dll
1069k 2003/06/02 e:\temp\cygwin\bin\cygperl5_8_0.dll
22k 2002/06/09 e:\temp\cygwin\bin\cygpopt-0.dll
108k 2001/06/28 e:\temp\cygwin\bin\cygreadline4.dll
127k 2002/10/10 e:\temp\cygwin\bin\cygreadline5.dll
176k 2003/04/11 e:\temp\cygwin\bin\cygssl-0.9.7.dll
165k 2003/04/11 e:\temp\cygwin\bin\cygssl.dll
50k 2002/03/12 e:\temp\cygwin\bin\cygz.dll
948k 2003/03/18 e:\temp\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.22
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 78
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Tue Mar 18 09:20:11 EST 2003
CVS tag: dontuse-21
Shared id: cygwin1S3
Cygwin Package Information
Package Version
_update-info-dir 00197-1
ash 20020731-1
autoconf 2.54-1
autoconf-devel 2.57-1
autoconf-stable 2.13-4
automake 1.7.1-1
automake-devel 1.7.6-1
automake-stable 1.4p5-5
base-files 1.3-1
base-passwd 1.1-1
bash 2.05b-9
binutils 20030307-1
bison 20030307-1
bzip2 1.0.2-2
crypt 1.0-2
ctags 5.5-4
cvs 1.11.5-1
cygipc 1.14-1
cygrunsrv 0.96-1
cygutils 1.1.4-2
cygwin 1.3.22-2
diff 1.0-1
diffutils 2.8.1-1
emacs 21.2-12
expat 1.95.6-1
file 4.02-1
fileutils 4.1-1
findutils 4.1.7-4
flex 2.5.4-2
gawk 3.1.3-1
gcc 3.2-3
gcc-mingw 20020817-5
gdb 20030303-1
gdbm 1.8.3-3
gettext 0.11.5-1
gperf 2.7.2-1
grep 2.5-1
groff 1.18.1-2
gzip 1.3.3-4
less 378-1
libbz2_1 1.0.2-2
libdb3.1 3.1.17-2
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-3
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv2 1.8-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-1
libpcre 4.1-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-2
login 1.9-5
m4 1.4-1
make 3.80-1
man 1.5j-2
mingw-runtime 3.0-1
mktemp 1.4-1
more 2.11o-1
nano 1.2.0-1
ncurses 5.3-1
openssh 3.6.1p1-2
openssl 0.9.7b-1
openssl096 0.9.6j-1
patch 2.5.8-3
patchutils 0.2.22-2
perl 5.8.0-3
perl_manpages 5.8.0-3
postgresql 7.3.4-1
python 2.3-1
rcs 5.7-3
readline 4.3-2
rpm 4.1-1
rpm-build 4.1-1
rpm-doc 4.1-1
rxvt 2.7.10-3
sed 4.0.7-1
sh-utils 2.0.15-3
tar 1.13.25-1
tcltk 20030214-1
tcsh 6.12.00-5
termcap 20021106-2
terminfo 5.3_20030726-1
texinfo 4.2-4
textutils 2.0.21-1
time 1.7-1
unzip 5.50-2
vim 6.2-1
w32api 2.3-1
wget 1.8.2-2
which 1.5-1
zip 2.3-2
zlib 1.1.4-1
Use -h to see help about each section
uisp:
/usr/local/bin/uisp
uisp version 20030820tinyos
graphviz:
/cygdrive/e/temp/ATT/Graphviz/bin/dot
dot version 1.10 (Wed Jul 9 23:09:17 EDT 2003)
avr-as:
/usr/local/bin/avr-as
GNU assembler 2.13.2.1
avarice:
/usr/local/bin/avarice
AVaRICE version 2.0.20030825cvs, Aug 25 2003 20:53:25
avr-gdb:
/usr/local/bin/avr-gdb
GNU gdb cvs-pre6.0-tinyos
toscheck completed with errors:
--> WARNING: The JAVA version found first by toscheck may not be version 1.4 which is
required by TOS. Please ensure that the located Java version is 1.4Depending on your PATH
environment variable, there is often a 1.2 version of java.exe in c:\windows\system32 that
is "seen" first. Check that this is version 1.4 or reconfigure your PATH
environment variable if this is the case.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help