[graph-tool] boost

Janna jfierst at uoregon.edu
Tue May 24 19:14:41 CEST 2011


Hi,

I let it install over the weekend on my work computer but it still failed to
build (I did it as graph-tool -openmp), I don't know what the problem is-
thanks for your help! -Janna

:info:build In file included from /usr/include/c++/4.2.1/ios:47,
:info:build                  from /usr/include/c++/4.2.1/ostream:45,
:info:build                  from /usr/include/c++/4.2.1/iostream:45,
:info:build                  from /opt/local/include/boost/assert.hpp:82,
:info:build                  from
/opt/local/include/boost/function/function_base.hpp:20,
:info:build                  from
/opt/local/include/boost/function/detail/prologue.hpp:17,
:info:build                  from
/opt/local/include/boost/function/function_template.hpp:13,
:info:build                  from
/opt/local/include/boost/function/detail/maybe_include.hpp:13,
:info:build                  from
/opt/local/include/boost/function/function0.hpp:11,
:info:build                  from
/opt/local/include/boost/python/errors.hpp:13,
:info:build                  from
/opt/local/include/boost/python/handle.hpp:11,
:info:build                  from
/opt/local/include/boost/python/args_fwd.hpp:10,
:info:build                  from
/opt/local/include/boost/python/args.hpp:10,
:info:build                  from /opt/local/include/boost/python.hpp:11,
:info:build                  from numpy_bind.hh:22,
:info:build                  from graph_bind.cc:19:
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:58:34: error: macro
"isspace" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:70:34: error: macro
"isupper" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:74:34: error: macro
"islower" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:78:34: error: macro
"isalpha" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:94:34: error: macro
"isalnum" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:102:34: error: macro
"toupper" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:106:34: error: macro
"tolower" passed 2 arguments, but takes just 1
:info:build In file included from
/usr/include/c++/4.2.1/bits/basic_ios.h:44,
:info:build                  from /usr/include/c++/4.2.1/ios:50,
:info:build                  from /usr/include/c++/4.2.1/ostream:45,
:info:build                  from /usr/include/c++/4.2.1/iostream:45,
:info:build                  from /opt/local/include/boost/assert.hpp:82,
:info:build                  from
/opt/local/include/boost/function/function_base.hpp:20,
:info:build                  from
/opt/local/include/boost/function/detail/prologue.hpp:17,
:info:build                  from
/opt/local/include/boost/function/function_template.hpp:13,
:info:build                  from
/opt/local/include/boost/function/detail/maybe_include.hpp:13,
:info:build                  from
/opt/local/include/boost/function/function0.hpp:11,
:info:build                  from
/opt/local/include/boost/python/errors.hpp:13,
:info:build                  from
/opt/local/include/boost/python/handle.hpp:11,
:info:build                  from
/opt/local/include/boost/python/args_fwd.hpp:10,
:info:build                  from
/opt/local/include/boost/python/args.hpp:10,
:info:build                  from /opt/local/include/boost/python.hpp:11,
:info:build                  from numpy_bind.hh:22,
:info:build                  from graph_bind.cc:19:
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:242:53: error: macro
"toupper" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:271:53: error: macro
"tolower" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:814:53: error: macro
"toupper" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:847:53: error: macro
"tolower" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4611:44: error:
macro "isspace" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4629:44: error:
macro "isupper" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4635:44: error:
macro "islower" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4641:44: error:
macro "isalpha" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4665:44: error:
macro "isalnum" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4677:44: error:
macro "toupper" passed 2 arguments, but takes just 1
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4683:44: error:
macro "tolower" passed 2 arguments, but takes just 1
:info:build In file included from /usr/include/c++/4.2.1/ios:47,
:info:build                  from /usr/include/c++/4.2.1/ostream:45,
:info:build                  from /usr/include/c++/4.2.1/iostream:45,
:info:build                  from /opt/local/include/boost/assert.hpp:82,
:info:build                  from
/opt/local/include/boost/function/function_base.hpp:20,
:info:build                  from
/opt/local/include/boost/function/detail/prologue.hpp:17,
:info:build                  from
/opt/local/include/boost/function/function_template.hpp:13,
:info:build                  from
/opt/local/include/boost/function/detail/maybe_include.hpp:13,
:info:build                  from
/opt/local/include/boost/function/function0.hpp:11,
:info:build                  from
/opt/local/include/boost/python/errors.hpp:13,
:info:build                  from
/opt/local/include/boost/python/handle.hpp:11,
:info:build                  from
/opt/local/include/boost/python/args_fwd.hpp:10,
:info:build                  from
/opt/local/include/boost/python/args.hpp:10,
:info:build                  from /opt/local/include/boost/python.hpp:11,
:info:build                  from numpy_bind.hh:22,
:info:build                  from graph_bind.cc:19:
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:58: error:
'std::isspace' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:58: error: template
declaration of 'bool std::isspace'
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:70: error:
'std::isupper' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:70: error: template
declaration of 'bool std::isupper'
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:74: error:
'std::islower' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:74: error: template
declaration of 'bool std::islower'
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:78: error:
'std::isalpha' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:78: error: template
declaration of 'bool std::isalpha'
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:94: error:
'std::isalnum' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:94: error: template
declaration of 'bool std::isalnum'
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:102: error:
'std::toupper' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:102: error: template
declaration of '_CharT std::toupper'
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:106: error:
'std::tolower' declared as an 'inline' variable
:info:build /usr/include/c++/4.2.1/bits/localefwd.h:106: error: template
declaration of '_CharT std::tolower'
:info:build In file included from
/usr/include/c++/4.2.1/bits/basic_ios.h:44,
:info:build                  from /usr/include/c++/4.2.1/ios:50,
:info:build                  from /usr/include/c++/4.2.1/ostream:45,
:info:build                  from /usr/include/c++/4.2.1/iostream:45,
:info:build                  from /opt/local/include/boost/assert.hpp:82,
:info:build                  from
/opt/local/include/boost/function/function_base.hpp:20,
:info:build                  from
/opt/local/include/boost/function/detail/prologue.hpp:17,
:info:build                  from
/opt/local/include/boost/function/function_template.hpp:13,
:info:build                  from
/opt/local/include/boost/function/detail/maybe_include.hpp:13,
:info:build                  from
/opt/local/include/boost/function/function0.hpp:11,
:info:build                  from
/opt/local/include/boost/python/errors.hpp:13,
:info:build                  from
/opt/local/include/boost/python/handle.hpp:11,
:info:build                  from
/opt/local/include/boost/python/args_fwd.hpp:10,
:info:build                  from
/opt/local/include/boost/python/args.hpp:10,
:info:build                  from /opt/local/include/boost/python.hpp:11,
:info:build                  from numpy_bind.hh:22,
:info:build                  from graph_bind.cc:19:
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:227: error: 'btowc'
is not a type
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:242: error: expected
';' before 'const'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:255: error: expected
`;' before 'char_type'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:256: error: 'btowc'
is not a type
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:271: error: expected
';' before 'const'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:287: error: expected
`;' before 'char_type'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h: In member function
'_CharT std::__ctype_abstract_base<_CharT>::towupper(int (*)(_CharT))
const':
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:228: error: '__c'
was not declared in this scope
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h: In member function
'_CharT std::__ctype_abstract_base<_CharT>::towlower(int (*)(_CharT))
const':
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:257: error: '__c'
was not declared in this scope
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h: At global scope:
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:797: error: 'btowc'
is not a type
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:814: error: expected
';' before 'const'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:829: error: expected
`;' before 'char_type'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:830: error: 'btowc'
is not a type
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:847: error: expected
';' before 'const'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:866: error: expected
`;' before 'char_type'
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h: In member function
'char std::ctype<char>::towupper(int (*)(char)) const':
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:798: error: '__c'
was not declared in this scope
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h: In member function
'char std::ctype<char>::towlower(int (*)(char)) const':
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:831: error: '__c'
was not declared in this scope
:info:build In file included from
/usr/include/c++/4.2.1/bits/basic_ios.h:44,
:info:build                  from /usr/include/c++/4.2.1/ios:50,
:info:build                  from /usr/include/c++/4.2.1/ostream:45,
:info:build                  from /usr/include/c++/4.2.1/iostream:45,
:info:build                  from /opt/local/include/boost/assert.hpp:82,
:info:build                  from
/opt/local/include/boost/function/function_base.hpp:20,
:info:build                  from
/opt/local/include/boost/function/detail/prologue.hpp:17,
:info:build                  from
/opt/local/include/boost/function/function_template.hpp:13,
:info:build                  from
/opt/local/include/boost/function/detail/maybe_include.hpp:13,
:info:build                  from
/opt/local/include/boost/function/function0.hpp:11,
:info:build                  from
/opt/local/include/boost/python/errors.hpp:13,
:info:build                  from
/opt/local/include/boost/python/handle.hpp:11,
:info:build                  from
/opt/local/include/boost/python/args_fwd.hpp:10,
:info:build                  from
/opt/local/include/boost/python/args.hpp:10,
:info:build                  from /opt/local/include/boost/python.hpp:11,
:info:build                  from numpy_bind.hh:22,
:info:build                  from graph_bind.cc:19:
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h: At global scope:
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4611: error:
function definition does not declare parameters
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4629: error:
function definition does not declare parameters
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4635: error:
function definition does not declare parameters
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4641: error:
function definition does not declare parameters
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4665: error:
function definition does not declare parameters
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4677: error:
function definition does not declare parameters
:info:build /usr/include/c++/4.2.1/bits/locale_facets.h:4683: error:
function definition does not declare parameters
:info:build In file included from
/opt/local/include/boost/algorithm/string/predicate.hpp:22,
:info:build                  from graph_util.hh:24,
:info:build                  from graph_filtering.hh:48,
:info:build                  from graph_python_interface.hh:27,
:info:build                  from graph_bind.cc:22:
:info:build /opt/local/include/boost/algorithm/string/compare.hpp: In member
function 'bool boost::algorithm::is_iequal::operator()(const T1&, const T2&)
const':
:info:build /opt/local/include/boost/algorithm/string/compare.hpp:71: error:
expected primary-expression before '>' token
:info:build /opt/local/include/boost/algorithm/string/compare.hpp:71: error:
expected primary-expression before '>' token
:info:build /opt/local/include/boost/algorithm/string/compare.hpp: In member
function 'bool boost::algorithm::is_iless::operator()(const T1&, const T2&)
const':
:info:build /opt/local/include/boost/algorithm/string/compare.hpp:124:
error: expected primary-expression before '>' token
:info:build /opt/local/include/boost/algorithm/string/compare.hpp:124:
error: expected primary-expression before '>' token
:info:build /opt/local/include/boost/algorithm/string/compare.hpp: In member
function 'bool boost::algorithm::is_not_igreater::operator()(const T1&,
const T2&) const':
:info:build /opt/local/include/boost/algorithm/string/compare.hpp:177:
error: expected primary-expression before '>' token
:info:build /opt/local/include/boost/algorithm/string/compare.hpp:177:
error: expected primary-expression before '>' token
:info:build   CXX    graph_io.lo
:info:build   CXX    graph_properties.lo
:info:build make[4]: *** [graph_bind.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.13"
&& /usr/bin/make -j4 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for graph-tool):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for graph-tool is at:
/opt/local/var/macports/logs/_Users_jannafierst_DarwinPorts_local-sources_science_graph-tool/main.log


--
View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/boost-tp2929562p2980667.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