Hi Phuong, Thank you for the information. That does appear to fix my problems in the Cygwin environment.
I think there is a bug in the tos-install-jni script, though. It looks like it tests to see if JAVA is installed using the tos-locate-jre --java command. But, before it tests for sucess, it assigns 32 to 'bits', which always passes. I'm new to TinyOS, so I don't know the best place to report a bug like this yet. Thanks again, John > -----Original Message----- > From: Thanh Phuong Nguyen [mailto:[EMAIL PROTECTED] > Sent: Monday, November 05, 2007 5:04 AM > To: [EMAIL PROTECTED]; [email protected] > Subject: Re: URGENT: The same prob with Re: [Tinyos-help] Problem in > running tos-install-jni > > > Hello, > > I dont know if u still have prob with Serial > Forwarder. My prob was solved by my supervisor. He > told me to copy the *.dll (getenv.dll and toscomm.dll) > from the folder /usr/lib/tinyos to the folder bin of > Java (in Puhb's case is .../Java/jdk1.5.0_12/jre/bin), > then my SF ran well. > > @John Filion: my /usr/lib/tinyos folder has no > *-32.dll either. But when u c in the script, they just > have *.dll. I think *-32.dll or *-64.dll depends on ur > computer. > > Phuong. > > > > --- John Filion <[EMAIL PROTECTED]> wrote: > > > I am running the Cygwin installation, and am having > > the same problem with > > the TestSerial tutorial. I dug into the scripts a > > little, and it appears to > > be looking for .dll files in the /usr/lib/tinyos > > directory that match > > '*-32.dll', but there are no files in that directory > > that meet that > > criteria. > > > > I looked in the xubontos environment, and I don't > > see any files that meet > > that criteria in that environment's /usr/lib/tinyos > > directory. > > > > Where were these files supposed to have come from? > > Does anyone know what > > package would have installd them? > > > > Regards, > > John > > > > > > > ------------------------------------------------------------------ > > Hi all, I have the same prob with Puhb. Till this > > time > > i dont know either. Can anybody help us? I really > > need > > it. > > > > Thanks u very much, > > > > Phuong. > > > > --- º£²¨ < puhb at tom.com > > > <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ > tinyos-help>> > > wrote: > > > > > Hi ,all: > > > > > > My environment is Tinyos 2.0.2 , JDK version is > > > 1.5.0_12, and run tos-check-env without error. But > > > when I run the tos-install-jni, it gets a error > > like > > > below: > > > > > > $ tos-install-jni > > > > > > [: ==: unknown operand > > > Installing 32-bit Java JNI code in > > > /cygdrive/c/Program Files/Java/jdk1.5.0_12/jre/bin > > > ... > > > install: cannot stat > > > `/usr/local/lib/tinyos/*-32.dll': No such file or > > > directory > > > > > > > > > I don't know how to correct this error. Please > > > help me to fix this error. > > > > > > Thanks in advanced. > > > > > > Best wishes, > > > Puhb > > > > > > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ puhb at tom.com > > > <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ tinyos-help> > > ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2007-10-23 > > > > _______________________________________________ > > Tinyos-help mailing list > > Tinyos-help at Millennium.Berkeley.EDU > <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> > > > <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> > > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
