CentOS编译安装时常见错误解决办法

1.configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

#yum -y install libxslt-devel

2.configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.


#yum -y install net-snmp-devel


3.configure: error: Please reinstall readline - I cannot find readline.h


#yum -y install readline-devel


4.configure: error: Cannot find pspell


#yum -y install aspell-devel


5.checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!


#yum -y install unixODBC-devel


6.configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.


#yum -y install libicu-devel


7.configure: error: freetype.h not found.


#yum -y install freetype-devel


8.configure: error: xpm.h not found.


#yum -y install libXpm-devel


9.configure: error: png.h not found.


#yum -y install libpng-devel


10.configure: error: vpx_codec.h not found.


#yum -y install libvpx-devel


11.configure: error: Cannot find enchant


#yum -y install enchant-devel


12.configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/


#yum -y install libcurl-devel


13.configure: error: mcrypt.h not found. Please reinstall libmcrypt.


#wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz

#tar -zxvf libmcrypt-2.5.7.tar.gz

#cd libmcrypt-2.5.7

#./configure

# make &&  make install


14.Cannot find imap


#ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so


15.configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.


#yum -y install libc-client-devel


16.Cannot find ldap.h


#yum -y install openldap

#yum -y install openldap-devel


作者头像
南宫俊逸创始人

君子好学,自强不息~

上一篇:CentOS7:ifconfig command not found解决
下一篇:configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not ha

相关推荐

4

发表评论

阿里云2021年 618 年中钜惠活动