当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求教:pam_ldap-184总安装不了
帖子发表于 : 2009-04-16 11:22 

注册: 2009-02-25 11:10
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
应用环境有apache认证,SVN,FTP,SSH登录等,想用openLDAP作统一用户管理,我已安装好openldap-2.4.11和BDB4.6,ldap运行正常。
网上说SSH需要安装pam_ldap,我总不能安装成功,请大家帮助查看一下,谢谢!!!
(我用的是一台ubuntu7.04,本想这样安装:apt-get install slapd ldap-utils,结果有循环依赖,不会解决,就从openldap.org,下载安装了)
root@ubu7:/home/mac/pam_ldap-184# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for security/pam_appl.h... (cached) no
checking for security/pam_misc.h... (cached) no
checking for security/pam_modules.h... (cached) no
checking for pam/pam_appl.h... (cached) no
checking for pam/pam_misc.h... (cached) no
checking for pam/pam_modules.h... (cached) no
checking for des.h... (cached) no
checking for crypt.h... (cached) yes
checking for lber.h... (cached) yes
checking for ldap.h... (cached) yes
checking for ldap_ssl.h... (cached) no
checking for sasl/sasl.h... (cached) no
checking for sasl.h... (cached) no
checking for main in -ldl... (cached) yes
checking for main in -lpam... (cached) no
checking for main in -lresolv... (cached) yes
checking for main in -lcrypt... (cached) yes
checking for main in -lnsl... (cached) yes
checking for gethostbyname... (cached) yes
checking for main in -llber... (cached) yes
checking for main in -lldap... (cached) yes
checking for ldap_init... (cached) yes
checking for ldap_get_lderrno... (cached) no
checking for ldap_set_lderrno... (cached) no
checking for ldap_parse_result... (cached) yes
checking for ldap_memfree... (cached) yes
checking for ldap_controls_free... (cached) yes
checking for ldap_set_option... (cached) yes
checking for ldap_get_option... (cached) yes
checking for ldapssl_init... (cached) no
checking for ldap_start_tls_s... (cached) yes
checking for ldap_pvt_tls_set_option... (cached) no
checking for ldap_initialize... (cached) yes
checking for ldap_sasl_bind... (cached) yes
checking for ldap_sasl_interactive_bind_s... (cached) yes
checking for gethostbyname_r... (cached) yes
checking whether gethostbyname_r takes 6 arguments... (cached) 6
checking for ldap_set_rebind_proc... (cached) yes
checking whether ldap_set_rebind_proc takes 3 arguments... (cached) 3
creating ./config.status
creating Makefile
creating config.h

