Username: Password:

cyrus-sasl2 安装出错
来源: ChinaUnix博客  作者: 发布时间:2008-01-01 21:02:00

转载自:http://xuejin38.cublog.cn/
#tar zxvf cyrus-sasl-2.1.22.tar.gz
#cd cyrus-sasl-2.1.22
#./configure --prefix=/usr/local/sasl2            (注意使用续行符)
--disable-gssapi
--disable-anon
--disable-sample
--disable-digest
--enable-plain
--enable-login
--enable-sql
--with-mysql=/usr/local/mysql
--with-mysql-includes=/usr/local/mysql/include/mysql
--with-mysql-libs=/usr/local/mysql/lib/mysql  --with-authdaemond=/usr/local/courier-authlib/var/spool/authdaemon/socket
#make
#make install
假如出现下面的错误:
  auth_getpwent.c:48:20: des.h: No such file or directory
  make[3]: *** [auth_getpwent.o] Error 1
  make[3]: Leaving directory `/tmp/cyrus-sasl-2.1.22/saslauthd’
  make[2]: *** [all] Error 2
  make[2]: Leaving directory `/tmp/cyrus-sasl-2.1.22/saslauthd’
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/tmp/cyrus-sasl-2.1.22’
  make: *** [all] Error 2
  修改/tmp/cyrus-sasl-2.1.22/saslauthd/Makefiles内的变量CFLAGS添加-I/opt/openssl/include/openssl
    或直接
     mail~#cp /tmp/cyrus-sasl-2.1.22/mac/libdes/public/des.h /tmp/cyrus-sasl-2.1.22/
     mail~#make
     mail~#make install
     
               
               
               

本文来自ChinaUnix博客,假如查看原文请点:http://blog.chinaunix.net/u/17993/showart_497695.html

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