Skip to content

Instantly share code, notes, and snippets.

@halles
Last active December 30, 2015 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halles/7879375 to your computer and use it in GitHub Desktop.
Save halles/7879375 to your computer and use it in GitHub Desktop.
bash-3.2$ cd ~
bash-3.2$ brew unlink freetype
Unlinking /usr/local/Cellar/freetype/2.5.1... 0 links removed
bash-3.2$ brew unpin freetype
Warning: freetype not pinned
bash-3.2$ brew rm freetype
Uninstalling /usr/local/Cellar/freetype/2.5.1...
bash-3.2$ cd /usr/local/Cellar/freetype/
bash-3.2$ ls -al
total 0
drwxr-xr-x 3 bgonzalez admin 102 Dec 9 16:27 .
drwxr-xr-x 13 bgonzalez admin 442 Dec 6 16:37 ..
drwxr-xr-x 9 bgonzalez admin 306 Dec 6 16:32 2.5.0.1
bash-3.2$ rm -rdf 2.5.0.1/
bash-3.2$ ls -al
total 0
drwxr-xr-x 2 bgonzalez admin 68 Dec 9 16:27 .
drwxr-xr-x 13 bgonzalez admin 442 Dec 6 16:37 ..
bash-3.2$ brew update
Updated Homebrew from e4683880 to e5853c6c.
==> New Formulae
entr josegonzalez/php/php53-sundown josegonzalez/php/php54-sundown josegonzalez/php/php55-sundown
==> Updated Formulae
aiccu git libmaxminddb pkcs11-helper swaks
ascii gnu-smalltalk libraw poppler t1utils
bindfs grails libvorbis rabbitmq-c task-spooler
cogl graphviz liquibase rethinkdb the_silver_searcher
ec2-api-tools gtk+3 makensis ruby-build tlsdate
fail2ban influxdb mercurial sbcl unfs3
fdk-aac isync mkvtoolnix skytools vala
freetype josegonzalez/php/boris mosquitto slony youtube-dl
gabedit josegonzalez/php/php54-jsmin mplayer slowhttptest znc
gant josegonzalez/php/phpdocumentor mutt snobol4
geogit josegonzalez/php/phpmyadmin mysql sqlite
geoipupdate jruby parallel sratom
gfortran libav pass storm
bash-3.2$ brew install php55 --with-fpm
==> Installing php55 dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.2.lion.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.5.2.lion.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this software in versions before Mountain Lion.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/freetype/lib
CPPFLAGS: -I/usr/local/opt/freetype/include
==> Summary
🍺 /usr/local/Cellar/freetype/2.5.2: 59 files, 2.7M
==> Installing php55
==> Downloading http://www.php.net/get/php-5.5.6.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php55-5.5.6
==> Patching
patching file configure
Hunk #1 succeeded at 39041 (offset 764 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/php55/5.5.6 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-conf
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
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/mxcl/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not mxcl/homebrew):
https://github.com/josegonzalez/homebrew-php/issues
bash-3.2$
bash-3.2$ brew unlink freetype
Unlinking /usr/local/Cellar/freetype/2.5.2... 0 links removed
bash-3.2$ brew unpin freetype
Warning: freetype not pinned
bash-3.2$ brew rm freetype
Uninstalling /usr/local/Cellar/freetype/2.5.2...
bash-3.2$ cd /usr/local/Cellar/
ant/ gettext/ jpeg/ libpng/ mysql/ nginx/ pcre/ pidof/ unixodbc/ zlib/
bash-3.2$ brew update
Already up-to-date.
bash-3.2$ brew install php5x
Error: No available formula for php5x
Searching taps...
^[[Abash-3.2$ brew install php55
==> Installing php55 dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.2.lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/freetype-2.5.2.lion.bottle.tar.gz
==> Pouring freetype-2.5.2.lion.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this software in versions before Mountain Lion.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/freetype/lib
CPPFLAGS: -I/usr/local/opt/freetype/include
==> Summary
🍺 /usr/local/Cellar/freetype/2.5.2: 59 files, 2.7M
==> Installing php55
==> Downloading http://www.php.net/get/php-5.5.6.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php55-5.5.6
==> Patching
patching file configure
Hunk #1 succeeded at 39041 (offset 764 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/php55/5.5.6 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-conf
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
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/mxcl/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not mxcl/homebrew):
https://github.com/josegonzalez/homebrew-php/issues
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment