Skip to content
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

re graphviz on MacIntosh #25

Open
paseman opened this issue Jan 11, 2021 · 3 comments
Open

re graphviz on MacIntosh #25

paseman opened this issue Jan 11, 2021 · 3 comments

Comments

@paseman
Copy link

paseman commented Jan 11, 2021

I did
158 conda uninstall graphviz
from https://brew.sh/ I did
159 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
giving
Error:
homebrew-core is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Failed during: /usr/local/bin/brew update --force --quiet

So, as the message said, I ran
160 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
followed by
161 brew install graphviz --with-gts
giving
Error: invalid option: --with-gts

The only thing I see that explains this is this medium article.
https://medium.com/@scrossoracle/building-graphviz-from-source-on-macos-b6a846d73949

Now, before I dive headlong into this crap, I'd like to make sure: Is this the correct direction?
Thanks.

@gregversteeg
Copy link
Owner

Ha! I totally agree that this is a headache. Graphviz is only used for one thing in the visualization: to render a graph. The "with-gts" option is only required to make slightly prettier graphs. So I don't think it's worth the bother.
You can just ignore the error about "triangulation library". To look at the graphs you can find the output graphs/tree.dot, etc. Those dot files specify a graph and they can be rendered using other, more modern software like OmniGraffle.

@gregversteeg
Copy link
Owner

(And I also hate using homebrew, and have no idea how it works. I vaguely remember that the last time I got this to work I did something like "brew install gts" and then "brew install graphviz" (without the option) and it got it right.)

@paseman
Copy link
Author

paseman commented Jan 12, 2021

"brew install gts" and then "brew install graphviz" (without the option) let's me run the baby example without triangulation errors.
On to the next example.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants