- 论坛徽章:
- 0
|
解压后的:
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 |
|