免费注册 查看新帖 |

Chinaunix

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

pam_abl 不能安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-02 19:16 |只看该作者 |倒序浏览
解压后的:
drwxrwxr-x 6     500     500  4096 Oct 13  2005 pam_abl
-rw------- 1 virtual virtual 19000 Jun  1 02:53 pam_abl-0.2.3.tar.gz


安装出现的错误:

a_j~:/home/ftp/pam_abl# ./configure
-bash: ./configure: 没有那个文件或目录

a_j~:/home/ftp/pam_abl# make && make install
cc -Wall -fPIC   -c -o pam_abl.o pam_abl.c
In file included from pam_abl.c:53:
pam_abl.h:53:34: error: security/pam_modules.h: No such file or directory
pam_abl.h:54:16: error: db.h: No such file or directory
In file included from pam_abl.c:53:
pam_abl.h:85: error: expected specifier-qualifier-list before 'pam_handle_t'
pam_abl.h:120: error: expected ')' before '*' token
pam_abl.h:121: error: expected ')' before '*' token
pam_abl.h:127: error: expected ')' before '*' token
pam_abl.c:64: error: expected ')' before '*' token
pam_abl.c:73: error: expected declaration specifiers or '...' before 'DBT'
pam_abl.c: In function 'grow_buffer':
pam_abl.c:75: error: 'dbt' undeclared (first use in this function)
pam_abl.c:75: error: (Each undeclared identifier is reported only once
pam_abl.c:75: error: for each function it appears in.)
pam_abl.c: In function 'record':
pam_abl.c:91: error: 'DB' undeclared (first use in this function)
pam_abl.c:91: error: 'db' undeclared (first use in this function)
pam_abl.c:93: error: 'DBT' undeclared (first use in this function)
pam_abl.c:93: error: expected ';' before 'key'
pam_abl.c:95: warning: implicit declaration of function 'db_create'
pam_abl.c:103: error: 'DB_BTREE' undeclared (first use in this function)
pam_abl.c:105: error: 'DB_CREATE' undeclared (first use in this function)
pam_abl.c:105: warning: left-hand operand of comma expression has no effect
pam_abl.c:113: warning: implicit declaration of function 'make_key'
pam_abl.c:113: error: 'key' undeclared (first use in this function)
pam_abl.c:115: error: 'data' undeclared (first use in this function)
pam_abl.c:116: error: 'DB_DBT_USERMEM' undeclared (first use in this function)
pam_abl.c:121: error: too many arguments to function 'grow_buffer'
pam_abl.c:129: error: 'DB_NOTFOUND' undeclared (first use in this function)
pam_abl.c:134: warning: implicit declaration of function 'rule_purge'
pam_abl.c:139: error: too many arguments to function 'grow_buffer'
pam_abl.c:146: warning: left-hand operand of comma expression has no effect
pam_abl.c:156: warning: left-hand operand of comma expression has no effect
pam_abl.c: In function 'record_host':
pam_abl.c:167: error: 'abl_args' has no member named 'host_db'
pam_abl.c:171: warning: implicit declaration of function 'pam_get_item'
pam_abl.c:171: error: 'abl_args' has no member named 'pamh'
pam_abl.c:171: error: 'PAM_RHOST' undeclared (first use in this function)
pam_abl.c:171: error: 'PAM_SUCCESS' undeclared (first use in this function)
pam_abl.c:176: error: 'abl_args' has no member named 'host_db'
pam_abl.c:176: error: 'abl_args' has no member named 'host_purge'
pam_abl.c:184: warning: control reaches end of non-void function
pam_abl.c: In function 'record_user':
pam_abl.c:187: error: 'abl_args' has no member named 'user_db'
pam_abl.c:190: error: 'abl_args' has no member named 'pamh'
pam_abl.c:190: error: 'PAM_USER' undeclared (first use in this function)
pam_abl.c:190: error: 'PAM_SUCCESS' undeclared (first use in this function)
pam_abl.c:195: error: 'abl_args' has no member named 'user_db'
pam_abl.c:195: error: 'abl_args' has no member named 'user_purge'
pam_abl.c:203: warning: control reaches end of non-void function
pam_abl.c: In function 'check':
pam_abl.c:226: error: 'DB' undeclared (first use in this function)
pam_abl.c:226: error: 'db' undeclared (first use in this function)
pam_abl.c:228: error: 'DBT' undeclared (first use in this function)
pam_abl.c:228: error: expected ';' before 'key'
pam_abl.c:239: error: 'DB_BTREE' undeclared (first use in this function)
pam_abl.c:241: warning: left-hand operand of comma expression has no effect
pam_abl.c:252: error: 'key' undeclared (first use in this function)
pam_abl.c:254: error: 'data' undeclared (first use in this function)
pam_abl.c:255: error: 'DB_DBT_MALLOC' undeclared (first use in this function)
pam_abl.c:259: error: 'DB_NOTFOUND' undeclared (first use in this function)
pam_abl.c:274: warning: left-hand operand of comma expression has no effect
pam_abl.c: In function 'check_host':
pam_abl.c:285: error: 'abl_args' has no member named 'host_db'
pam_abl.c:288: error: 'abl_args' has no member named 'pamh'
pam_abl.c:288: error: 'PAM_RHOST' undeclared (first use in this function)
pam_abl.c:288: error: 'PAM_SUCCESS' undeclared (first use in this function)
pam_abl.c:294: error: 'abl_args' has no member named 'host_db'
pam_abl.c:294: error: 'abl_args' has no member named 'host_rule'
pam_abl.c:302: warning: control reaches end of non-void function
pam_abl.c: In function 'check_user':
pam_abl.c:305: error: 'abl_args' has no member named 'user_db'
pam_abl.c:307: error: 'abl_args' has no member named 'user_db'
pam_abl.c:307: error: 'abl_args' has no member named 'user_rule'
pam_abl.c:311: warning: control reaches end of non-void function
pam_abl.c: In function 'check_attempt':
pam_abl.c:319: error: 'abl_args' has no member named 'pamh'
pam_abl.c:319: error: 'PAM_USER' undeclared (first use in this function)
pam_abl.c:319: error: 'PAM_SUCCESS' undeclared (first use in this function)
pam_abl.c:324: error: 'abl_args' has no member named 'pamh'
pam_abl.c:324: error: 'PAM_SERVICE' undeclared (first use in this function)
pam_abl.c: At top level:
pam_abl.c:342: error: expected ')' before '*' token
pam_abl.c:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
pam_abl.c:394: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
make: *** [pam_abl.o] Error 1

论坛徽章:
0
2 [报告]
发表于 2009-06-04 00:14 |只看该作者
等待高手出现。。。

论坛徽章:
0
3 [报告]
发表于 2009-07-03 15:53 |只看该作者
如果是centos5/rhel 5,请安装这个
    ftp://194.199.20.114/linux/dag/r ... 3-1.el5.rf.i386.rpm

论坛徽章:
0
4 [报告]
发表于 2009-07-03 15:54 |只看该作者
另外提供一个讨论连接:
    http://linux.chinaunix.net/bbs/v ... p;extra=&page=1

论坛徽章:
0
5 [报告]
发表于 2009-07-07 10:30 |只看该作者
[root@mail ~]# yum list pam_abl
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Available Packages
pam_abl.x86_64                      0.2.3-1.el5.rf                      rpmforge
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP