[graph-tool] boost

Janna jfierst at uoregon.edu
Tue May 17 23:22:41 CEST 2011


Hi,

I went through it again and this is what I get for the boost/python
location:

/opt/local/include/boost/python
/opt/local/include/boost/python/arg_from_python.hpp
/opt/local/include/boost/python/args.hpp
/opt/local/include/boost/python/args_fwd.hpp
/opt/local/include/boost/python/back_reference.hpp
/opt/local/include/boost/python/base_type_traits.hpp
/opt/local/include/boost/python/bases.hpp
/opt/local/include/boost/python/borrowed.hpp
/opt/local/include/boost/python/call.hpp
/opt/local/include/boost/python/call_method.hpp
/opt/local/include/boost/python/cast.hpp
/opt/local/include/boost/python/class.hpp
/opt/local/include/boost/python/class_fwd.hpp
/opt/local/include/boost/python/converter...

I looked at the program and it seems to be searching for
~/boost/python/module.hpp, that file is there. When I point the program to
these files, it doesn't pick them up:

sudo ./configure --with-boost-python=/opt/local/include/boost/python
LDFLAGS="-l/opt/local/include/boost/python"
LDFLAGS="-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib"
PYTHON_VERSION="2.7"

I ran a few versions of this and it finds python2.7 and boost, but still
can't find the boost/python part. I searched the log and I think it is not
picking up the correct flags for boost/python because it outputs this:

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL}
/opt/local/var/macports/build/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.13/missing
--run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL}
/opt/local/var/macports/build/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.13/missing
--run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AR='ar'
AUTOCONF='${SHELL}
/opt/local/var/macports/build/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.13/missing
--run autoconf'
AUTOHEADER='${SHELL}
/opt/local/var/macports/build/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.13/missing
--run autoheader'
AUTOMAKE='${SHELL}
/opt/local/var/macports/build/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.13/missing
--run automake-1.11'
AWK='awk'
BOOST_CPPFLAGS='-I/opt/local/include'
BOOST_GRAPH_LIB=''
BOOST_IOSTREAMS_LIB=''
BOOST_LDFLAGS='-L/opt/local/lib'
BOOST_PYTHON_LIB=''
BOOST_REGEX_LIB=''

I think the problem is that it's looking in /opt/local/lib for the boost
libraries, but they live in /opt/local/include/boost and it isn't picking it
up when I put BOOST_LDFLAGS into the ./configure command. I manually input
BOOST_PYTHON_LIB and it found it but said this:

checking for boostlib >= 1.38.0... yes
checking whether the Boost::Python library is available... no
checking whether the Boost::Iostreams library is available... no
configure: error: No usable boost::iostreams found

I'm not sure what else to try- I know that is where it is, am I not
inputting it correctly? All the other dependencies installed through
macports are also in opt/local/include. Thanks -Janna

--
View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/boost-tp2929562p2954361.html
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.



More information about the graph-tool mailing list