php - issue with install php54 on mac os x -


when run brew install php54 command in terminal

brew install php54 ==> downloading http://www.php.net/get/php-5.4.15.tar.bz2/from/this/mirror downloaded: /library/caches/homebrew/php54-5.4.15 ==> ./configure --prefix=/usr/local/cellar/php54/5.4.15 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/ if configure fails try --with-vpx-dir=<dir> checking png_write_image in -lpng... yes if configure fails try --with-xpm-dir=<dir> checking ft_new_face in -lfreetype... yes configure: error: gd build test failed. please check config.log details. error: uncaught throw `failed executing: ./configure --prefix=/usr/local/cellar/php54/5.4.15 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/local/etc/php/5.4 --with-config-file-scan-dir=/usr/local/etc/php/5.4/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-xsl=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-snmp=/usr --with-libedit --mandir=/usr/local/cellar/php54/5.4.15/share/man --with-mhash --with-curl --with-bz2=/usr --disable-debug --with-openssl=/usr --enable-fpm - please report 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:265:in `brew' /usr/local/library/homebrew/formula.rb:651:in `stage' /usr/local/library/homebrew/extend/fileutils.rb:21:in `mktemp' /usr/local/library/homebrew/formula.rb:647:in `stage' /usr/local/library/homebrew/formula.rb:260: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/php54.rb:27 

here configure file

brew doctor clean

with brew install php53 have same issue

just run brew link zlib --force


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -