anandmudgerikar / tinyos-main

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

TOSSIM PYTHON_VERSION on Ubuntu 11.04 x86_64 #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compiling and installing by svn source latest tinyOS on Ubuntu 11.04
2. Into apps/Blinks ; make micaz sim

What is the expected output? What do you see instead?
... 'make' cannot find python2.7-config because the version reported from the 
command 'python --version' is Python 2.7.1+

What version of the product are you using? On what operating system?
latest on Ubuntu 11.04 x86_64

Please provide any additional information below.
solved by modifying PYTHON_VERSION sed statement into support/make/sim*.extra 
with the following:

PYTHON_VERSION ?= $(shell  python --version 2>&1 | sed 's/Python 
2\.\([0-9]\)\.\([0-9]\)+\{0,1\}/2.\1/')

Original issue reported on code.google.com by ultra...@gmail.com on 12 Aug 2011 at 10:59

GoogleCodeExporter commented 8 years ago

Original comment by philip.l...@gmail.com on 22 Aug 2011 at 11:53

GoogleCodeExporter commented 8 years ago

Original comment by philip.l...@gmail.com on 23 Aug 2011 at 12:42

GoogleCodeExporter commented 8 years ago
Patch tested and applied to sim.extra, sim-sf.extra, and sim-fast.extra.

Original comment by philip.l...@gmail.com on 25 Aug 2011 at 4:31