Chinaunix首页 | 论坛 | 博客
  • 博客访问: 921852
  • 博文数量: 119
  • 博客积分: 6248
  • 博客等级: 准将
  • 技术积分: 1419
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-08 14:14
文章分类

全部博文(119)

文章存档

2014年(1)

2012年(1)

2011年(2)

2010年(22)

2009年(81)

2008年(12)

分类: LINUX

2009-10-19 18:08:08

今天在服务器上安装postfix邮件服务器,在安装cyrus-sasl时,make出现下面的错误.
auth_getpwent.c:48:20: error: des.h: No such file or directory
make[3]: *** [auth_getpwent.o] Error 1
make[3]: Leaving directory `/root/tools/Postfix/cyrus-sasl-2.1.22/saslauthd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/tools/Postfix/cyrus-sasl-2.1.22/saslauthd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/tools/Postfix/cyrus-sasl-2.1.22'
make: *** [all] Error 2
这个错误的原因是没有找到des.h头文件导致的,处理的方法很简单,
#cp mac/libdes/public/des.h /root/tools/Postfix/cyrus-sasl-2.1.22/
 
mac/libdes/public/des.h 这个路径是cyrus-sasl源码包文件夹下面的mac路径
/root/tools/Postfix/cyrus-sasl-2.1.22/  这个路径是源码包的路径
 
然后再来make发现,错误已经解决了.

 
阅读(3548) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~