Hello everyone,

I apologize if this is not the right place to post this issue. I am trying to install graph-tool on a RHEL7 within a virtualenv (I have Jupyterhub running on it).

================================================================================
CONFIGURATION SUMMARY
================================================================================
Using python version: 3.6.3
Python interpreter: /jupyter/bin/python
Installation path: /jupyter/lib/python3.6/site-packages/graph_tool

C++ compiler (CXX): g++ -std=gnu++17
C++ compiler version: 7

Prefix: /root/.local
Pkgconfigdir: ${libdir}/pkgconfig

Python CPP flags: -I/jupyter/lib/python3.6/site-packages/cairo/include -I/opt/rh/rh-python36/root/usr/include/python3.6m
Python LD flags: -L/opt/rh/rh-python36/root/usr/lib64 -lpython3.6m
Boost CPP flags: -pthread -I/usr/include
Boost LD flags: -L/usr/lib64 -lboost_iostreams-mt -lboost_python36 -lboost_regex-mt -lboost_context-mt
Numpy CPP flags: -I/jupyter/lib/python3.6/site-packages/numpy/core/include
Sparsehash CPP flags:
CGAL CPP flags: -I/usr/include
CGAL LD flags:
Expat CPP flags:
Expat LD flags: -lexpat
Cairomm CPP flags: -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/uuid -I/usr/include/libdrm
Cairomm LD flags: -lcairomm-1.0 -lcairo -lsigc-2.0
OpenMP compiler flags: -fopenmp
OpenMP LD flags:
Extra CPPFLAGS: -DNDEBUG
Extra CXXFLAGS: -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0
Extra LDFLAGS:

Using OpenMP: yes
Using sparsehash: yes
Using cairo: yes
================================================================================

However, when trying to install it, I receive the following errors (I truncated the output by adding the ellipsis):

(...)
blockmodel/graph_blockmodel_emat.hh:126:12: error: ‘graph_tool::EHash<boost::adj_list<long unsigned int> >::ehash_t {aka class gt_hash_map<long unsigned int, boost::detail::adj_edge_descriptor<long unsigned int>, std::hash<long unsigned int>, std::equal_to<long unsigned int>, std::allocator<std::pair<const long unsigned int, boost::detail::adj_edge_descriptor<long unsigned int> > > >}’ has no member named ‘min_load_factor’; did you mean ‘max_load_factor’?
         _h.min_load_factor(.25);
         ~~~^~~~~~~~~~~~~~~
         max_load_factor
(...)
blockmodel/graph_blockmodel_gibbs.cc:55:49:   required from here
blockmodel/graph_blockmodel_emat.hh:126:12: error: ‘graph_tool::EHash<boost::undirected_adaptor<boost::adj_list<long unsigned int> > >::ehash_t {aka class gt_hash_map<long unsigned int, boost::detail::adj_edge_descriptor<long unsigned int>, std::hash<long unsigned int>, std::equal_to<long unsigned int>, std::allocator<std::pair<const long unsigned int, boost::detail::adj_edge_descriptor<long unsigned int> > > >}’ has no member named ‘min_load_factor’; did you mean ‘max_load_factor’?
         _h.min_load_factor(.25);
         ~~~^~~~~~~~~~~~~~~
         max_load_factor
In file included from blockmodel/graph_blockmodel_util.hh:25:0,
                 from blockmodel/graph_blockmodel_gibbs.cc:23:
blockmodel/graph_blockmodel_entries.hh:453:6: error: ‘void graph_tool:
(...)
td::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >, std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> >}; size_t = long unsigned int]::<lambda(auto:127&)>’, is used but never defined [-fpermissive]
 void move_entries(Vertex v, size_t r, size_t nr, VProp& _b, Graph& g,
      ^~~~~~~~~~~~
blockmodel/graph_blockmodel_entries.hh:453:6: error: ‘void graph_tool::m
(...)
 int> > > >, boost::adj_list<long unsigned int>, std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >]::<lambda(auto:99, auto:100, auto:101&, auto:102, auto:103& ...)>’, is used but never defined [-fpermissive]
 void entries_op(MEntries& m_entries, EMat& emat, OP&& op)
      ^~~~~~~~~~
blockmodel/graph_blockmodel_entries.hh:485:6: error: ‘void graph_tool:
(...)
:vector<double, std::allocator<double> > >]::<lambda(auto:99, auto:100, auto:101&, auto:102, auto:103& ...)>’, is used but never defined [-fpermissive]
make[3]: *** [blockmodel/graph_blockmodel_gibbs.lo] Error 1
make[3]: Leaving directory `/jupyter/grapth-tool/graph-tool-2.43/src/graph/inference'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/jupyter/grapth-tool/graph-tool-2.43/src/graph'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/jupyter/grapth-tool/graph-tool-2.43/src'
make: *** [install-recursive] Error 1
(jupyter) [root@workstation /jupyter/grapth-tool/graph-tool-2.43]#

Please, let me know if it is possible to make any assumptions based on the above logs I shared. If not, let me know what you need and I will do my best to provide.

Thank you,

SAMUEL FUSATO

red hat CERTIFIED SYSTEM ADMINISTRATOR - RHCSA 8

Certification ID 210-168-829