VPS侦探论坛

 找回密码
 注册
查看: 22519|回复: 17

军哥,关于centosX64位中安装IMAP错误的问题请教

[复制链接]
发表于 2011-12-4 23:19:50 | 显示全部楼层 |阅读模式

执行./configure --with-php-config=/usr/local/php/bin/php-config
后提示
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

环境lnmp最新版本
已经成功执行yum install libc-client-devel
是否是因为X64位的问题,请问具体怎么做
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-12-5 08:28:29 | 显示全部楼层


updatedb
locate libc-client
locate 找到libc-client 位置后用ln -s 命令做个软连接到/usr/lib/
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-6 08:48:42 | 显示全部楼层

locate libc-client
/usr/lib/libc-client.a
/usr/lib64/libc-client.so
/usr/lib64/libc-client.so.2007
/usr/share/doc/libc-client-2007e
/usr/share/doc/libc-client-2007e/IPv6.txt
/usr/share/doc/libc-client-2007e/LICENSE.txt
/usr/share/doc/libc-client-2007e/NOTICE
/usr/share/doc/libc-client-2007e/RELNOTES
/usr/share/doc/libc-client-2007e/SUPPORT
/usr/share/doc/libc-client-2007e/bugs.txt
/usr/share/doc/libc-client-2007e/calendar.txt
/usr/share/doc/libc-client-2007e/commndmt.txt
/usr/share/doc/libc-client-2007e/drivers.txt
/usr/share/doc/libc-client-2007e/formats.txt
/usr/share/doc/libc-client-2007e/imaprc.txt
/usr/share/doc/libc-client-2007e/internal.txt
/usr/share/doc/libc-client-2007e/locking.txt
/usr/share/doc/libc-client-2007e/md5.txt
/usr/share/doc/libc-client-2007e/mixfmt.txt
/usr/share/doc/libc-client-2007e/naming.txt
/var/cache/yum/x86_64/6/epel/packages/libc-client2007-2007e-14.el5.x86_64.rpm
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/checksum_data
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/checksum_type
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/command_line
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/from_repo
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/from_repo_revision
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/reason
/var/lib/yum/yumdb/l/65d024b4dacfa7ee40f813cee9baff18cc2af889-libc-client-2007e-11.el6-x86_64/releasever
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/checksum_data
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/checksum_type
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/command_line
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/from_repo
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/from_repo_revision
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/reason
/var/lib/yum/yumdb/l/bdcb4f2101ce4faa01fd089f77bf6f2963aa91c9-libc-client-devel-2007e-11.el6-x86_64/releasever
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-12-6 08:49:10 | 显示全部楼层



/usr/lib/ 下面是有的啊
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-6 09:09:39 | 显示全部楼层

软连接做好后,提示如下,还是安装不了
configure: error: Kerberos libraries not found.

      Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )




[root@windme imap]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-imap --with-imap-ssl --with-kerberos
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
checking for krb5-config... /usr/bin/krb5-config
configure: error: Kerberos libraries not found.

      Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr )

军哥运维代购:http://shop63846532.taobao.com/

发表于 2011-12-6 09:52:29 | 显示全部楼层

不好上面的问题一样吗,找一下,按他的要求加上--with-kerberos不就行了
 楼主| 发表于 2011-12-6 10:16:45 | 显示全部楼层

是一样的问题,找不到libc-client.a的问题已经按照做软连接解决,但是编译的时候 ,我已经按照提示加入了啊with-kerberos 如下。
[root@windme imap]# ./configure --with-php-config=/usr/local/php/bin/php-config --with-imap --with-imap-ssl --with-kerberos
然后提示报错就是上一个回复

[ 本帖最后由 windme 于 2011-12-6 10:21 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-12-6 11:32:32 | 显示全部楼层

locate 找kerberos 参数后面加上所在目录
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-6 11:57:58 | 显示全部楼层

locate kerberos
/etc/selinux/targeted/modules/active/modules/kerberos.pp
/usr/share/doc/krb5-devel-1.8.2/krb5-protocol/draft-ietf-cat-kerberos-pk-init-09.txt
/usr/share/man/man1/kerberos.1.gz
/usr/share/man/man8/kerberos_selinux.8.gz
/usr/share/man/ru/man8/kerberos_selinux.8.gz
/usr/share/selinux/devel/include/services/kerberos.if
/usr/share/selinux/targeted/kerberos.pp.bz2
请问那个是?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-12-7 10:05:08 | 显示全部楼层



军哥,求助。。
发表于 2011-12-7 14:45:23 | 显示全部楼层

可能是没安装上kerberos
 楼主| 发表于 2011-12-7 17:58:04 | 显示全部楼层

yum 过了,能有啥处理办法不
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-12-9 08:04:13 | 显示全部楼层
求助啊,还是没解决
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-12-9 17:46:40 | 显示全部楼层
yum 安装上还不行那就不清楚什么原因了

军哥运维代购:http://shop63846532.taobao.com/

发表于 2012-6-15 10:20:56 | 显示全部楼层
找到方法了。
ln -s /usr/lib64/libkrb5.so /usr/lib/libkrb5.so
./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 02:41 , Processed in 0.030466 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表