Skip to content

Instantly share code, notes, and snippets.

@jonmchan
Created December 25, 2013 01:02
Show Gist options
  • Save jonmchan/8119270 to your computer and use it in GitHub Desktop.
Save jonmchan/8119270 to your computer and use it in GitHub Desktop.
brew install -V php54
==> Downloading http://www.php.net/get/php-5.4.23.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-5.4.23
==> Patching
patching file configure
Hunk #1 succeeded at 39208 (offset 931 lines).
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.23 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/local/etc/php/5.4 --wit
checking for jpeg_read_header in -ljpeg... yes
If configure fails try --with-vpx-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/josegonzalez/homebrew-php/issues
These open issues may also help:
https://github.com/Homebrew/homebrew/issues/21971
https://github.com/Homebrew/homebrew/issues/21067
https://github.com/Homebrew/homebrew/issues/14632
https://github.com/Homebrew/homebrew/issues/25009
https://github.com/Homebrew/homebrew/issues/19970
https://github.com/Homebrew/homebrew/issues/18152
https://github.com/Homebrew/homebrew/issues/17093
https://github.com/Homebrew/homebrew/issues/15621
https://github.com/Homebrew/homebrew/issues/15639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment