Created
December 9, 2021 16:15
-
-
Save jsntn/ef16c658aeef04da45635209e9b5e32b to your computer and use it in GitHub Desktop.
Homebrew - install old version of GraphViz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ git:(master) ✗ brew tap-new jason/local-graphviz | |
Initialized empty Git repository in /usr/local/Homebrew/Library/Taps/jason/homebrew-local-graphviz/.git/ | |
[main (root-commit) 0d37a4f] Create jason/local-graphviz tap | |
3 files changed, 90 insertions(+) | |
create mode 100644 .github/workflows/publish.yml | |
create mode 100644 .github/workflows/tests.yml | |
create mode 100644 README.md | |
==> Created jason/local-graphviz | |
/usr/local/Homebrew/Library/Taps/jason/homebrew-local-graphviz | |
When a pull request making changes to a formula (or formulae) becomes green | |
(all checks passed), then you can publish the built bottles. | |
To do so, label your PR as `pr-pull` and the workflow will be triggered. | |
➜ ~ git:(master) ✗ brew extract --version=2.44.0 graphviz jason/local-graphviz | |
==> Searching repository history | |
==> Writing formula for graphviz from revision ca614dc to: | |
/usr/local/Homebrew/Library/Taps/jason/homebrew-local-graphviz/Formula/graphviz@2.44.0.rb | |
➜ ~ git:(master) ✗ brew install graphviz@2.44.0 | |
fatal: 'origin' does not appear to be a git repository | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
Running `brew update --preinstall`... | |
fatal: 'origin/master' is not a commit and a branch 'master' cannot be created from it | |
fatal: invalid upstream 'origin/master' | |
==> Auto-updated Homebrew! | |
Updated 1 tap (homebrew/core). | |
==> Updated Formulae | |
Updated 1 formula. | |
==> Downloading https://gitlab.com/graphviz/graphviz/-/commit/4b9079d9fc8634961d146609a420d674225dbe95.diff | |
######################################################################## 100.0% | |
==> Downloading https://www2.graphviz.org/Packages/stable/portable_source/graphviz-2.44.0.tar.gz | |
######################################################################## 100.0% | |
==> Installing graphviz@2.44.0 from jason/local-graphviz | |
Error: Your Command Line Tools are too outdated. | |
Update them from Software Update in System Preferences or run: | |
softwareupdate --all --install --force | |
If that doesn't show you any updates, run: | |
sudo rm -rf /Library/Developer/CommandLineTools | |
sudo xcode-select --install | |
Alternatively, manually download them from: | |
https://developer.apple.com/download/all/. | |
You should download the Command Line Tools for Xcode 13.1. | |
➜ ~ git:(master) ✗ softwareupdate --all --install --force | |
Software Update Tool | |
Finding available software | |
No updates are available. | |
➜ ~ git:(master) ✗ sudo rm -rf /Library/Developer/CommandLineTools | |
Password: | |
➜ ~ sudo xcode-select --install | |
xcode-select: note: install requested for command line developer tools | |
➜ ~ brew install graphviz@2.44.0 | |
fatal: 'origin' does not appear to be a git repository | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
Running `brew update --preinstall`... | |
fatal: 'origin/master' is not a commit and a branch 'master' cannot be created from it | |
fatal: invalid upstream 'origin/master' | |
==> Auto-updated Homebrew! | |
Updated 1 tap (homebrew/core). | |
==> Updated Formulae | |
Updated 6 formulae. | |
==> Downloading https://gitlab.com/graphviz/graphviz/-/commit/4b9079d9fc8634961d146609a420d674225dbe95.diff | |
Already downloaded: /Users/jason/Library/Caches/Homebrew/downloads/a51025ae31ffe13067aecac195503172cf495ed42995c87adb74b208c682b4eb--4b9079d9fc8634961d146609a420d674225dbe95.diff | |
==> Downloading https://www2.graphviz.org/Packages/stable/portable_source/graphviz-2.44.0.tar.gz | |
Already downloaded: /Users/jason/Library/Caches/Homebrew/downloads/085de7f01b2be52ff5d74600620beacadfb14be19937ebcae8926e558e12c6d9--graphviz-2.44.0.tar.gz | |
==> Installing graphviz@2.44.0 from jason/local-graphviz | |
==> Patching | |
==> Applying 4b9079d9fc8634961d146609a420d674225dbe95.diff | |
patching file lib/sfdpgen/PriorityQueue.c | |
==> ./configure --prefix=/usr/local/Cellar/graphviz@2.44.0/2.44.0 --disable-php --disable-swig --with-quartz --without-freetype2 --without-qt --without-x --with-gts | |
==> make install | |
🍺 /usr/local/Cellar/graphviz@2.44.0/2.44.0: 508 files, 12.3MB, built in 4 minutes 42 seconds | |
==> Running `brew cleanup graphviz@2.44.0`... | |
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. | |
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). | |
➜ ~ git:(master) ✗ java -jar ~/portable-binary/plantuml.jar -version | |
PlantUML version 1.2021.4 (Sun Apr 04 16:49:39 CST 2021) | |
(GPL source distribution) | |
Java Runtime: Java(TM) SE Runtime Environment | |
JVM: Java HotSpot(TM) 64-Bit Server VM | |
Default Encoding: UTF-8 | |
Language: en | |
Country: CN | |
PLANTUML_LIMIT_SIZE: 4096 | |
Dot version: dot - graphviz version 2.44.0 (20200408.0750) | |
Installation seems OK. File generation OK | |
➜ ~ git:(master) ✗ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment