Just did a brew install graphviz on Mountain Lion which gave me this error
Error: Failed executing: make install (graphviz.rb:47)
Thought I'd just uninstall it, so ran brew uninstall graphviz but got
Error: No such keg: /usr/local/Cellar/graphviz
Then thought I'd try brew doctor, but it gives me this error:
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib /usr/local/lib/libcgraph.6.dylib /usr/local/lib/libgvc.6.dylib /usr/local/lib/libgvpr.2.dylib /usr/local/lib/libpathplan.4.dylib /usr/local/lib/libxdot.4.dylib
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/libcdt.pc /usr/local/lib/pkgconfig/libcgraph.pc /usr/local/lib/pkgconfig/libgvc.pc /usr/local/lib/pkgconfig/libgvpr.pc /usr/local/lib/pkgconfig/libpathplan.pc /usr/local/lib/pkgconfig/libxdot.pc
Any ideas how to fix this?
Try running these:
brew install libtool
Then try reinstalling graphviz.
And then check this out:
xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion
Related
I have been trying to install TBB using Homebrew on my MacOS Ventura Hackintosh (AMD) and I have been unable to even install anything using Homebrew. Here's the output of running brew install tbb sam#adsl ~ % brew install tbb Warning: No available formula with the name "tbb". ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps.
Any tips? Thanks!
Your brew installation seems corrupt.
Run these commands to resolve and fix issue:
% brew update
% brew upgrade
% brew doctor
Doctor can report a number of warnings:
Warning: You have unlinked kegs in your Cellar.
You may wish to link these or uninstall these.
Warning: /usr/bin occurs before /opt/homebrew/bin in your PATH.
You may wish to modify your PATH to put homebrew first.
I am trying to install php 7.4 on MacOS Sierra with
brew install php#7.4
After the warning saying macOS 10.12 is unsupported I get this error:
Error: An exception occurred within a child process:
Errno::ENOENT: No such file or directory # rb_sysopen - configure
brew doctor say:
Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
python#2
Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
python#2
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
Is there a way to solve this problem?
Steps to fix
First step, and most important (unless you have a very good reason not to) : Upgrade macOS to the latest available version for your hardware. See https://en.wikipedia.org/wiki/MacOS#Hardware_compatibility
Run brew link python#2
Run brew install php#7.4
I am trying to install watchman on macOS according to the official docs via homebrew.
I am getting the following error:
❯ brew install watchman
Error: automake:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb:29:
unknown regexp options - har
==> Searching for similarly named formulae... This similarly named formula was found: automake To install it, run: brew install
automake
==> Searching taps... Error: No formulae found in taps.
I did run brew update before that. Also, I did run brew install automake. Neither helped.
Question: What seems to be the problem here? Am I missing dependencies?
Recently, I updated all my gems, and received this message:
~/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/ext/builder.rb:73: warning: Insecure world writable dir /usr/local in PATH, mode 040777
What is the meaning of this?
I'm learning Ruby, and received this after running my Rails app:
$ gem update
or:
$ rails server
I ran:
$ brew doctor
and got this message:
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/jack.pc
Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
~/.nvm/v0.10.28/lib/node_modules/coffee-script/bin/
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
freetype
But for some reason that I don't know, if I do this, I have problems with TeXShop (I did this, and it returned to normal when I ran $ brew link freetype.)
So I ran:
$ brew update
$ brew doctor
and the problem persisted.
The jack installed is jackosx
I'm trying to reinstall Homebrew and the installation is successfull up to when I try typing 'brew doctor' to which I receive this message:
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 26: /usr/local/Library/brew.rb: Undefined error: 0
I definitely think this may be something wrong with one of my .profile files, but I can't seem to figure out what to do. I've manually compiled Ruby because I accidentally screwed that installation up, and I've installed RVM.
In RVM, running 'rvm install ruby' gives me the same error as above, along with this one below:
ERROR: '/bin' is not writable - it is required for Homebrew, try 'brew doctor' to fix it!
Requirements installation failed with status: 1.
I've tried to run
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
to delete Homebrew but I get the same error as listed above.
I've spent a few hours trying to solve this mess but I'm getting no where and just cluttering my system with broken installations. Any advice on how to finally solve this would be greatly appreciated.
I ran into the same problem. The program /usr/local/Library/brew.rb calls an old version of the ruby interpreter, that no longer exists due to a recent MacOS X upgrade:
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0
Change that to:
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0
Then run:
$ brew update
You will have to clean up a bunch of git related problems in /usr/local/Library, basically you need to make a commit of your changed version of brew.rb, but there may be other things git will complain about. I was able to salvage my brew installation in this manner.