Skip to content

Instantly share code, notes, and snippets.

@pepsin
Created May 10, 2012 12:34
Show Gist options
  • Save pepsin/2652780 to your computer and use it in GitHub Desktop.
Save pepsin/2652780 to your computer and use it in GitHub Desktop.
Error while install gs(ghostscript).
BigBrain: Pepsin$ brew install gs
==> Downloading http://fossies.org/unix/misc/ghostscript-9.05.tar.gz/
######################################################################## 100.0%
Error: No such file or directory - jpeg or jpeg_local
BigBrain: Pepsin$ ls $(brew --cellar jpeg)
8d
BigBrain: Pepsin$ brew info jpeg
jpeg 8d
http://www.ijg.org
/usr/local/Cellar/jpeg/8d (18 files, 1.3M) *
https://github.com/mxcl/homebrew/commits/master/Library/Formula/jpeg.rb
BigBrain: Pepsin$ brew cat jpeg
require 'formula'
class Jpeg < Formula
url 'http://www.ijg.org/files/jpegsrc.v8d.tar.gz'
sha1 'f080b2fffc7581f7d19b968092ba9ebc234556ff'
homepage 'http://www.ijg.org'
version '8d'
def install
ENV.universal_binary # Builds universal libs. Default is static & shared.
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end
BigBrain: Pepsin$ cd /usr/Local/Library
BigBrain:Library Pepsin$ ls -lR | grep "jpeg/8c"
BigBrain:Library Pepsin$ find . | grep jpeg
./Aliases/libjpeg
./Formula/jpeg.rb
./Formula/jpeginfo.rb
./Formula/jpegoptim.rb
./Formula/mjpegtools.rb
./Formula/openjpeg.rb
./LinkedKegs/jpeg
BigBrain:Library Pepsin$ brew link jpeg
Warning: Already linked: /usr/local/Cellar/jpeg/8d
BigBrain:Library Pepsin$ brw install gs
bash: brw: command not found
BigBrain:Library Pepsin$ brew install gs
==> Downloading http://fossies.org/unix/misc/ghostscript-9.05.tar.gz/
######################################################################## 100.0%
Error: No such file or directory - jpeg or jpeg_local
BigBrain:Library Pepsin$ ls
Aliases Contributions Formula Homebrew LinkedKegs
BigBrain:Library Pepsin$ brew edit gs
BigBrain:Library Pepsin$ brew edit gs
BigBrain:Library Pepsin$ brew list
dnsmasq jbig2dec libsigsegv little-cms2 readline
gettext jpeg libtiff pkg-config sbcl
BigBrain:Library Pepsin$ brew unlink jpeg
Unlinking /usr/local/Cellar/jpeg/8d... 17 links removed
BigBrain:Library Pepsin$ brew install gs
Error: You must `brew link jpeg' before ghostscript can be installed
BigBrain:Library Pepsin$ brew link jpeg
Linking /usr/local/Cellar/jpeg/8d... 17 symlinks created
BigBrain:Library Pepsin$ brew install gs
==> Downloading http://fossies.org/unix/misc/ghostscript-9.05.tar.gz/
######################################################################## 100.0%
Error: No such file or directory - jpeg or jpeg_local
BigBrain:Library Pepsin$ brew list
dnsmasq jbig2dec libsigsegv little-cms2 readline
gettext jpeg libtiff pkg-config sbcl
BigBrain:Library Pepsin$ brew edit gs
BigBrain:Library Pepsin$ brew install gs
Error: No available formula for jpg (dependency of ghostscript)
BigBrain:Library Pepsin$ brew install gs
==> Downloading http://fossies.org/unix/misc/ghostscript-9.05.tar.gz/
######################################################################## 100.0%
Error: No such file or directory - jpeg or jpeg_local
BigBrain:Library Pepsin$ brew doctor
Error: Your Homebrew is outdated
You haven't updated for at least 24 hours, this is a long time in brewland!
Error: You have uncommitted modifications to Homebrew's core.
Unless you know what you are doing, you should run:
cd /usr/local && git reset --hard
BigBrain:Library Pepsin$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment