Opened 11 years ago

Last modified 11 years ago

#39363 closed defect

Configure fails on fresh MacPorts install on Mountain Lion — at Initial Version

Reported by: bryant.gipson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: mountainlion Cc:
Port: py27-graph-tool

Description

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/localLibrary/Frameworks/Python.framework/Versions/2.7/include" --prefix=/opt/local/ --with-boost-python=boost_python-mt --disable-sparsehash CXX=clang

Change History (1)

Changed 11 years ago by bryant.gipson@…

Attachment: main.log.tar.bz2 added
Note: See TracTickets for help on using tickets.