Hi all,
I'm trying to compile graph-tool on a macbook with mac os x v10.4.11,
but compilation fails as follows:
/opt/local/bin/i386-apple-darwin8.11.1-gcc-4.2.2 -DHAVE_CONFIG_H -
I. -I../.. -I. -I.. -I../boost-workaround -DHAVE_CONFIG_H -Wall -I/
opt/local/include/python2.5 -pthread -I/opt/local/include/
boost-1_34_1 -ftemplate-depth-150 -O99 -Wno-unknown-pragmas -MT
graph.lo -MD -MP -MF .deps/graph.Tpo -c graph.cc -fno-common -DPIC -
o .libs/graph.o
graph.cc: In function 'void catch_sig_stop(int)':
graph.cc:560: error: 'SIGPWR' was not declared in this scope
graph.cc: In member function 'void
graph_tool::GraphInterface::InitSignalHandling()':
graph.cc:593: error: 'SIGPWR' was not declared in this scope
make[3]: *** [graph.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
My system is:
python v2.5.1
gcc v4.2.2
boost v1.34.1
I'm using the following configure command:
sudo ./configure --prefix=/opt/local --with-boost=/opt/local --
disable-visibility CC=/opt/local/bin/i386-apple-darwin8.11.1-
gcc-4.2.2 CXX=/opt/local/bin/i386-apple-darwin8.11.1-gcc-4.2.2
PYTHON_VERSION=2.5 LDFLAGS=-L/opt/local/lib/
Any ideas?
Thanks,
Spiros