Chinaunix首页 | 论坛 | 博客
  • 博客访问: 446407
  • 博文数量: 104
  • 博客积分: 3016
  • 博客等级: 中校
  • 技术积分: 1992
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-24 11:37
文章分类

全部博文(104)

文章存档

2009年(44)

2008年(60)

我的朋友

分类: LINUX

2008-03-16 21:02:22

转载自: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
    
阅读(763) | 评论(0) | 转发(0) |
0

上一篇:PHP+GD的安装

下一篇:安装gd2错误解决办法

给主人留下些什么吧!~~