免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1727 | 回复: 1
打印 上一主题 下一主题

[其他] sasl 的安装失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-10-27 13:05 |只看该作者 |倒序浏览
本帖最后由 a6447 于 2013-10-28 10:06 编辑

tar -xvf cyrus-sasl-2.1.26.tar -C /usr/src/

并把cyrus-sasl-2.1.26-fixes-1.patch复制到了/usr/src下,

按照http://www.linuxfromscratch.org/ ... lfs/cyrus-sasl.html操作,
patch -Np1 -i ../cyrus-sasl-2.1.26-fixes-1.patch &&
autoreconf -fi &&
pushd saslauthd
autoreconf -fi &&
popd
./configure --prefix=/usr/local/sasl2/ --with-dbpath=/usr//local/sasl2/ --with-saslauthd=/usr/local/sasl2/ CFLAGS=-fPIC没有错误提示,但是在make的时候,提示:
------------------------------------------------------------------------------------
libtool: link: ( cd ".libs" && rm -f "libcrammd5.la" && ln -s "../libcrammd5.la" "libcrammd5.la" )
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1  -Wall -W -fPIC -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c -o digestmd5.lo digestmd5.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -fPIC -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o .libs/digestmd5.o
digestmd5.c:859: error: expected specifier-qualifier-list before ‘des_key_schedule’
digestmd5.c: In function ‘dec_3des’:
digestmd5.c:896: warning: implicit declaration of function ‘des_ede2_cbc_encrypt’
digestmd5.c:899: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:900: error: ‘des_context_t’ has no member named ‘keysched2’
digestmd5.c:901: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:902: error: ‘DES_DECRYPT’ undeclared (first use in this function)
digestmd5.c:902: error: (Each undeclared identifier is reported only once
digestmd5.c:902: error: for each function it appears in.)
digestmd5.c: In function ‘enc_3des’:
digestmd5.c:947: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:948: error: ‘des_context_t’ has no member named ‘keysched2’
digestmd5.c:949: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:950: error: ‘DES_ENCRYPT’ undeclared (first use in this function)
digestmd5.c: In function ‘init_3des’:
digestmd5.c:970: warning: implicit declaration of function ‘des_key_sched’
digestmd5.c:970: error: ‘des_cblock’ undeclared (first use in this function)
digestmd5.c:970: error: expected expression before ‘)’ token
digestmd5.c:974: error: expected expression before ‘)’ token
digestmd5.c:976: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:983: error: expected expression before ‘)’ token
digestmd5.c:987: error: expected expression before ‘)’ token
digestmd5.c:990: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘dec_des’:
digestmd5.c:1014: warning: implicit declaration of function ‘des_cbc_encrypt’
digestmd5.c:1017: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:1018: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:1019: error: ‘DES_DECRYPT’ undeclared (first use in this function)
digestmd5.c:1023: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘enc_des’:
digestmd5.c:1068: error: ‘des_context_t’ has no member named ‘keysched’
digestmd5.c:1069: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:1070: error: ‘DES_ENCRYPT’ undeclared (first use in this function)
digestmd5.c:1074: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘init_des’:
digestmd5.c:1094: error: ‘des_cblock’ undeclared (first use in this function)
digestmd5.c:1094: error: expected expression before ‘)’ token
digestmd5.c:1096: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c:1103: error: expected expression before ‘)’ token
digestmd5.c:1105: error: ‘des_context_t’ has no member named ‘ivec’
digestmd5.c: In function ‘digestmd5_server_mech_step’:
digestmd5.c:3051: warning: pointer targets in assignment differ in signedness
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory `/usr/src/cyrus-sasl-2.1.26/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cyrus-sasl-2.1.26'
make: *** [all] Error 2
------------------------------------------------------------------------------------
-


论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
2 [报告]
发表于 2013-10-27 14:50 来自手机 |只看该作者
没报错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP