graphtool compile error on F15

Hi folks, is anyone using graph-tool with Fedora 15?

Using Fedora 15 (gcc version 4.6.0 20110603) compiling the stable release or
the latest git fails for me:

# uname -a
Linux localhost.localdomain 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30
14:38:32 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

using boost 1.46.0

./configure --with-numpy=/usr/lib64/python2.7/site-packages/numpy
--with-scipy=/usr/lib64/python2.7/site-packages/scipy

make

/usr/include/boost/graph/graph_traits.hpp:222:47: error: no type named
'graph_property_type' in 'const class
boost::reverse_graph<boost::filtered_graph<boost::adjacency_list<boost::vecS,
boost::vecS, boost::bidirectionalS, boost::no_property,
boost::property<boost::edge_index_t, long unsigned int> >,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::adj_list_edge_property_map<boost::bidirectional_tag, long
unsigned int, long unsigned int&, long unsigned int,
boost::property<boost::edge_index_t, long unsigned int>,
boost::edge_index_t> > >,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::vec_adj_list_vertex_id_map<boost::no_property, long unsigned

> > >, const boost::filtered_graph<boost::adjacency_list<boost::vecS,

boost::vecS, boost::bidirectionalS, boost::no_property,
boost::property<boost::edge_index_t, long unsigned int> >,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::adj_list_edge_property_map<boost::bidirectional_tag, long
unsigned int, long unsigned int&, long unsigned int,
boost::property<boost::edge_index_t, long unsigned int>,
boost::edge_index_t> > >,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::vec_adj_list_vertex_id_map<boost::no_property, long unsigned

> > >&>'

make[4]: *** [graph_trust_transitivity.lo] Error 1
make[4]: Leaving directory `/home/default/graph-tool/src/graph/centrality'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/default/graph-tool/src/graph'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/default/graph-tool/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/default/graph-tool'
make: *** [all] Error 2
[user(a)localhost graph-tool]#

full make log http://pastebin.com/raw.php?i=iJCDihKs

Thank You,
Justin

attachment.html (2.67 KB)

Hi Justin,

yes sure,

make clean && make V=1 > graph-tool_git_make_log2.txt 2>&1

up at http://pastebin.com/raw.php?i=Y7Wn3W52

Justin

attachment.html (3.99 KB)

Hi,

Sorry for the late reply...

actually it's in /usr/lib64

[default(a)localhost]~% ls -alh /usr/lib64/libboost*
lrwxrwxrwx. 1 root root 31 Sep 17 18:30
/usr/lib64/libboost_date_time-mt.so -> libboost_date_time-mt.so.1.46.0
-rwxr-xr-x. 1 root root 67K Jun 23 15:25
/usr/lib64/libboost_date_time-mt.so.1.46.0
lrwxrwxrwx. 1 root root 28 Sep 17 18:30 /usr/lib64/libboost_date_time.so
-> libboost_date_time.so.1.46.0
-rwxr-xr-x. 1 root root 66K Jun 23 15:25
/usr/lib64/libboost_date_time.so.1.46.0
lrwxrwxrwx. 1 root root 32 Sep 17 18:30
/usr/lib64/libboost_filesystem-mt.so -> libboost_filesystem-mt.so.1.46.0
-rwxr-xr-x. 1 root root 118K Jun 23 15:25
/usr/lib64/libboost_filesystem-mt.so.1.46.0
lrwxrwxrwx. 1 root root 29 Sep 17 18:30 /usr/lib64/libboost_filesystem.so
-> libboost_filesystem.so.1.46.0
-rwxr-xr-x. 1 root root 118K Jun 23 15:25
/usr/lib64/libboost_filesystem.so.1.46.0
lrwxrwxrwx. 1 root root 27 Sep 17 18:30 /usr/lib64/libboost_graph-mt.so ->
libboost_graph-mt.so.1.46.0
-rwxr-xr-x. 1 root root 173K Jun 23 15:25
/usr/lib64/libboost_graph-mt.so.1.46.0
lrwxrwxrwx. 1 root root 24 Sep 17 18:30 /usr/lib64/libboost_graph.so ->
libboost_graph.so.1.46.0
-rwxr-xr-x. 1 root root 172K Jun 23 15:25
/usr/lib64/libboost_graph.so.1.46.0
lrwxrwxrwx. 1 root root 31 Sep 17 18:30
/usr/lib64/libboost_iostreams-mt.so -> libboost_iostreams-mt.so.1.46.0
-rwxr-xr-x. 1 root root 100K Jun 23 15:25
/usr/lib64/libboost_iostreams-mt.so.1.46.0
lrwxrwxrwx. 1 root root 28 Sep 17 18:30 /usr/lib64/libboost_iostreams.so
-> libboost_iostreams.so.1.46.0
-rwxr-xr-x. 1 root root 99K Jun 23 15:25
/usr/lib64/libboost_iostreams.so.1.46.0
lrwxrwxrwx. 1 root root 38 Sep 17 18:30
/usr/lib64/libboost_prg_exec_monitor-mt.so ->
libboost_prg_exec_monitor-mt.so.1.46.0
-rwxr-xr-x. 1 root root 55K Jun 23 15:25
/usr/lib64/libboost_prg_exec_monitor-mt.so.1.46.0
lrwxrwxrwx. 1 root root 35 Sep 17 18:30
/usr/lib64/libboost_prg_exec_monitor.so ->
libboost_prg_exec_monitor.so.1.46.0
-rwxr-xr-x. 1 root root 55K Jun 23 15:25
/usr/lib64/libboost_prg_exec_monitor.so.1.46.0
lrwxrwxrwx. 1 root root 37 Sep 17 18:30
/usr/lib64/libboost_program_options-mt.so ->
libboost_program_options-mt.so.1.46.0
-rwxr-xr-x. 1 root root 388K Jun 23 15:25
/usr/lib64/libboost_program_options-mt.so.1.46.0
lrwxrwxrwx. 1 root root 34 Sep 17 18:30
/usr/lib64/libboost_program_options.so -> libboost_program_options.so.1.46.0
-rwxr-xr-x. 1 root root 388K Jun 23 15:25
/usr/lib64/libboost_program_options.so.1.46.0
lrwxrwxrwx. 1 root root 28 Sep 17 18:30 /usr/lib64/libboost_python-mt.so
-> libboost_python-mt.so.1.46.0
-rwxr-xr-x. 1 root root 304K Jun 23 15:25
/usr/lib64/libboost_python-mt.so.1.46.0
lrwxrwxrwx. 1 root root 25 Sep 17 18:30 /usr/lib64/libboost_python.so ->
libboost_python.so.1.46.0
-rwxr-xr-x. 1 root root 304K Jun 23 15:25
/usr/lib64/libboost_python.so.1.46.0
lrwxrwxrwx. 1 root root 28 Sep 17 18:30 /usr/lib64/libboost_random-mt.so
-> libboost_random-mt.so.1.46.0
-rwxr-xr-x. 1 root root 8.7K Jun 23 15:25
/usr/lib64/libboost_random-mt.so.1.46.0
lrwxrwxrwx. 1 root root 25 Sep 17 18:30 /usr/lib64/libboost_random.so ->
libboost_random.so.1.46.0
-rwxr-xr-x. 1 root root 8.7K Jun 23 15:25
/usr/lib64/libboost_random.so.1.46.0
lrwxrwxrwx. 1 root root 27 Sep 17 18:30 /usr/lib64/libboost_regex-mt.so ->
libboost_regex-mt.so.1.46.0
-rwxr-xr-x. 1 root root 1.1M Jun 23 15:25
/usr/lib64/libboost_regex-mt.so.1.46.0
lrwxrwxrwx. 1 root root 24 Sep 17 18:30 /usr/lib64/libboost_regex.so ->
libboost_regex.so.1.46.0
-rwxr-xr-x. 1 root root 1.1M Jun 23 15:25
/usr/lib64/libboost_regex.so.1.46.0
lrwxrwxrwx. 1 root root 35 Sep 17 18:30
/usr/lib64/libboost_serialization-mt.so ->
libboost_serialization-mt.so.1.46.0
-rwxr-xr-x. 1 root root 436K Jun 23 15:25
/usr/lib64/libboost_serialization-mt.so.1.46.0
lrwxrwxrwx. 1 root root 32 Sep 17 18:30
/usr/lib64/libboost_serialization.so -> libboost_serialization.so.1.46.0
-rwxr-xr-x. 1 root root 436K Jun 23 15:25
/usr/lib64/libboost_serialization.so.1.46.0
lrwxrwxrwx. 1 root root 29 Sep 17 18:30 /usr/lib64/libboost_signals-mt.so
-> libboost_signals-mt.so.1.46.0
-rwxr-xr-x. 1 root root 85K Jun 23 15:25
/usr/lib64/libboost_signals-mt.so.1.46.0
lrwxrwxrwx. 1 root root 26 Sep 17 18:30 /usr/lib64/libboost_signals.so ->
libboost_signals.so.1.46.0
-rwxr-xr-x. 1 root root 85K Jun 23 15:25
/usr/lib64/libboost_signals.so.1.46.0
lrwxrwxrwx. 1 root root 28 Sep 17 18:30 /usr/lib64/libboost_system-mt.so
-> libboost_system-mt.so.1.46.0
-rwxr-xr-x. 1 root root 13K Jun 23 15:25
/usr/lib64/libboost_system-mt.so.1.46.0
lrwxrwxrwx. 1 root root 25 Sep 17 18:30 /usr/lib64/libboost_system.so ->
libboost_system.so.1.46.0
-rwxr-xr-x. 1 root root 13K Jun 23 15:25
/usr/lib64/libboost_system.so.1.46.0
lrwxrwxrwx. 1 root root 28 Sep 17 18:30 /usr/lib64/libboost_thread-mt.so
-> libboost_thread-mt.so.1.46.0
-rwxr-xr-x. 1 root root 98K Jun 23 15:25
/usr/lib64/libboost_thread-mt.so.1.46.0
lrwxrwxrwx. 1 root root 41 Sep 17 18:30
/usr/lib64/libboost_unit_test_framework-mt.so ->
libboost_unit_test_framework-mt.so.1.46.0
-rwxr-xr-x. 1 root root 641K Jun 23 15:25
/usr/lib64/libboost_unit_test_framework-mt.so.1.46.0
lrwxrwxrwx. 1 root root 38 Sep 17 18:30
/usr/lib64/libboost_unit_test_framework.so ->
libboost_unit_test_framework.so.1.46.0
-rwxr-xr-x. 1 root root 641K Jun 23 15:25
/usr/lib64/libboost_unit_test_framework.so.1.46.0
lrwxrwxrwx. 1 root root 26 Sep 17 18:30 /usr/lib64/libboost_wave-mt.so ->
libboost_wave-mt.so.1.46.0
-rwxr-xr-x. 1 root root 1.3M Jun 23 15:25
/usr/lib64/libboost_wave-mt.so.1.46.0
lrwxrwxrwx. 1 root root 36 Sep 17 18:30
/usr/lib64/libboost_wserialization-mt.so ->
libboost_wserialization-mt.so.1.46.0
-rwxr-xr-x. 1 root root 316K Jun 23 15:25
/usr/lib64/libboost_wserialization-mt.so.1.46.0
lrwxrwxrwx. 1 root root 33 Sep 17 18:30
/usr/lib64/libboost_wserialization.so -> libboost_wserialization.so.1.46.0
-rwxr-xr-x. 1 root root 316K Jun 23 15:25
/usr/lib64/libboost_wserialization.so.1.46.0

[default(a)localhost]~% yum info boost

Installed Packages
Name : boost
Arch : x86_64
Version : 1.46.0
Release : 3.fc15
Size : 0.0
Repo : installed

From repo : updates

Summary : The free peer-reviewed portable C++ source libraries
URL : http://www.boost.org
License : Boost

so I cloned a new copy of the git repo and ran:

./configure --with-boost-libdir=/usr/lib64
--with-numpy=/usr/lib64/python2.7/site-packages/numpy
--with-scipy=/usr/lib64/python2.7/site-packages/scipy

but make failed with the same error.

"/usr/include/boost/graph/graph_traits.hpp:222:47: error: no type named
'graph_property_type'"

Thanks!
-Justin

attachment.html (8.31 KB)

actually it's in /usr/lib64

I was actually thinking about the include files, which should lie in
/usr/include. But if you have a default install of the boost package,
there is no reason to suppose things are wrongly installed.

[default(a)localhost]~% yum info boost

Installed Packages
Name : boost
Arch : x86_64
Version : 1.46.0
Release : 3.fc15
Size : 0.0
Repo : installed
From repo : updates
Summary : The free peer-reviewed portable C++ source libraries
URL : http://www.boost.org
License : Boost

so I cloned a new copy of the git repo and ran:

./configure --with-boost-libdir=/usr/lib64 --with-numpy=/usr/lib64/python2.7/site-packages/numpy --with-scipy=/usr/lib64/python2.7/site-packages/scipy

but make failed with the same error.

"/usr/include/boost/graph/graph_traits.hpp:222:47: error: no type named 'graph_property_type'"

I have currently no explanation for this... Could you please send me the
following files from your system:

    /usr/include/boost/graph/filtered_graph.hpp
    /usr/include/boost/graph/reverse_graph.hpp

Thanks,
Tiago

Ok, They are attached.

Much appreciated!

-Justin

attachment.html (2.29 KB)

filtered_graph.hpp (19.6 KB)

reverse_graph.hpp (12 KB)