Hi Biyan

Happy to hear that it now work on your side. I don't remember exactly
why I had to apply changes in reent.h but it must have been something
similar as in 
http://www.mail-archive.com/[email protected]/msg34992.html
.

Enjoy with TinyOS and see you!
    Romain

On Fri, Dec 3, 2010 at 5:50 PM, Biyan Li <[email protected]> wrote:
> Romain,
>
> The installation notes are very useful.  I made the Blink application 
> compiling.  The only thing I did different is that I don't need to change the 
> reent.h file noted at the end of your instruction.
>
> Thanks a lot for the help.
>
> Biyan
>
> -----Original Message-----
> From: Romain Bornet [mailto:[email protected]]
> Sent: Friday, December 03, 2010 3:23 AM
> To: Biyan Li
> Cc: [email protected]
> Subject: Re: [Tinyos-help] help with python2.5-config command not found error
>
> Hi Biyan
>
> I didn't test much my installation on Win7/Cygwin and moved to Linux now but 
> I had it working basically.
>
>>> Which version of CYGWIN are you using, did you download
>>> "cygwin-files.zip" from step2 of this link
> No I didn't used the cygwin-files.zip from the Wiki since I already had a 
> cygwin installation on my host and didn't want to mess it up with a second 
> parallel install. Moreover, the cygwin environment of the ZIP file is an old 
> version (1.5.24) which is not officially supported on Win7. Therefore I 
> installed the latest cygwin (1.7.7 ) from http://cygwin.com/ and installed 
> all necessary packages manually.
>
> Since cygwin 1.7.7 installed Python 2.6 I then had to apply the changes to 
> PYTHON_VERSION described in my previous email.
>
> I could then compile basic simple applications.
>
> When trying to build example applications using the Java SDK I had some 
> trouble with the java archive tinyos.jar (from RPM) which apparently does not 
> contain all necessary java classes.
> I then stopped using my Win7 environment and moved to the "install from 
> sources" alternative on a Linux host following instructions at 
> http://docs.tinyos.net/index.php/Installing_from_SVN/GIT .
>
> I took down notes when I installed on Win7. You will find them attached.
> I also attach the list of cygwin packages I currently have installed 
> (obtained with 'cygcheck --check-setup --dump-only') so that you can compare 
> with yours if necessary.
>
> Hope this helps!
>
> Kind regards from Switzerland.
>    Romain
>
> P.S.: I took back the mailing-list address in CC so that others can also 
> follow. Please also send to replies with the list in CC.
>
> On Thu, Dec 2, 2010 at 6:22 PM, Biyan Li <[email protected]> wrote:
>>
>> Romain,
>>
>>
>>
>> Thanks for the information.  I checked the python version, it is 2.5.1.    
>> Seems you have made the installation working, maybe I can try they cygwin 
>> version you are using.  Which version of CYGWIN are you using, did you 
>> download "cygwin-files.zip" from step2 of this link:
>>
>> http://docs.tinyos.net/index.php/Installing_TinyOS_2.1.1#Manual_instal
>> lation_on_your_host_OS_with_RPMs
>>
>>
>>
>> Or should I try different download link?
>>
>>
>>
>> Thanks a lot for the help.
>>
>>
>>
>> Biyan
>>
>>
>>
>> From: Romain Bornet [mailto:[email protected]]
>> Sent: Thursday, December 02, 2010 11:44 AM
>> To: Biyan Li
>> Subject: Re: [Tinyos-help] help with python2.5-config command not
>> found error
>>
>>
>>
>> Hi Biyan,
>>
>>
>>
>> I had some issues with Python since cygwin installed Python 2.6 and not 2.5 
>> ! Are you sure that you have 2.5 and not 2.6 ?
>>
>> You can retreive your installed Python version with 'python --version' in a 
>> cygwin shell.
>>
>>
>>
>> If you have 2.6 you will have to change
>>
>> PYTHON_VERSION=2.5
>>
>> to
>>
>> PYTHON_VERSION=2.6
>>
>> in 'sim-fast.extra', 'sim-sf.extra' and 'sim.extra' files located in
>> <TOS_root>/support/make
>>
>>
>>
>> Hope this helps.
>>
>>     Romain
>>
>>
>>
>> On Thu, Dec 2, 2010 at 5:18 PM, Biyan Li <[email protected]> wrote:
>>
>> I followed the steps listed under "Windows: Manual installation using cygwin 
>> and RPM packages" to install tinyos and cygwin under window 7.  While 
>> compiling Blink example, I got this error:
>>
>>  "make: python2.5-config: Command not found"
>>
>>
>>
>> I can see python2.5-config file along with other python exe files inside 
>> this directory:
>> C:\cygwin\bin
>>
>>
>>
>> I have checked Geoffrey's blog, and reinstalled cygwin, but still get the 
>> same error.
>>
>>
>>
>> Can anyone point out how to solve this problem?  Is there any place I should 
>> tell make to look for this directory fo python2.5-config?
>>
>>
>>
>> Thanks,
>>
>> Biyan
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-he
>> lp
>>
>>
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to