【汇总】configure编译时遇到的错误

阅读更多

1.configure: error: bzlib.h is required

# yum install bzip2-devel

 

2.configure: error: tcutil.h is required

如果安装Tokyo Cabinet时指定了目录,在安装Tokyo Tyrant时用 --with-tc 指定Tokyo Cabinet的目录,如果没指定会报:configure: error: tcutil.h is required 错误。

 

3.buildconf: autoconf not found.
              you need autoconf version 2.13 or newer installed to build PHP from SVN.
***Errot code 1

# yum install autoconf

 

4../libtool: line 984: g++: command not found

#yum install gcc-c++ libstdc++-devel -y
#echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local_lib.conf
#/sbin/ldconfig

你可能感兴趣的:(configure,linux)