Skip to content

Instantly share code, notes, and snippets.

@m4tthumphrey
Created December 20, 2012 12:45
Show Gist options
  • Save m4tthumphrey/4345108 to your computer and use it in GitHub Desktop.
Save m4tthumphrey/4345108 to your computer and use it in GitHub Desktop.
macbook:osx-stack matt$ brew install /usr/local/LibraryAlt/duplicates/php.rb --with-fpm --with-mysql
==> Downloading http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php-5.3.10
==> Patching
patching file ext/tidy/tidy.c
patching file ext/mssql/php_mssql.h
Hunk #1 succeeded at 70 (offset 5 lines).
==> ./configure --prefix=/usr/local/Cellar/php/5.3.10 --with-config-file-path=/usr/local/etc --with-config-file-scan-dir=/
Warning: inreplace in 'Makefile' failed
Expected replacement of 'INSTALL_IT = $(mkinstalldirs) '$(INSTALL_ROOT)/usr/libexec/apache2' && $(mkinstalldirs) '$(INSTALL_ROOT)/private/etc/apache2' && /usr/sbin/apxs -S LIBEXECDIR='$(INSTALL_ROOT)/usr/libexec/apache2' -S SYSCONFDIR='$(INSTALL_ROOT)/private/etc/apache2' -i -a -n php5 libs/libphp5.so' with 'INSTALL_IT = $(mkinstalldirs) '/usr/local/Cellar/php/5.3.10/libexec/apache2' && $(mkinstalldirs) '$(INSTALL_ROOT)/private/etc/apache2' && /usr/sbin/apxs -S LIBEXECDIR='/usr/local/Cellar/php/5.3.10/libexec/apache2' -S SYSCONFDIR='$(INSTALL_ROOT)/private/etc/apache2' -i -a -n php5 libs/libphp5.so'
==> make
brew: superenv removed: -g -O2 -L/usr/X11/lib -L/usr/local/lib
ld: library not found for -lfreetype
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sapi/fpm/php-fpm] Error 1
make: *** Waiting for unfinished jobs....
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
https://github.com/mxcl/homebrew/issues/15937
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment