[MacPorts] #50185: gringo 4.5.4 fails to compile w/ Python3

MacPorts noreply at macports.org
Fri Jan 1 02:58:05 PST 2016


#50185: gringo 4.5.4 fails to compile w/ Python3
---------------------+--------------------------------
  Reporter:  tim@…   |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.4
Resolution:          |   Keywords:
      Port:  gringo  |
---------------------+--------------------------------

Comment (by davide.liessi@…):

 I suspect SCons is picking up the wrong Python because it runs `python-
 config`, which can be the link created by `port select`.

 If this is the case, there are two simple fixes:
 * declare Python 2.7 as dependency and force SCons to use it, or
 * force SCons to use the system-provided Python regardless of what is
 installed by MacPorts.

 I would prefer the first possibility, having in mind that in the near
 future I want to enable the installation of the Python module, which is
 tested upstream only with Python 2.7 (and probably does not work with
 Python 3, which would explain the errors in this ticket).

 I can provide a patch as soon as we choose the solution.

-- 
Ticket URL: <https://trac.macports.org/ticket/50185#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list