Opened 6 years ago
Closed 6 years ago
#56538 closed defect (fixed)
gnucash @3.1: Python support enabled, but Python interpreter not found
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gnucash |
Description
gnucash has a dependency on python36, but apparently doesn't tell the build system how to find it, because configuration fails on systems that have not used port select
to select a python 3 (such as the buildbot workers):
-- Could NOT find PythonInterp: Found unsuitable version "2.7.10", but required is at least "3" (found /usr/bin/python) CMake Error at CMakeLists.txt:465 (MESSAGE): Python support enabled, but Python interpreter not found. -- Could NOT find PythonLibs: Found unsuitable version "2.7.10", but required is at least "3" (found /usr/lib/libpython2.7.dylib) CMake Error at CMakeLists.txt:474 (MESSAGE): Python support enabled, but Python libraries not found.
Change History (4)
comment:1 Changed 6 years ago by tcwan (TC Wan)
comment:2 Changed 6 years ago by horasio (Samuel Hornus)
Just a motivational message to the maintainer: I'm interested in seeing this bug fixed, and I'll buy you a beer if we ever meet. :-)
comment:3 Changed 6 years ago by LenoreHorner
I only had to do step one on a new installation on a new computer.
comment:4 Changed 6 years ago by ken-cunningham-webuse
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This can be worked around when building gnucash @3.1 by doing the following:
From the problem, I guess the gnucash configure script is not searching for the correct Python interpreter at the correct locations. In addition, Python 3.x Portfile should probably configure links to /opt/local/lib for the dylib and access to the 3.x site-packages directories.