Bug #133

Build process uses "#!/usr/bin/env python"

Added by over 6 years ago. Updated over 6 years ago.

Status:Closed Start date:
Priority:Low Due date:
Assignee:Eric Blossom % Done:

0%

Category:gnuradio-core
Target version:release-3.0.3
Resolution:fixed

Description

In gnuradio-core/src/lib/filter, generate.py and others invoke python as python, rather than using the path where configure found python. This fails on systems that install python as pythonX.Y and do not provide a default symlink from python; an example system where this approach results in a build failure is pkgsrc.

There is a related issue about installing scripts that point to the python found at install time, but this ticket is about the build failure.

One fix is to move all the .py files to .py.in and replace "/usr/bin/env python" with "PYTHON".

History

Updated by Eric Blossom over 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Fixed in r4326. Fixed by altering all invocation sites to use $(PYTHON).
This still leaves the related problem unsolved.

Also available in: Atom PDF