php相关扩展安装及报错总结

#系统环境: ubuntu

#imap扩展

# cd /opt/packages/php-7.1.4/ext/imap

# ./configure --with-php-config=/usr/local/php-7.1.4/bin/php-config  --with-kerberos=/usr/kerberos --with-imap-ssl

# make && make install

一些报错:

checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

=>apt-get install libc-client-dev

checking for crypt in -lcrypt... yes
checking for krb5-config... no
configure: error: Kerberos libraries not found.

==>apt-get install libkrb5-dev

 

posted @ 2017-11-10 09:50  helloworld899  阅读(...)  评论(...编辑  收藏