root@ubu7:/home/mac/pam_ldap-184# make
gcc -DHAVE_CONFIG_H -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -g -O2 -Wall -fPIC -c pam_ldap.c
In file included from pam_ldap.c:131:
pam_ldap.h:35:34: error: security/pam_modules.h: No such file or directory
In file included from pam_ldap.c:131:
pam_ldap.h:329: error: expected ??before ??token
pam_ldap.h:330: error: expected ??before ??token
pam_ldap.h:334: error: expected ??before ??token
pam_ldap.h:335: error: expected ??before ??token
pam_ldap.h:339: error: expected ??before ??token
pam_ldap.h:343: error: expected ??before ??token
pam_ldap.c:203: error: expected ??before ??token
pam_ldap.c:205: error: expected ??before ??token
pam_ldap.c:206: error: expected ??before ??token
pam_ldap.c:247: error: expected ??before ??token
pam_ldap.c:261: error: expected ??before ??token
pam_ldap.c:266: error: expected ??before ??token
pam_ldap.c:272: error: expected ??before ??token
pam_ldap.c:274: error: expected ??before ??token
pam_ldap.c:279: error: expected ??before ??token
pam_ldap.c:281: warning: 鈙truct pam_conv?declared inside parameter list
pam_ldap.c:281: warning: its scope is only this definition or declaration, which is probably not what you want
pam_ldap.c:566: error: expected ??before ??token
pam_ldap.c:591: error: expected ??before ??token
pam_ldap.c:600: error: expected ??before ??token
pam_ldap.c: In function 鈅alloc_config?
pam_ldap.c:617: error: 釶AM_BUF_ERR?undeclared (first use in this function)
pam_ldap.c:617: error: (Each undeclared identifier is reported only once
pam_ldap.c:617: error: for each function it appears in.)
pam_ldap.c:666: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅read_config?
pam_ldap.c:771: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c:773: error: 釶AM_BUF_ERR?undeclared (first use in this function)
pam_ldap.c:800: error: 釶AM_SERVICE_ERR?undeclared (first use in this function)
pam_ldap.c: In function 鈅open_session?
pam_ldap.c:1261: error: 釶AM_SERVICE_ERR?undeclared (first use in this function)
pam_ldap.c:1383: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c:1388: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅connect_anonymously?
pam_ldap.c:1530: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c:1557: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c:1587: error: 釶AM_CRED_INSUFFICIENT?undeclared (first use in this function)
pam_ldap.c: In function 鈅rebind_proc?
pam_ldap.c:1643: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c: At top level:
pam_ldap.c:1899: error: expected ??before ??token
pam_ldap.c: In function 鈅get_integer_value?
pam_ldap.c:2218: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c:2223: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅get_long_integer_value?
pam_ldap.c:2235: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c:2240: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅get_string_value?
pam_ldap.c:2281: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c:2286: error: 釶AM_BUF_ERR?undeclared (first use in this function)
pam_ldap.c:2290: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅get_string_values?
pam_ldap.c:2306: error: 釶AM_AUTHINFO_UNAVAIL?undeclared (first use in this function)
pam_ldap.c:2310: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: At top level:
pam_ldap.c:2347: error: expected ??before ??token
pam_ldap.c: In function 鈅host_ok?
pam_ldap.c:2396: error: 釶AM_PERM_DENIED?undeclared (first use in this function)
pam_ldap.c:2402: error: 釶AM_SYSTEM_ERR?undeclared (first use in this function)
pam_ldap.c:2440: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅escape_string?
pam_ldap.c:2521: error: 釶AM_BUF_ERR?undeclared (first use in this function)
pam_ldap.c:2557: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅get_user_info?
pam_ldap.c:2572: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c:2627: error: 釶AM_USER_UNKNOWN?undeclared (first use in this function)
pam_ldap.c:2652: error: 釶AM_BUF_ERR?undeclared (first use in this function)
pam_ldap.c:2668: error: 釶AM_SERVICE_ERR?undeclared (first use in this function)
pam_ldap.c:2731: warning: pointer targets in passing argument 4 of 鈅get_long_integer_value?differ in signedness
pam_ldap.c: At top level:
pam_ldap.c:2739: error: expected ??before ??token
pam_ldap.c: In function 鈅session_reopen?
pam_ldap.c:2848: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: In function 鈅get_password_policy?
pam_ldap.c:2855: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c: At top level:
pam_ldap.c:2904: error: expected ??before ??token
pam_ldap.c:2928: error: expected ??before ??token
pam_ldap.c:3208: error: expected ??before ??token
pam_ldap.c:3258: warning: 鈙truct pam_conv?declared inside parameter list
pam_ldap.c:3259: error: conflicting types for 鈅conv_sendmsg?
pam_ldap.c:281: error: previous declaration of 鈅conv_sendmsg?was here
pam_ldap.c: In function 鈅conv_sendmsg?
pam_ldap.c:3260: error: storage size of 鈓sg?isn鈚 known
pam_ldap.c:3264: error: 釶AM_SUCCESS?undeclared (first use in this function)
pam_ldap.c:3272: error: dereferencing pointer to incomplete type
pam_ldap.c:3274: error: dereferencing pointer to incomplete type
pam_ldap.c:3260: warning: unused variable 鈓sg?
pam_ldap.c: At top level:
pam_ldap.c:3278: error: expected ??before ??token
pam_ldap.c:3371: error: expected ??before ??token
pam_ldap.c:3377: error: expected ??before ??token
pam_ldap.c:3394: error: expected ??before ??token
pam_ldap.c:3401: error: expected ??before ??token
pam_ldap.c:3793: error: expected ??before ??token
make: *** [pam_ldap.o] Error 1


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求教:pam_ldap-184总安装不了
帖子发表于 : 2009-05-12 15:50 

注册: 2009-02-25 11:10
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
这么久了还是无人说话啊。。。有编译通过的吗,发上来大家共享一下 !!! 我baidu+google这么久也不知道该怎么做啊!!!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译