免费注册 查看新帖 |

Chinaunix

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

编译cyrus-sasl错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-29 19:32 |只看该作者 |倒序浏览
[root@localhost cyrus-sasl-2.1.22]# ./configure --enable-plain --enable-cram --enable-login --enable-sql --disable-anon --disable-nte-anon --disable-ntlm --disable-gssapi --disable-krb4 --disable-otp --disable-srp --disable-srp-setpass --with-myl --with-mysql-inclsql=/usr/local/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-mysql-libs=/usr/local/mysql/lib/urier-authlib/var/smysql --with-authdaemond=/usr/local/courier-authlib/var/spool/authdaemon/socket
configure: loading cache ./config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for db.h... (cached) no
checking for ndbm.h... (cached) no
checking for gdbm.h... (cached) yes
checking for gdbm_open in -lgdbm... (cached) yes
checking DB library to use... gdbm
checking if Berkeley DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... (cached) yes
checking /dev/random to use... /dev/random
checking for nm... (cached) /usr/bin/nm -B
checking for underscore before symbols... (cached) no
checking for syslog... (cached) yes
checking for security/pam_appl.h... (cached) no
checking for pam/pam_appl.h... (cached) no
checking for pam_start... (cached) no
checking if I should include saslauthd... /var/state/saslauthd
checking to include Courier authdaemond support... /usr/local/courier-authlib/var/spool/authdaemon/socket
checking if I should include pwcheck... no
checking if I should include the alwaystrue verifier... no
checking if we should enable sasl_checkapop... enabled
checking CRAM-MD5... enabled
checking for long... (cached) yes
checking size of long... (cached) 4
checking what directory libraries are found in... (cached) lib
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for openssl/evp.h... (cached) no
checking for OpenSSL... no
checking DIGEST-MD5... enabled
configure: WARNING: OpenSSL not found -- OTP will be disabled
checking OTP... disabled
configure: WARNING: OpenSSL not found -- SRP will be disabled
checking SRP... disabled
checking KERBEROS_V4... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking GSSAPI... disabled
checking PLAIN... enabled
checking ANONYMOUS... disabled
checking LOGIN... enabled
configure: WARNING: OpenSSL not found -- NTLM will be disabled
checking NTLM... disabled
configure: WARNING: OpenSSL not found -- PASSDSS will be disabled
checking PASSDSS... disabled
checking SQL... enabled
checking for mysql_select_db in -lmysqlclient... (cached) yes
configure: WARNING: PostgreSQL Library not found
configure: WARNING: SQLite Library not found
checking LDAPDB... disabled
checking for dmalloc library... no
checking for sfio library... no
checking for getsubopt... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for getaddrinfo... (cached) yes
checking for gai_strerror... (cached) yes
checking for getnameinfo... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for des.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for paths.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for varargs.h... (cached) no
checking whether you have ss_family in struct sockaddr_storage... (cached) yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
checking for gethostname... (cached) yes
checking for getdomainname... (cached) yes
checking for getpwnam... (cached) yes
checking for getspnam... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_aton... (cached) yes
checking for memcpy... (cached) yes
checking for mkdir... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strspn... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for jrand48... (cached) yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating sasldb/Makefile
config.status: creating plugins/Makefile
config.status: creating lib/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating sample/Makefile
config.status: creating java/Makefile
config.status: creating java/CyrusSasl/Makefile
config.status: creating java/Test/Makefile
config.status: creating java/javax/Makefile
config.status: creating java/javax/security/Makefile
config.status: creating java/javax/security/auth/Makefile
config.status: creating java/javax/security/auth/callback/Makefile
config.status: creating pwcheck/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: configuring in saslauthd
configure: running /bin/sh './configure' --prefix=/usr/local  '--enable-plain' '--enable-cram' '--enable-login' '--enable-sql' '--disable-anon' '--disable-ntlm' '--disable-gssapi' '--disable-krb4' '--disable-otp' '--disable-srp' '--disable-srp-setpass' '--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' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking for C compiler default output... 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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for __attribute__... (cached) no
checking for runpath switch... -Wl,-rpath,
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for dn_expand... (cached) yes
checking for dns_lookup... (cached) no
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for long... (cached) yes
checking size of long... (cached) 4
checking what directory libraries are found in... (cached) lib
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for openssl/evp.h... (cached) no
checking for OpenSSL... no
checking KERBEROS_V4... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking GSSAPI... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for pam_start in -lpam... (cached) no
checking for PAM support... no
checking for inet_aton in -lresolv... (cached) yes
checking to include LDAP support... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for krb5.h... (cached) no
checking for strings.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for pid_t... (cached) yes
checking whether gcc implements __func__... yes
checking return type of signal handlers... (cached) void
checking for gethostname... (cached) yes
checking for mkdir... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for getspnam... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking if getpwnam_r/getspnam_r take 5 arguments... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking whether you have ss_family in struct sockaddr_storage... (cached) yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating saslauthd.h
config.status: saslauthd.h is unchanged
config.status: executing depfiles commands
Configuration Complete. Type 'make' to build.
[root@localhost cyrus-sasl-2.1.22]# make
make  all-recursive
make[1]: Entering directory `/opt/cyrus-sasl-2.1.22'
Making all in include
make[2]: Entering directory `/opt/cyrus-sasl-2.1.22/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/cyrus-sasl-2.1.22/include'
Making all in sasldb
make[2]: Entering directory `/opt/cyrus-sasl-2.1.22/sasldb'
ar cru .libs/libsasldb.a db_gdbm.o allockey.o
make[2]: Leaving directory `/opt/cyrus-sasl-2.1.22/sasldb'
Making all in plugins
make[2]: Entering directory `/opt/cyrus-sasl-2.1.22/plugins'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include  -I/usr/local/mysql/include/mysql  -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF ".deps/digestmd5.Tpo" \
          -c -o digestmd5.lo `test -f 'digestmd5.c' || echo './'`digestmd5.c; \
        then mv ".deps/digestmd5.Tpo" ".deps/digestmd5.Plo"; \
        else rm -f ".deps/digestmd5.Tpo"; exit 1; \
        fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/local/mysql/include/mysql -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fPIC -DPIC -o digestmd5.lo
digestmd5.c:279: warning: pointer targets in initialization differ in signedness
digestmd5.c: In function 'DigestCalcResponse':
digestmd5.c:366: warning: pointer targets in passing argument 2 of 'utils->MD5Update' differ in signedness
digestmd5.c: At top level:
digestmd5.c:812: error: expected specifier-qualifier-list before 'des_key_schedule'
digestmd5.c: In function 'dec_3des':
digestmd5.c:849: warning: implicit declaration of function 'des_ede2_cbc_encrypt'
digestmd5.c:852: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:853: error: 'des_context_t' has no member named 'keysched2'
digestmd5.c:854: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:855: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:855: error: (Each undeclared identifier is reported only once
digestmd5.c:855: error: for each function it appears in.)
digestmd5.c:842: warning: unused parameter 'digest'
digestmd5.c: In function 'enc_3des':
digestmd5.c:900: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:901: error: 'des_context_t' has no member named 'keysched2'
digestmd5.c:902: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:903: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c: In function 'init_3des':
digestmd5.c:923: warning: implicit declaration of function 'des_key_sched'
digestmd5.c:923: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:923: error: expected expression before ')' token
digestmd5.c:927: error: expected expression before ')' token
digestmd5.c:929: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:936: error: expected expression before ')' token
digestmd5.c:940: error: expected expression before ')' token
digestmd5.c:943: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'dec_des':
digestmd5.c:967: warning: implicit declaration of function 'des_cbc_encrypt'
digestmd5.c:970: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:971: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:972: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:960: warning: unused parameter 'digest'
digestmd5.c: In function 'enc_des':
digestmd5.c:1021: error: 'des_context_t' has no member named 'keysched'
digestmd5.c:1022: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:1023: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c:1027: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'init_des':
digestmd5.c:1047: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:1047: error: expected expression before ')' token
digestmd5.c:1049: error: 'des_context_t' has no member named 'ivec'
digestmd5.c:1056: error: expected expression before ')' token
digestmd5.c:1058: error: 'des_context_t' has no member named 'ivec'
digestmd5.c: In function 'dec_rc4':
digestmd5.c:1211: warning: unused parameter 'digest'
digestmd5.c: In function 'digestmd5_encode':
digestmd5.c:1401: warning: pointer targets in passing argument 5 of 'text->utils->hmac_md5' differ in signedness
digestmd5.c: In function 'digestmd5_decode_packet':
digestmd5.c:1497: warning: pointer targets in assignment differ in signedness
digestmd5.c: In function 'digestmd5_server_mech_new':
digestmd5.c:1797: warning: unused parameter 'challenge'
digestmd5.c:1798: warning: unused parameter 'challen'
digestmd5.c: In function 'digestmd5_server_mech_step1':
digestmd5.c:1947: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness
digestmd5.c:1820: warning: unused parameter 'clientin'
digestmd5.c:1821: warning: unused parameter 'clientinlen'
digestmd5.c:1824: warning: unused parameter 'oparams'
digestmd5.c: In function 'digestmd5_server_mech_step2':
digestmd5.c:2100: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2117: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2235: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2235: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness

digestmd5.c:3735: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
digestmd5.c:3703: warning: unused parameter 'serverin'
digestmd5.c:3704: warning: unused parameter 'serverinlen'
digestmd5.c: In function 'digestmd5_client_mech_step3':
digestmd5.c:3838: warning: unused parameter 'prompt_need'
digestmd5.c:3839: warning: unused parameter 'clientout'
digestmd5.c:3840: warning: unused parameter 'clientoutlen'
digestmd5.c: In function 'digestmd5_client_mech_step':
digestmd5.c:4000: warning: pointer targets in assignment differ in signedness
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory `/opt/cyrus-sasl-2.1.22/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cyrus-sasl-2.1.22'
make: *** [all] Error 2

试过了几次都是这个错误,不知道有没有人知道呀?告知一下下呀

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2009-12-29 20:47 |只看该作者
把源码目录删除重新解压,执行configure,make看看.

论坛徽章:
2
午马
日期:2015-01-27 11:22:392015年辞旧岁徽章
日期:2015-03-03 16:54:15
3 [报告]
发表于 2009-12-30 08:19 |只看该作者
前面提示openssl没装,要不先装了openssl再编译这个

论坛徽章:
0
4 [报告]
发表于 2009-12-30 08:54 |只看该作者
删除了,重新configure,make还是不行
我的服务器上面有装openssl-0.9.8b-8.3.el5_0.2

论坛徽章:
0
5 [报告]
发表于 2010-09-25 14:56 |只看该作者
我也遇到同样的问题。openssl有安装
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP