[MacPorts] #39363: Configure fails on fresh MacPorts install on Mountain Lion

MacPorts noreply at macports.org
Thu Jun 6 11:59:14 PDT 2013


#39363: Configure fails on fresh MacPorts install on Mountain Lion
---------------------------------------+--------------------------------
 Reporter:  bryant.gipson@…            |      Owner:  macports-tickets@…
     Type:  defect                     |     Status:  new
 Priority:  Normal                     |  Milestone:
Component:  ports                      |    Version:  2.1.3
 Keywords:  Mountain Lion, graph-tool  |       Port:  py27-graph-tool
---------------------------------------+--------------------------------
 Configure fails with:

 :info:configure configure: error:
 :info:configure   Could not link test program to Python. Maybe the main
 Python library has been
 :info:configure   installed in some non-standard library path. If so, pass
 it to configure,
 :info:configure   via the LDFLAGS environment variable.
 :info:configure   Example: ./configure LDFLAGS="-L/usr/non-standard-
 path/python/lib"
 :info:configure
 ============================================================================
 :info:configure    ERROR!
 :info:configure    You probably have to install the development version of
 the Python package
 :info:configure    for your distribution.  The exact name of this package
 varies among them.
 :info:configure
 ============================================================================

 I could get this to compile, however, using the following:

 ./configure PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error"
 LDFLAGS="-L/opt/local/lib `python-config --ldflags` `python-config
 --libs`" CXXFLAGS="-I/opt/local/include
 -I/opt/local//Library/Frameworks/Python.framework/Versions/2.7/include"
 --prefix=/opt/local/  --with-boost-python=boost_python-mt --disable-
 sparsehash CXX=clang

-- 
Ticket URL: <https://trac.macports.org/ticket/39363>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list