CentOS6.8下编译安装PHP,执行 /configure后报错,请问怎么解决
1个回答
展开全部
一般报错就2种:
1、没有gcc
错误:configure: error: no acceptable C compiler found in $PATH
解决办法:安装gcc g++
2、缺乏依赖包
错误:configure: error: No curses/termcap library found
解决办法:yum -y install ncurses-devel
错误:configure: error: xml2-config not found. Please check your libxml2 installation.
解决办法:yum -y install libxml2 libxml2-devel
1、没有gcc
错误:configure: error: no acceptable C compiler found in $PATH
解决办法:安装gcc g++
2、缺乏依赖包
错误:configure: error: No curses/termcap library found
解决办法:yum -y install ncurses-devel
错误:configure: error: xml2-config not found. Please check your libxml2 installation.
解决办法:yum -y install libxml2 libxml2-devel
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询