Last active
October 2, 2015 18:58
-
-
Save maimai-swap/2300427 to your computer and use it in GitHub Desktop.
php-5.4.3 configure on Mac OSX
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
./configure \ | |
--enable-mod-charset \ | |
--with-apxs2 \ | |
--without-iconv \ | |
--enable-fpm \ | |
--enable-mbstring \ | |
--enable-zip \ | |
--enable-soap \ | |
--with-mcrypt=$(brew --prefix libmcrypt) \ | |
--with-mysql \ | |
--with-mysql-sock \ | |
--with-mysqli \ | |
--with-pdo-mysql \ | |
--without-pdo-sqlite \ | |
--with-libxml-dir=$(brew --prefix libxml2) \ | |
--with-openssl=$(brew --prefix openssl) \ | |
--with-zlib \ | |
--with-bz2 \ | |
--with-curl \ | |
--with-gd \ | |
--with-jpeg-dir=$(brew --prefix libjpeg) \ | |
--with-png-dir=$(brew --prefix libpng) \ | |
--with-freetype-dir=$(brew --prefix freetype) \ | |
--with-xpm-dir=$(brew --prefix libxmp) \ | |
--with-vpx-dir=$(brew --prefix libvpx) \ | |
--enable-gd-native-ttf \ | |
--enable-gd-jis-conv \ | |
--with-gettext=$(brew --prefix gettext) \ | |
--with-gmp \ | |
--with-mhash \ | |
--with-kerberos \ | |
--with-ldap \ | |
--with-readline \ | |
--with-libedit=$(brew --prefix readline) \ | |
--with-readline=$(brew --prefix readline) \ | |
--with-tidy \ | |
--with-pear |
makeでgdが通るようになった。
この二行が必要だったみたい。
--with-xpm-dir=/usr/X11R6
--with-vpx-dir=$(brew --prefix libvpx) \
iconv extensionがインストール出来ない。
https://bugs.php.net/bug.php?id=60268
日本語だとmbstringしかほとんど使わないので、
--without-iconv
入れることにした。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
まだConfigureが通っただけ。imapは外れてますがほとんどのオプションを入れられた気がしてる。
makeで
gdが通らない。
https://bugs.php.net/bug.php?id=60108
dev版でも通らず。
http://snaps.php.net/php5.4-201204041130.tar.gz