Skip to content

Instantly share code, notes, and snippets.

@tanabe
Last active December 22, 2015 07:38
Show Gist options
  • Save tanabe/6439079 to your computer and use it in GitHub Desktop.
Save tanabe/6439079 to your computer and use it in GitHub Desktop.
install Imager::File::JPEG
Hummingbird:~ tanabe$ cpanm Imager::File::JPEG
--> Working on Imager::File::JPEG
OKtching http://search.cpan.org/CPAN/authors/id/T/TO/TONYC/Imager-File-JPEG-0.88.tar.gz ...
==> Found dependencies: Imager
--> Working on Imager
Fetching http://search.cpan.org/CPAN/authors/id/T/TO/TONYC/Imager-0.97.tar.gz ... OK
Configuring Imager-0.97 ... OK
Building and testing Imager-0.97 ... OK
Successfully installed Imager-0.97 (upgraded from 0.85)
Configuring Imager-File-JPEG-0.88 ... N/A
! Configure failed for Imager-File-JPEG-0.88. See /Users/tanabe/.cpanm/build.log for details.
1 distribution installed
Hummingbird:~ tanabe$
Hummingbird:~ tanabe$ brew install jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.lion.bottle.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.lion.bottle.tar.gz
Warning: Could not link jpeg. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link jpeg'
==> Summary
/usr/local/Cellar/jpeg/8d: 18 files, 1.3M
Hummingbird:~ tanabe$ brew link jpeg
Linking /usr/local/Cellar/jpeg/8d... Warning: Could not link jpeg. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/jpeg/8d
/usr/local/opt is not writable. You should change its permissions.
Hummingbird:~ tanabe$ sudo brew install jpeg
Password:
Error: jpeg-8d already installed, it's just not linked
Hummingbird:~ tanabe$ sudo brew link jpeg
Linking /usr/local/Cellar/jpeg/8d... 17 symlinks created
Hummingbird:~ tanabe$ cpanm Imager::File::JPEG
--> Working on Imager::File::JPEG
Fetching http://search.cpan.org/CPAN/authors/id/T/TO/TONYC/Imager-File-JPEG-0.88.tar.gz ... OK
Configuring Imager-File-JPEG-0.88 ... OK
Building and testing Imager-File-JPEG-0.88 ... OK
Successfully installed Imager-File-JPEG-0.88
1 distribution installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment