Graph-Tool Mac OS Build Errors

I'm attempting to build Graph-Tool on this MacBook Air (OS X 10.9.2). I've
got all the dependencies installed, including boost and I've even run tests
to confirm boost works. When I run the ./configure and make, I get the
error half way into make at graph_correlations.lo.

Showing below are the ./configure and make commands. (I've tried with no
flags on ./configure and it turned out pretty much the same.) I've also
upgraded to gcc48, which got me past a few earlier errors and a little
deeper into the files to build through the make command. But I'm stuck
here, unsure of what the holdup is. Any help would be appreciated.

Thanks!

gale:graph-tool tanza$ ./configure CXX=/opt/local/bin/g++-mp-4.8
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /opt/local/bin/g++-mp-4.8 accepts -g... yes
checking dependency style of /opt/local/bin/g++-mp-4.8... gcc3
checking for gcc option to accept ISO C99... unsupported
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-4.8 -E
checking for ANSI C header files... (cached) yes
checking build system type... x86_64-apple-darwin13.1.0
checking host system type... x86_64-apple-darwin13.1.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /opt/local/bin/ld
checking if the linker (/opt/local/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
checking the name lister (/opt/local/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin13.1.0 file names to
x86_64-apple-darwin13.1.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin13.1.0 file names to toolchain
format... func_convert_file_noop
checking for /opt/local/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/opt/local/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin13.1.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... /opt/local/bin/g++-mp-4.8 -E
checking for ld used by /opt/local/bin/g++-mp-4.8... /opt/local/bin/ld
checking if the linker (/opt/local/bin/ld) is GNU ld... no
checking whether the /opt/local/bin/g++-mp-4.8 linker (/opt/local/bin/ld)
supports shared libraries... yes
checking for /opt/local/bin/g++-mp-4.8 option to produce PIC... -fno-common
-DPIC
checking if /opt/local/bin/g++-mp-4.8 PIC flag -fno-common -DPIC works...
yes
checking if /opt/local/bin/g++-mp-4.8 static flag -static works... no
checking if /opt/local/bin/g++-mp-4.8 supports -c -o file.o... yes
checking if /opt/local/bin/g++-mp-4.8 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/g++-mp-4.8 linker (/opt/local/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... darwin13.1.0 dyld
checking how to hardcode library paths into programs... immediate
checking target system type... x86_64-apple-darwin13.1.0
checking whether to enable debug info...... no
checking whether C++ compiler supports -std=gnu++11... yes
checking whether to enable function inlining...... yes
checking whether to enable optimizations...... yes
checking whether to enable symbol visibility manipulation...... yes
checking whether to enable parallel algorithms with openmp...... no
checking whether to enable cairo drawing...... yes
checking for main in -lm... yes
checking for main in -lbz2... yes
checking for main in -lexpat... yes

What version of graph-tool, numpy and boost are you using? Also, please
provide the full compilation output without any line breaks, as well as
the output of config.log.

BTW, have you considered using macports? It makes the installation on
MacOS X considerably easier.

Best,
Tiago

We can close this. The issue with using macports is that it uses
/usr/opt/local/bin/pythonw2.7. Upon calling that version of python,
graph-tool worked fine. It seems most of its dependencies were being put
into that directory as well.

In any case, I've got graph-tool working on this mac as well as a linux box
too, so all is good.