TyMeew / tinyos-main

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

python path hardcoded in make docs #144

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
$ make telosb docs
[...]
Couldn't execute /usr/bin/python2

First problem: on debian there is no such thing as python2. There is "python" 
or "python2.x" (where x is an actual version number).

Trying to working around the problem by creating a symlink in /usr/local/bin 
(to avoid to put non packaged stuff in /usr/bin) fails again, because the 
makefile searches ONLY in that specific path, so even if there is such a thing 
as "python2" installed, the makefile will fail anyway.

$ which python2
/usr/local/bin/python2

To work around that i had to create a symlink at the hardcoded location.

Could you use "env python" or at least look in the PATH?

Regards

Original issue reported on code.google.com by salvo.g....@gmail.com on 21 Aug 2012 at 8:31