Is there a way to install graph-tool in Sierra? Homebrew fails to install
properly for both python2 and python3; see the above posts. 

I tried to install from source using 

./configure PYTHON=python2 (executed successfully)
make (crashed after 10 min or so with the following error)

Kimons-MacBook-Pro:graph-tool-2.25 kimonfountoulakis$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
Making all in graph
Making all in centrality
make[4]: Nothing to be done for `all'.
Making all in clustering
make[4]: Nothing to be done for `all'.
Making all in correlations
make[4]: Nothing to be done for `all'.
Making all in draw
make[4]: Nothing to be done for `all'.
Making all in flow
make[4]: Nothing to be done for `all'.
Making all in generation
make[4]: Nothing to be done for `all'.
Making all in inference
  CXX      blockmodel/graph_blockmodel.lo
In file included from blockmodel/graph_blockmodel.cc:24:
In file included from blockmodel/graph_blockmodel.hh:28:
../../../src/graph/openmp_lock.hh:52:75: error: 'lock' is a private member
of 'openmp_mutex'
    explicit scoped_lock(openmp_mutex& m) : _mut(m), _locked(true) {
_mut.lock(); }
                                                                          ^
../../../src/graph/openmp_lock.hh:44:9: note: implicitly declared private
here
   void lock() {}
        ^
../../../src/graph/openmp_lock.hh:54:63: error: 'unlock' is a private member
of 'openmp_mutex'
    void unlock()  { if(!_locked) return; _locked=false; _mut.unlock(); }
                                                              ^
../../../src/graph/openmp_lock.hh:45:9: note: implicitly declared private
here
   void unlock() {}
        ^
../../../src/graph/openmp_lock.hh:55:47: error: 'lock' is a private member
of 'openmp_mutex'
    void lock()    { if(_locked) return; _mut.lock(); _locked=true; }
                                              ^
../../../src/graph/openmp_lock.hh:44:9: note: implicitly declared private
here
   void lock() {}
        ^
In file included from blockmodel/graph_blockmodel.cc:24:
blockmodel/graph_blockmodel.hh:300:31: warning: unknown attribute
'fallthrough' ignored [-Wunknown-attributes]
                            [[gnu::fallthrough]];
                              ^
blockmodel/graph_blockmodel.hh:667:23: warning: unknown attribute
'fallthrough' ignored [-Wunknown-attributes]
                    [[gnu::fallthrough]];
                      ^
blockmodel/graph_blockmodel.hh:760:23: warning: unknown attribute
'fallthrough' ignored [-Wunknown-attributes]
                    [[gnu::fallthrough]];
                      ^
3 warnings and 3 errors generated.
make[4]: *** [blockmodel/graph_blockmodel.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Please let me know if there is any workaround. I really want to use
graph-tool in my work.
 



--
Sent from: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to