AhnSeung / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

tinyos-tools package on Debian: tos-bsl python2 #148

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install tinyos-tools package on Debian
2. Run tos-bsl.

What is the expected output?
tos-bsl should install to TelosB.

What do you see instead?
bash: /usr/bin/tos-bsl: /usr/bin/python2: bad interpreter: No such file or 
directory

tos-bsl starts with:
#!/usr/bin/python2
which I can easily fix to:
#!/usr/bin/python

There is no /usr/bin/python2 link on Debian. On Ubuntu it seems to be provided 
by python-minimal.

=======================

dpkg -l tinyos-tools:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                        Version                    
Architecture               Description
+++-===========================================-==========================-=====
=====================-==========================================================
=================================
ii  tinyos-tools                                1.4.2-20120808             i386 
                      Development-tools for TinyOS

Original issue reported on code.google.com by marku...@gmail.com on 9 Oct 2012 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by marku...@gmail.com on 9 Oct 2012 at 1:18

GoogleCodeExporter commented 8 years ago
same for /usr/bin/tos-storage-stm25p

Original comment by marku...@gmail.com on 12 Oct 2012 at 4:06

GoogleCodeExporter commented 8 years ago
This seems to be an artifact of the Stanford repository being down rev.   The 
Stanford repository as of 10/23/2012 still has the 4.5.3 msp430 toolchain.   
I'm not sure what tinyos-tools at the Stanford used to build.

I'm not sure how tos-bsl and tos-storage-stm25p get built exactly but it looks 
like it is fixed in the tinyos-main source repository.

Both of the listed files use /usr/bin/python and do not reference python2 in 
the tinyprod repository.

http://tinyprod.net/repos/debian/README.html

Original comment by cire...@gmail.com on 24 Oct 2012 at 2:31