Admin message

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

Please check if the current git version also has the same problem. An easy way to do this is to use google colab!

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please fill out the required information listed in the issue template!

graph-tool-2.37 compilation failure

Bug reports:

Please follow the general troubleshooting steps first:

  • Are you running the latest graph-tool version?
  • Do you observe the problem with the current git version?
  • Are you using Macports or Homebrew? If yes, please submit an issue there instead: https://github.com/Homebrew/brew/issues and https://trac.macports.org/newticket
  • Did you compile graph-tool manually?
  • If you answered yes above, did you use the exact same compiler to build graph-tool, boost-python and Python?

graph-tool fails with this message. Maybe a boost update is the problem:

graph_correlations.hh:113:27: error: ‘greater’ in namespace ‘boost::mpl’ does not name a template type
  113 |             typename mpl::greater<typename mpl::sizeof_<Type1>::type,

This should be this structure. I also have this file in my system: /usr/include/boost/mpl/greater.hpp, Content:

#ifndef BOOST_MPL_GREATER_HPP_INCLUDED
#define BOOST_MPL_GREATER_HPP_INCLUDED

// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0. 
// (See accompanying file LICENSE_1_0.txt or copy at 
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.

// $Id$
// $Date$
// $Revision$

#define AUX778076_OP_NAME greater
#define AUX778076_OP_TOKEN >
#include <boost/mpl/aux_/comparison_op.hpp>

#endif // BOOST_MPL_GREATER_HPP_INCLUDED

Do not forget to supply the following information:

  • A minimal and self-contained example that shows the problem. Just compile the library.

  • Your operating system. Gentoo Linux. I use the distribution packages. I have attached the build.logs that show the problem.

  • The Python version you are using. I'm compiling against Python 3.8 and 3.9.

  • If you compiled graph-tool manually: Your compiler version, as well as the version of Boost being used. Compiler: GCC 10.3.0 Boost: 1.76.0

  • If you are reporting a compilation error, please provide the entire ./configure output, as well as the entire contents of the config.log file and the entire compilation output.

    • graph-tool-2.37 build.log
    • graph-tool-9999 (git head) build.log

It may be that this is a packaging error from my distribution. Please say it then and I will report a bug in my distribution.

Assignee Loading
Time tracking Loading