Skip to content

Instantly share code, notes, and snippets.

@laczoka
Created April 4, 2013 20:36
Show Gist options
  • Save laczoka/5314136 to your computer and use it in GitHub Desktop.
Save laczoka/5314136 to your computer and use it in GitHub Desktop.
brew install php53
==> Downloading http://www.php.net/get/php-5.3.23.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php53-5.3.23
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file Makefile.global
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 18 (offset -2 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/php53/5.3.23 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/us
==> make
==> make install
Warning! dlname not found in /usr/local/Cellar/php53/5.3.23/libexec/apache2/libphp5.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/Cellar/php53/5.3.23/libexec/apache2/libphp5.so
apxs:Error: Config file /private/etc/apache2/httpd.conf not found.
make: *** [install-sapi] Error 1
Error: uncaught throw `Failed executing: make install '
Please report this bug:
https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Formula/abstract-php.rb:127:in `throw'
/usr/local/Library/Formula/abstract-php.rb:127:in `install'
/usr/local/Library/Homebrew/build.rb:142:in `install'
/usr/local/Library/Homebrew/formula.rb:250:in `brew'
/usr/local/Library/Homebrew/formula.rb:635:in `stage'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:631:in `stage'
/usr/local/Library/Homebrew/formula.rb:245:in `brew'
/usr/local/Library/Homebrew/build.rb:121:in `install'
/usr/local/Library/Homebrew/build.rb:43:in `main'
/usr/local/Library/Homebrew/build.rb:12
/usr/local/Library/Formula/php53.rb:24
brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/usr/local/opt/php53/bin/php-config
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
php53
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
curl
^C
[16:54:28] laczoka@localhost[~]$ brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/usr/local/opt/php53/bin/php-config
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
php53
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment