Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Upgrading php53 error #216

Closed
toddmbloom opened this Issue · 1 comment

1 participant

@toddmbloom

I'm having a bit of a problem running brew upgrade php53. It seems to error out with the following:

Error: #

Per some of the other issue requests, I removed any copy of .pearrc in my HOMEDIR. Here is the output of brew upgrade:

==> Upgrading php53
==> Downloading http://www.php.net/get/php-5.3.15.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php53-5.3.15
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.15 --disable-debug --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=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-bcmath --enable-calendar --with-zlib=/usr/local/Cellar/zlib/1.2.7 --with-bz2=/usr --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-libxml-dir=/usr/local/Cellar/libxml2/2.8.0 --with-xsl=/usr --with-curl=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/X11 --with-mcrypt=/usr/local/Cellar/mcrypt/2.5.8 --with-jpeg-dir=/usr/local/Cellar/jpeg/8d --with-png-dir=/usr/X11 --with-gettext=/usr/local/Cellar/gettext/0.18.1.1 --with-snmp=/usr --with-mhash --with-libedit --mandir=/usr/local/Cellar/php53/5.3.15/share/man --with-openssl=/usr --with-apxs2=/usr/sbin/apxs --libexecdir=/usr/local/Cellar/php53/5.3.15/libexec --with-gmp=/usr/local/Cellar/gmp/5.0.5 --enable-intl --with-icu-dir=/usr/local/Cellar/icu4c/49.1.2 --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-iodbc --with-pdo-odbc=generic,/usr,iodbc
==> make
==> make install
==> /usr/local/Cellar/php53/5.3.15/bin/pear config-set php_ini /usr/local/etc/php/5.3/php.ini

Error: #<BuildError: Failed executing: /usr/local/Cellar/php53/5.3.15/bin/pear config-set php_ini /usr/local/etc/php/5.3/php.ini>
/usr/local/Library/Homebrew/formula.rb:484:in `system'
/usr/local/Library/Formula/php53.rb:229:in `install'
/usr/local/Library/Homebrew/build.rb:102:in `install'
/usr/local/Library/Homebrew/formula.rb:226:in `brew'
/usr/local/Library/Homebrew/formula.rb:511:in `stage'
/usr/local/Library/Homebrew/extend/fileutils.rb:22:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:507:in `stage'
/usr/local/Library/Homebrew/formula.rb:221:in `brew'
/usr/local/Library/Homebrew/build.rb:82:in `install'
/usr/local/Library/Homebrew/build.rb:44
/usr/local/Library/Formula/php53.rb:286
==> Rescuing build...
When you exit this shell Homebrew will attempt to finalise the installation.
If nothing is installed or the shell exits with a non-zero error code,
Homebrew will abort. The installation prefix is:
/usr/local/Cellar/php53/5.3.15

And here is brew doctor.
(The varnish is because I needed to install varnish 2 rather then the version 3 provided by home-brew).

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libvarnish.1.dylib    /usr/local/lib/libvarnishapi.1.dylib    /usr/local/lib/libvarnishcompat.1.dylib    /usr/local/lib/libvcl.1.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
    /usr/local/lib/libvarnish.la    /usr/local/lib/libvarnishapi.la    /usr/local/lib/libvarnishcompat.la    /usr/local/lib/libvcl.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/varnishapi.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
    /usr/local/lib/libvarnish.a    /usr/local/lib/libvarnishapi.a    /usr/local/lib/libvarnishcompat.a    /usr/local/lib/libvcl.a
@toddmbloom

Sorry! I didn't see the other issue at first on this same thing.

@toddmbloom toddmbloom closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.