8000 graphviz not optional? · Issue #7 · grocsvs/grocsvs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

graphviz not optional? #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stetner opened this issue Jul 24, 2017 · 2 comments
Closed

graphviz not optional? #7

stetner opened this issue Jul 24, 2017 · 2 comments

Comments

@stetner
Copy link
stetner commented Jul 24, 2017

Hi,

I am trying to install without graphviz as it will not compile on my centos6.9 box, but get a failure on pygraphviz. So not really 'optional'??

Thanks,

creating build/temp.linux-x86_64-2.7/pygraphviz
/opt/Modules/gcc/5.2.0/bin/gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/pkg/2015Q2/include/graphviz -I/shares/common/users/d.stetner/build/anac/include/python2.7 -c pygraphviz/graphviz_wrap.c -o build/temp.linux-x86_64-2.7/pygraphviz/graphviz_wrap.o
pygraphviz/graphviz_wrap.c:2954:29: fatal error: graphviz/cgraph.h: No such file or directory
 #include "graphviz/cgraph.h"
                             ^
compilation terminated.
error: command '/opt/Modules/gcc/5.2.0/bin/gcc' failed with exit status 1
@nspies
Copy link
Member
nspies commented Jul 24, 2017

This is an unfortunate issue with python packaging -- there isn't a simple way to instruct a package to be installed if possible but continue if it fails. As you seem to have noted, removing pygraphviz from the setup.py requirements will allow you to install fine without pygraphviz/graphviz and I'm pretty sure everything will also run okay without them though the graphs describing complex events won't be visualized.

I'll update the readme to indicate that graphviz needs to be installed for pygraphviz to work.

For what it's worth, I think there should be an rpm of graphviz for your version of centos that would work. Haven't tried it myself, though.

@nspies
Copy link
Member
nspies commented Jul 24, 2017

closed by a927727

@nspies nspies closed this as completed Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2F59 Development

No branches or pull requests

2 participants
0