Centos5的一些tips (2008-10-30)
装GD MAKE出现错误
macro `AM_ICONV' not found in library
解决方法
#yum install gettext gettext-devel 再执行make编译就好了。
configure: error: GD build test failed.
解决办法:
可在编译php的时候后面参数 --with-gd把目录也加上比如 --with-gd=/httpd/gd 我估计yum也能解决
于是我的php编译参数变上下面:
./configure --prefix=/usr/local/php --enable-track-vars --enable-fastcgi --enable-force-cgi-redirect --enable-inline-optimization --with-config-file-path=/etc --disable-debug --with-zlib --with-mysql=/usr/local/mysql --with-xml --with-gd=/httpd/gd --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/httpd/jpeg --with-png --with-ttf --with-freetype-dir=/httpd/freetype --enable-static --disable-ipv6 --with-iconv --enable-mbstring --enable-suhosin
Centos5编译mysql遇到configure: error: No curses/termcap library found解决办法
如果编译时出现了以下错误:
checking for tgetent in -ltermcap... no
checking for termcap functions [...]