[MacPorts] #39363: Configure fails on fresh MacPorts install on Mountain Lion
MacPorts
noreply at macports.org
Thu Jun 6 13:48:28 PDT 2013
#39363: Configure fails on fresh MacPorts install on Mountain Lion
------------------------------+--------------------------
Reporter: bryant.gipson@… | Owner: mmoll@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords: mountainlion
Port: py27-graph-tool |
------------------------------+--------------------------
Changes (by ciserlohn@…):
* owner: macports-tickets@… => mmoll@…
* cc: tiago@… (added)
* keywords: Mountain Lion, graph-tool => mountainlion
Old 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/local//Library/Frameworks/Python.framework/Versions/2.7/include"
> --prefix=/opt/local/ --with-boost-python=boost_python-mt --disable-
> sparsehash CXX=clang
New 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/local//Library/Frameworks/Python.framework/Versions/2.7/include"
--prefix=/opt/local/ --with-boost-python=boost_python-mt --disable-
sparsehash CXX=clang
}}}
--
Comment:
In the future please remember to use WikiFormatting and Cc the
maintainer(s). For keywords have a look at DraftKeywordGuidelines.
--
Ticket URL: <https://trac.macports.org/ticket/39363#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list