Installing using MacPorts under OSX Lion

By some small miracle, I managed to get the installation to work on my
MacBook Pro for work. I'm still struggling with my MacBook Air. Wondering
if anyone has any suggestions. Here's what I'm seeing.

$ sudo port install py27-graph-tool---> Computing dependencies for
py27-graph-tool
---> Fetching archive for py27-graph-tool
---> Attempting to fetch py27-graph-tool-2.2.18_2.darwin_11.x86_64.tbz2
from http://packages.macports.org/py27-graph-tool
---> Attempting to fetch py27-graph-tool-2.2.18_2.darwin_11.x86_64.tbz2
from
http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-graph-tool
---> Attempting to fetch py27-graph-tool-2.2.18_2.darwin_11.x86_64.tbz2
from http://lil.fr.packages.macports.org/py27-graph-tool
---> Fetching distfiles for py27-graph-tool
---> Attempting to fetch graph-tool-2.2.18.tar.bz2 from
http://distfiles.macports.org/py-graph-tool
---> Verifying checksum(s) for py27-graph-tool
---> Extracting py27-graph-tool
---> Configuring py27-graph-tool
Error: org.macports.configure for port py27-graph-tool returned: configure
failure: command execution failed
Please see the log file for port py27-graph-tool for details:
    
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-graph-tool/py27-graph-tool/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-graph-tool failed

Digging into the log file, I see the place where things go off the rails.

:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.18"
&& ./configure --prefix=/opt/local --with-boost=/opt/local
:info:configure Exit code: 1
:error:configure org.macports.configure for port py27-graph-tool returned:
configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for py27-graph-tool:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:notice:configure Please see the log file for port py27-graph-tool for
details:
    
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-graph-tool/py27-graph-tool/main.log

Running those commands myself, I see the following from the configure
statement:

...

attachment.html (4.93 KB)

Take a look in the config.log file, which will tell you the exact error.

Maybe you forgot to enable the python27 variant when building boost? If
not, I recommend you open a ticket at
https://trac.macports.org/newticket, so the macports people can take a
look at this.

Cheers,
Tiago

Thanks Tiago. I enabled the python27 variant but to no avail. I'll file a
ticket with MacPorts and see what they say.

Chris

attachment.html (6.57 KB)