Created
September 29, 2014 13:16
-
-
Save Synchro/42288e72af89fb7d0c1e to your computer and use it in GitHub Desktop.
Homebrew php 5.6 failing to run
This file contains 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
brew rm php56 && brew deps php56 | xargs brew rm | |
Uninstalling /usr/local/Cellar/php56/5.6.0... | |
Uninstalling /usr/local/Cellar/freetype/2.5.3_1... | |
Uninstalling /usr/local/Cellar/gettext/0.19.2... | |
Uninstalling /usr/local/Cellar/zlib/1.2.8... | |
Uninstalling /usr/local/Cellar/icu4c/53.1... | |
Uninstalling /usr/local/Cellar/jpeg/8d... | |
Uninstalling /usr/local/Cellar/libpng/1.6.13... | |
Uninstalling /usr/local/Cellar/libtool/2.4.2... | |
Uninstalling /usr/local/Cellar/unixodbc/2.3.2... | |
Uninstalling /usr/local/Cellar/xz/5.0.7... | |
marcus@oc ~/Sites/test $ brew install php56 | |
==> Installing dependencies for php56: libpng, freetype, gettext, icu4c, jpeg, unixodbc, homebrew/dupes/zlib, libtool | |
==> Installing php56 dependency: libpng | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.13.mavericks.bottle.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/libpng-1.6.13.mavericks.bottle.tar.gz | |
==> Pouring libpng-1.6.13.mavericks.bottle.tar.gz | |
🍺 /usr/local/Cellar/libpng/1.6.13: 17 files, 1.2M | |
==> Installing php56 dependency: freetype | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.3_1.mavericks.bottle.1.tar.gz | |
######################################################################## 100.0% | |
==> Pouring freetype-2.5.3_1.mavericks.bottle.1.tar.gz | |
🍺 /usr/local/Cellar/freetype/2.5.3_1: 60 files, 2.5M | |
==> Installing php56 dependency: gettext | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.19.2.mavericks.bottle.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/gettext-0.19.2.mavericks.bottle.tar.gz | |
==> Pouring gettext-0.19.2.mavericks.bottle.tar.gz | |
==> Caveats | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Mac OS X provides similar software, and installing this software in | |
parallel can cause all kinds of trouble. | |
OS X provides the BSD gettext library and some software gets confused if both are in the library path. | |
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/gettext/lib | |
CPPFLAGS: -I/usr/local/opt/gettext/include | |
==> Summary | |
🍺 /usr/local/Cellar/gettext/0.19.2: 1920 files, 18M | |
==> Installing php56 dependency: icu4c | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-53.1.mavericks.bottle.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/icu4c-53.1.mavericks.bottle.tar.gz | |
==> Pouring icu4c-53.1.mavericks.bottle.tar.gz | |
==> Caveats | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Conflicts; see: https://github.com/Homebrew/homebrew/issues/issue/167 | |
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/icu4c/lib | |
CPPFLAGS: -I/usr/local/opt/icu4c/include | |
==> Summary | |
🍺 /usr/local/Cellar/icu4c/53.1: 241 files, 57M | |
==> Installing php56 dependency: jpeg | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mavericks.bottle.2.tar.gz | |
######################################################################## 100.0% | |
==> Pouring jpeg-8d.mavericks.bottle.2.tar.gz | |
🍺 /usr/local/Cellar/jpeg/8d: 18 files, 780K | |
==> Installing php56 dependency: unixodbc | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/unixodbc-2.3.2.mavericks.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring unixodbc-2.3.2.mavericks.bottle.tar.gz | |
🍺 /usr/local/Cellar/unixodbc/2.3.2: 31 files, 1012K | |
==> Installing php56 dependency: homebrew/dupes/zlib | |
==> Downloading http://zlib.net/zlib-1.2.8.tar.gz | |
######################################################################## 100.0% | |
==> Patching | |
patching file configure | |
==> ./configure --prefix=/usr/local/Cellar/zlib/1.2.8 | |
==> make install | |
==> Caveats | |
This formula is keg-only, which means it was not symlinked into /usr/local. | |
Mac OS X already provides this software and installing another version in | |
parallel can cause all kinds of trouble. | |
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/zlib/lib | |
CPPFLAGS: -I/usr/local/opt/zlib/include | |
==> Summary | |
🍺 /usr/local/Cellar/zlib/1.2.8: 9 files, 392K, built in 8 seconds | |
==> Installing php56 dependency: libtool | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtool-2.4.2.mavericks.bottle.2.tar.gz | |
######################################################################## 100.0% | |
==> Pouring libtool-2.4.2.mavericks.bottle.2.tar.gz | |
==> Caveats | |
In order to prevent conflicts with Apple's own libtool we have prepended a "g" | |
so, you have instead: glibtool and glibtoolize. | |
==> Summary | |
🍺 /usr/local/Cellar/libtool/2.4.2: 66 files, 2.2M | |
==> Installing php56 | |
==> Downloading http://www.php.net/get/php-5.6.0.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php56-5.6.0 | |
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/php56/5.6.0 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.6 --with-config-file-path=/usr/local/etc/php/5.6 --with-config-file-scan-dir=/usr/local/etc/php/5.6/conf.d --wit | |
==> make | |
==> make install | |
==> /usr/local/Cellar/php56/5.6.0/bin/pear config-set php_ini /usr/local/etc/php/5.6/php.ini | |
php_ini | |
/usr/local/etc/php/5.6/php.ini | |
php(77545,0x7fff7ac67310) malloc: *** error for object 0x10cbdb198: pointer being freed was not allocated | |
*** set a breakpoint in malloc_error_break to debug | |
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting | |
If reporting this issue please do so at (not Homebrew/homebrew): | |
https://github.com/josegonzalez/homebrew-php/issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment