梦想在左,生活在右。

PHP5常见的configure error的解决方法
仅限于CentOS 5
configure: error: No curses/termcap library found
网上有的说法是:
--with-named-curses-libs=/usr/lib/libncursesw.so.5
其实是不对的,虽然能解决configure的错误,但是make的时候会提示错误,正确的做法应该是
yum -y install ncurses-devel
configure: error: xml2-config not found
yum -y install libxml2-devel
configure: error: Cannot find OpenSSL's
yum -y install openssl-devel
configure: error: libjpeg.(a|so) not found
yum -y install gd
yum -y install gd-devel
configure: error: cannot find output from lex; giving up
yum -y install flex
本站原创,转载请注明出处,谢谢!
Track this back : http://www.koven.org/rserver.php?mode=tb&sl=343