[MacPorts] #50342: doxygen @1.8.10_2 does not build on PPC Tiger, Mac OS X 10.4.11, because of Python code error?
MacPorts
noreply at macports.org
Sun Jan 17 13:39:24 PST 2016
#50342: doxygen @1.8.10_2 does not build on PPC Tiger, Mac OS X 10.4.11, because of
Python code error?
------------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: doxygen |
------------------------------+--------------------------------
Comment (by cal@…):
The file does `from __future__ import print_function`, which enables this
usage of print but only works with Python >= 2.6. Additionally, it
specifies a shebang of `/usr/bin/python`, which is probably too old on
your system. Replacing the shebang of `src/res2cc_cmd.py` with
`#!/usr/bin/env python` would probably fix this if you had python 2.7
installed.
I'm not planning to do this for all users as some people link their python
interpreter to python 3.x, which could lead to problems.
--
Ticket URL: <https://trac.macports.org/ticket/50342#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list