Hello Tiago et al,

Thanks for your prompt reply and sorry about the delay. I have installed
the mandatory packages as per your instructions in the Installation
Instructions (Gitlab) and followed this ticket: (
https://git.skewed.de/count0/graph-tool/-/issues/127). It worked afterwards.

# GCC version
[root@ /jupyter]# gcc --version | grep gcc
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)

# Boost (outside the virtualenv I have v1.55).
[root@ /jupyter]# cat
/jupyter/lib/python3.6/site-packages/include/boost/version.hpp  | grep
"BOOST_LIB_VERSION"
//  BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
#define BOOST_LIB_VERSION "1_77"

# Sparehash
[root@ /jupyter]# rpm -qa | grep sparsehash
sparsehash-devel-2.0.3-3.1.x86_64

Thanks.

Best Regards,
Samuel

Il giorno gio 11 nov 2021 alle ore 08:58 Tiago de Paula Peixoto <
[email protected]> ha scritto:

> Dear Samuel,
>
> Could you please provide your exact version of GCC, Boost and sparsehash?
>
> Please also provide us, in attachements, the complete output of the
> ./configure script, the full contents of the config.log file, and the
> entire output (not truncated) of the make command?
>
> Best,
> Tiago
>
> Am 11.11.21 um 00:28 schrieb Samuel Fusato:
> > 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
> > <
> https://rhtapps.redhat.com/certifications/badge/verify/D5UDWS5NEBPLMO5ZTQQZHQIERQAEQU3CUPSQX2KSDXT6RW46LQ3T7ULZ55KZZ56SKO7EQ3ETTLYZQ4U5NQYTCNA62RUWOCM34WWBUYQ=>
>
> >
> > <https://redhat.com/trusted>
> >
> >
> >
> >
> > _______________________________________________
> > graph-tool mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
> >
>
>
> --
> Tiago de Paula Peixoto <[email protected]>
> _______________________________________________
> graph-tool mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
graph-tool mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to