Ticket #133 (defect)
Opened 2 years ago
Last modified 2 years ago
Build process uses "#!/usr/bin/env python"
Status: closed (fixed)
| Reported by: | gdt | Assigned to: | eb |
|---|---|---|---|
| Priority: | low | Milestone: | release-3.0.3 |
| Component: | gnuradio-core | Version: | 3.0svn |
| Keywords: | python pkgsrc | Cc: | |
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@".
Change History
01/29/07 10:52:54: Modified by gdt
- priority changed from normal to low.
01/29/07 17:36:14: Modified by eb
- status changed from new to closed.
- resolution set to fixed.
02/07/07 13:17:07: Modified by jcorgan
- milestone changed from to-be-decided to release-3.0.3.

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