[未解决]mac下./configure,C编译器无法创建可执行文件
pecl install redis
未果,打算自己下载编译。
第一步phpize
是可以执行的,但是到了第二步./configure
就不行了。
$ ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/local/opt/gnu-sed/libexec/gnubin/sed
checking for cc... cc
checking whether the C compiler works... no
configure: error: in `/Users/pires/codes/php-redis/redis-3.1.0':
configure: error: C compiler cannot create executables
See `config.log' for more details