I install japer on MacOs Sierra
.
.
Pouring jasper-2.0.12.sierra.bottle.tar.gz
/usr/local/Cellar/jasper/2.0.12: 39 files, 996.3KB
I already Installed Imagemagick with the path
/usr/local/Cellar/imagemagick/7.0.5-3 and delete it
with the help of
https://gist.github.com/facto/7156583
but when I try
brew install imagemagick --with-jasper
brew install imagemagick --with-jasper
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
elasticsearch logstash openmotif
Error: You must `brew link libtool` before imagemagick can be installed
`. on my system.
I got the error and solve with
brew link --overwrite libtool
I install again but ignore --with-jasper
imagemagick: this formula has no --with-jasper option so it will be
ignored!
Any idea How can I use jasper with Imagemagick
Related
I run the following code, which show that there are no openssl repo find in brew.
My Mac is macOS Big Sur 11.3.1
% brew install openssl
Updating Homebrew...
fatal: Could not resolve HEAD to a revision
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.
Warning: No available formula or cask with the name "openssl".
==> 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...
This formula was found in a tap:
homebrew/portable-ruby/portable-openssl
To install it, run:
brew install homebrew/portable-ruby/portable-openssl
UPDATE
Seems that my brew can't install ccache either like the following. It is more of a brew issue?
brew install ccache
try this put it in terminal and run:
brew uninstall openssl; brew uninstall openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
The following commands help
cd /usr/local/Homebrew/Library/Taps/homebrew/
rm -rf homebrew-core
git clone https://github.com/Homebrew/homebrew-core.git
try this:
git -C $(brew --repo homebrew/core) checkout master
^This should be the fix anytime you see the error "Could not resolve HEAD to a revision, as you may find at the bottom of the output when running "brew doctor"
$ brew install emacs
Updating Homebrew...
Warning: Treating emacs as a formula. For the cask, use homebrew/cask/emacs
==> Downloading https://homebrew.bintray.com/bottles/emacs-27.1.mojave.bottle.1.tar.gz
Already downloaded: /Users/xxx/Library/Caches/Homebrew/downloads/edc19e2cbf4d5136f0e31adfb9c57161b65dd8163f861a92e10bfd617d1d611c--emacs-27.1.mojave.bottle.1.tar.gz
==> Pouring emacs-27.1.mojave.bottle.1.tar.gz
==> emacs cask is installed, skipping link.
==> Caveats
To have launchd start emacs now and restart at login:
brew services start emacs
Or, if you don't want/need a background service you can just run:
emacs
==> Summary
🍺 /usr/local/Cellar/emacs/27.1: 4,009 files, 104.0MB
==> Upgrading 1 dependent:
cask 0.8.4 -> 0.8.5
==> Upgrading cask 0.8.4 -> 0.8.5
==> Downloading https://github.com/cask/cask/archive/v0.8.5.tar.gz
==> Downloading from https://codeload.github.com/cask/cask/tar.gz/v0.8.5
######################################################################## 100.0%
Error: An exception occurred within a child process:
RuntimeError: /usr/local/opt/emacs not present or broken
Please reinstall emacs. Sorry :(
How to fix this?
By looking at the output, it seems emacs actually got installed:
==> Summary
🍺 /usr/local/Cellar/emacs/27.1: 4,009 files, 104.0MB
You should be able to use it straight away.
If you prefer a GUI version, you can install it with:
brew install --cask emacs
The problem
Error: An exception occurred within a child process:
RuntimeError: /usr/local/opt/emacs not present or broken
Please reinstall emacs. Sorry :(
It's another tool, cask, which fails to install:
It cannot find the emacs dir under /usr/local/opt/emacs.
Homebrew installed it at /usr/local/Cellar/emacs/27.1.
The fix
You can fix it by:
(Recommended) Creating a symlink in /usr/local/opt/ to emacs directory
$ brew link --overwrite emacs # if it complains about relinking, run brew unlink emacs && brew link emacs instead
$ brew install cask
(Alternative) If the previous point didn't help, ignoring dependencies while installing cask
$ brew install cask --ignore-dependencies
Please let me know if it helped
I installed brew and installed java, then tried installing Scala using the following command. I got the error
brew cask install scala
Error: Cask 'scala' is unavailable: No Cask with this name exists. Did you mean one of:
scala-ide
Error: Install incomplete.
Then I tried using this command brew install Caskroom/cask/scala-ide. Then I installed spark and SBT. Now the issue is I cannot open Scala. I can open spark, but not Scala. But brew confirms that Scala is installed.
I try this command
brew install Caskroom/cask/scala-ide
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
getdns
==> brew cask install Caskroom/cask/scala-ide
Warning: Cask 'scala-ide' is already installed.
To re-install scala-ide, run:
brew cask reinstall scala-ide
How do I open Scala if it is already installed.
I want install search engine elasticsearch in OS X 10.11.6
I read some blog
in my command line
brew install elasticsearch
and it show error(needs java)
elasticsearch: Java 1.7+ is required to install this formula.
You can install with Homebrew Cask:
brew install Caskroom/cask/java
You can download from:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Error: An unsatisfied requirement failed this build.
I flow this blog's solution
brew tap caskroom/cask
and show
Warning: Tap caskroom/cask already tapped.
second command
brew install brew-cask
it show error
Error: No available formula with the name "brew-cask"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
This formula was found in a tap:
Caskroom/cask/brew-cask-completion
To install it, run:
brew install Caskroom/cask/brew-cask-completion
==> You haven't updated Homebrew in a while.
A formula for brew-cask might have been added recently.
Run `brew update` to get the latest Homebrew updates!
and i install java
brew cask install java
but cask doesn't install
==> brew cask install Caskroom/cask/brew-cask-completion
Error: Unknown command: cask
and Some blog give me some advice
brew upgrade brew-cask
it show error
Error: No available formula with the name "brew-cask"
if fact I can't understand why my mac can't find cask...
please somebody helpme
Problem Solved I need to brew update
brew update
Try this works for me.
I thought it's brew update install package command,
brew install --cask java
I'm having problems to install imagemacgick and rmagick
➜ scripts brew install imagemagick
Error: You must `brew link freetype' before imagemagick can be installed
➜ scripts brew install freetype
Warning: freetype-2.5.3_1 already installed
➜ scripts brew unlink freetype && brew link freetype
Unlinking /usr/local/Cellar/freetype/2.5.3_1... 1 symlinks removed
Linking /usr/local/Cellar/freetype/2.5.3_1... Error: No such file or directory - /usr/local/Cellar/freetype/2.5.3/include/freetype2
brew remove freetype && brew install freetype
Uninstalling /usr/local/Cellar/freetype/2.5.3_1...
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.3
Already downloaded: /Library/Caches/Homebrew/freetype-2.5.3_1.mavericks.bottle.1.tar.gz
==> Pouring freetype-2.5.3_1.mavericks.bottle.1.tar.gz
Error: An unexpected error occurred during the brew link step
The formula built, but is not symlinked into /usr/local
No such file or directory - /usr/local/Cellar/freetype/2.5.3/include/freetype2
Error: No such file or directory - /usr/local/Cellar/freetype/2.5.3/include/freetype2
There is some problem with freetype
I've found a solution here:
brew uninstall freetype
brew install https://raw.github.com/mxcl/homebrew/04406ae9a0aa093aaaf61ab06dc1d81672c41fee/Library/Formula/freetype.rb
brew install freetype
brew install imagemagick
It worked for me
Update:
It seems it's not recommended to checkout the repository directly and you can install by using a link with the revision hash
I've updated my answer accordingly
Also, please note that i've used a more recent hash than the one in the link, otherwise imagemagick will complain about the version of libfreetype.6.dylib