On 12/26/2013 12:25 AM, Igor Strozzi wrote:
Hello. Installing graph tool is quite harsh (at least for me) due to the large dependency on previously installed libs. MacPorts seems useful since it finds and install automatically all dependencies of any lib you`re trying to install. These benefits notwithstanding, I'm having some troubles while concluding my installation. After installing all required libs using MacPorts, I can't configure graph tool (by ./configure).
Why not simply installing the package itself using macports as well?
Using ./configure purely, I get this:
checking consistency of all components of python development environment... no configure: error: in `/Users/JaquelinyLima/Documents/graphtool': configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them.
Using ./configure PYTHON=/Apps/MacPorts/Python2.7 (macports location):
================ Detecting python ================ checking whether /Apps/MacPorts/Python2.7 version is >= 2.6... no configure: error: Python interpreter is too old
As the first error message says, you have to pass the correct compiler directives so that it can find the libraries via LDFLAGS... I think you are better off simply attempting to install it via macports, which takes care of this as well. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>