常见的一些编译报错
1.configure: error: Please reinstall the BZip2 distribution
解决:yum -y installbzip2 bzip2-devel
2.configure: error: Package requirements (libcurl >= 7.15.5) were not met:No package ‘libcurl’ found
解决:yum -y install libcurl libcurl-devel
3.you may set the environment variables SQLITE_CFLAGS and SQLITE_LIBS to avoid the need to call pkg-config.
解决:yum -y install libxslt pkg-devel
4.configure: error: Package requirements (sqlite3 > 3.7.4) were not met:
解决:yum -y install sqlite-devel
5.configure: error: GNU MP Library version 4.2 or greater required.
解决:yum -y install gmp-devel
6.configure: error: Package requirements (oniguruma) were not met: No package ‘oniguruma’ found
解决:yum -y install oniguruma-devel
7.configure: error: Please reinstall readline - I cannot find readline.h
解决:yum -y install readline-devel
8.configure: error: Package requirements (libpcre2-8 >= 10.30) were not met: No package ‘libpcre2-8’ found
解决:https://www.jianshu.com/p/89646111a1ce
9.configure: error: DBA: Could not find necessary header file(s).
解决:yum -y install gdbm-devel
10.configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:No package ‘libzip’ found
解决:https://www.jianshu.com/p/6cbd25addc29
11 configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
解决
yum -y install net-snmp-devel