Created
May 6, 2011 21:54
-
-
Save sebm/959867 to your computer and use it in GitHub Desktop.
My error log from trying to install PHP from homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enchilada:~ sebastian$ brew install php --with-apache --with-mysql | |
==> Downloading http://www.php.net/get/php-5.3.6.tar.gz/from/this/mirror | |
File already downloaded and cached to /Users/sebastian/Library/Caches/Homebrew | |
==> Downloading patches | |
==> Patching | |
patching file ext/tidy/tidy.c | |
==> ./configure --prefix=/usr/local/Cellar/php/5.3.6 --disable-debug --disable-d | |
==> make | |
==> make install | |
Installing PHP CLI binary: /usr/local/Cellar/php/5.3.6/bin/ | |
Installing PHP SAPI module: apache2handler | |
Installing build environment: /usr/local/Cellar/php/5.3.6/lib/php/build/ | |
Installing helper programs: /usr/local/Cellar/php/5.3.6/bin/ | |
Installing PEAR environment: /usr/local/Cellar/php/5.3.6/lib/php/ | |
Installing PDO headers: /usr/local/Cellar/php/5.3.6/include/php/ext/pdo/ | |
mkdir: /usr/local/Cellar/php/5.3.6/bin: File exists | |
mkdir: mkdir: /usr/local/Cellar/php/5.3.6/lib: /usr/local/Cellar/php/5.3.6/binFile exists | |
: File exists | |
mkdir: /usr/local/Cellar/php/5.3.6/bin: File exists | |
make: [install-pharcmd] Error 1 (ignored) | |
/private/tmp/homebrew-php-5.3.6-iTaS/php-5.3.6/build/shtool install -c ext/phar/phar.phar /usr/local/Cellar/php/5.3.6/bin | |
make: [install-sapi] Error 1 (ignored) | |
mkdir: /usr/local/Cellar/php/5.3.6/lib/php: File exists | |
program: phpize | |
make: *** [install-build] Error 1 | |
make: *** Waiting for unfinished jobs.... | |
+----------------------------------------------------------------------+ | |
| The installation process is not complete. The following resources | | |
| were not installed: | | |
| | | |
| PEAR: PHP Extension and Application Repository | | |
| | | |
| To install these components, | | |
| download http://pear.php.net/go-pear.phar to php-src/pear/ | | |
| become the superuser and execute: | | |
| | | |
| # make install-su | | |
+----------------------------------------------------------------------+ | |
program: php-config | |
ln -s -f /usr/local/Cellar/php/5.3.6/bin/phar.phar /usr/local/Cellar/php/5.3.6/bin/phar | |
Installing PHP CLI man page: /usr/local/Cellar/php/5.3.6/share/man/man1/ | |
Installing man pages: /usr/local/Cellar/php/5.3.6/share/man/man1/ | |
mkdir: /usr/local/Cellar/php/5.3.6/share: File exists | |
mkdir: /usr/local/Cellar/php/5.3.6/share/man: File exists | |
mkdir: /usr/local/Cellar/php/5.3.6/share/man/man1: File exists | |
make: *** [install-programs] Error 1 | |
/usr/share/httpd/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1/build-1/libtool' libs/libphp5.so /usr/local/Cellar/php/5.3.6/libexec/apache2 | |
/usr/share/apr-1/build-1/libtool --mode=install cp libs/libphp5.so /usr/local/Cellar/php/5.3.6/libexec/apache2/ | |
cp libs/libphp5.so /usr/local/Cellar/php/5.3.6/libexec/apache2/libphp5.so | |
Warning! dlname not found in /usr/local/Cellar/php/5.3.6/libexec/apache2/libphp5.so. | |
Assuming installing a .so rather than a libtool archive. | |
chmod 755 /usr/local/Cellar/php/5.3.6/libexec/apache2/libphp5.so | |
[activating module `php5' in /private/etc/apache2/httpd.conf] | |
unable to open configuration file | |
Installing header files: /usr/local/Cellar/php/5.3.6/include/php/ | |
==> Exit Status: 2 | |
http://github.com/mxcl/homebrew/blob/master/Library/Formula/php.rb#L172 | |
==> Environment | |
HOMEBREW_VERSION: 0.8 | |
HEAD: d426c655281474f27887295f77aee7adfeff6da2 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: 8-core 64-bit dunno | |
OS X: 10.6.7 | |
Kernel Architecture: x86_64 | |
Ruby: 1.8.7-174 | |
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
Xcode: 4.0 | |
GCC-4.0: N/A | |
GCC-4.2: build 5666 | |
LLVM: build 2335 | |
MacPorts or Fink? false | |
X11 installed? true | |
==> Build Flags | |
CC: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CFLAGS: -w -pipe -O3 | |
CXXFLAGS: -w -pipe -O3 | |
CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/libpng/1.2.44/include -I/usr/local/Cellar/libxml2/2.7.8/include | |
LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/Cellar/libpng/1.2.44/lib -L/usr/local/Cellar/libxml2/2.7.8/lib | |
MAKEFLAGS: -j8 | |
PKG_CONFIG_PATH: /usr/local/Cellar/gettext/0.18.1.1/lib/pkgconfig:/usr/local/Cellar/libpng/1.2.44/lib/pkgconfig:/usr/local/Cellar/libxml2/2.7.8/lib/pkgconfig | |
Error: Failed executing: make install | |
Please report this bug: https://github.com/mxcl/homebrew/wiki/new-issue | |
Also try: | |
`brew doctor` to check your setup for common problems. | |
`brew missing` to check installed packages for missing deps. |
This didn't help me but here's a working link for the "i was eventually successful" bit https://web.archive.org/web/20100914100537/http://notfornoone.com/2010/07/install-php53-homebrew-snow-leopard/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got these errors when I tried to install PHP per the instructions on http://notfornoone.com/2010/07/install-php53-homebrew-snow-leopard/. I was eventually successful when I started following the instructions on http://justinhileman.info/article/reinstalling-php-53-on-mac-os-x/ - thanks, @bobthecow!