Hi,everyone:
  I want to know who has installed tinyos in fedora core 4 successfully. I have tried several days but it does not success yet. I really want to know how can I successfully install the tinyos on the fedora core 4 using the ibm jdk.
  If anyone has installed the tinyos successfully on the fedora core 4, can you give me a more detailed step by step install instruction? (Redhat 9 is also ok, because I also can not install on rh9. ) I am a new hand on java in linux and tinyosJ.
  At the rest of this message, I want to describe more detailed steps on my installation; perhaps someone can find the wrong operation I had done and give me some detailed information to help me. And first I thank all the persons who read my question.
  When I installed the fedora core 4, I selected the fedora core 4’s desktop.
  I followed the instruction on the http://www.tinyos.net/tinyos-1.x/doc/install.html to install the tinyos.
  First, I downloaded the IBM jdk “ibm-java2-i386-sdk-5.0-0.0.i386.rpm“and “ibm-java2-i386-javacomm-5.0-0.0.i386.rpm “from the IBM’s website. Then, I installed the IBM jdk followed the IBM’s install instruction. When installed the ibm jdk, It needs the compat-libstdc++-33-3.2.3 and xorg-x11-deprecated-libs-6.8.1, also mentioned in the ibm instruction and I manually installed it.
  Second, I set the path according to the ibm jdk instruction: add the following sencents in the file .bashrc of root‘s home directory: export PATH=/opt/ibm/java2-i386-50/bin:/opt/ibm/java2-i386-50/jre/bin:$PATH.
  At then, I changed the permissions on /dev/tty0~3 and parport0 to 666.
  At this time, I could run java and javac in the command line and can compile and run java helloworld.(I did not set the classpath specially, I will mentioned my classpth problem again later.)
  Third, I installed the packages avarice-2.3.20041206cvs-1.i386.rpm, avr-binutils-2.15tinyos-3.i386.rpm, avr-gcc-3.4.3-1.i386.rpm, avr-insight-6.3-1.i386.rpm, avr-libc-1.2.3-1.i386.rpm, graphviz-1.10-1.i386.rpm, nesc-1.2-1.i386.rpm. The reason why I didn’t use the package mentioned in the http://www.tinyos.net/tinyos-1.x/doc/install.html is that someone had answered my formerly question on why I can not install the tinyos on the redhat 9 and fedora core 4 mentioned to use the newly package.
  Four, I installed the tinyos-tools-1.2.0-2.i386.rpm, but it gives me a message that “Java not found, JNI not installed”. So again, I installed the tinyos-tools-1.1.0-1.i386.rpm, and nothing happens, it finished the installation. As to this java not found error, I also tried to set the classpath in the .bashrc file using export CLASSPATH=……,but it does not work. But even I do not set the classpath, I can also compile and run the java helloworld program.
  Five, I installed the finial package: tinyos-1.1.14Jul2005cvs-1.noarch.rpm by using rpm -ivh --prefix /TINYOSDIR tinyos-1.1.14Jul2005cvs-1.noarch.rpm, then some error happened. The first several lines are ….path to tinyos /tools/java/…path: /usr/bin/per bad interpreter: too many arguments, and some more. But the “too many arguments” have occurred several times. I tried tinyos-1.1.14Jul2005cvs-1.noarch.rpm both in redhat 9 and fedora core 4, they all happened the same errors above. When reboot the system, there also happened some error like “usr/local/bin/locate-jre:/bin/sh:bad interpreter: too many arguments” This only happens once when I installed on the redhat 9 . And on fedora core 4 the hard disk keep running when the screen appears words like enable swap space. At the formly installation I always use the tinyos-1.1.0-1.noarch.rpm to install both on the redhat and fedora core 4, and they also let the hard disk keep running even several hours and do not stop, and  when
reboot the machine, I can not enter the system and the hard disk also did not stop when occur enable swap space.
  In addition, I did not set the java classpath when install the tinyos. I only tried once, but the tinyos-tools still say can not find the java, so I removed it from the .bashrc.
  My computer’s cpu is p4, and the redhat 9 , fedora core 4 all have a “-smp” postfix, and I selected the chinise when I install the linux.
  And last, apology again for my poor English and Thanks all the people.
  I hope some one can give me some detailed suggestionJ.



王龙军(Longjun Wang


抢注雅虎免费邮箱-3.5G容量,20M附件!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to