PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache und mod_auth_ldap



thonix
20.07.04, 15:53
Ich will apache und mod_auth_ldap

Ich habe apr bereits installiert.

dann:


./configure --prefix=/opt/httpd_2050 --enable-auth-ldap --with-apr=/opt/apr/

und bei make kommt dann:



mod_auth_ldap.c:46:2: #error mod_auth_ldap requires APR-util to have LDAP support built in
mod_auth_ldap.c:68: parse error before "deref_options"
mod_auth_ldap.c:68: warning: no semicolon at end of struct or union
mod_auth_ldap.c:83: parse error before '}' token
mod_auth_ldap.c:83: warning: data definition has no type or storage class
mod_auth_ldap.c:102: parse error before "mod_auth_ldap_config_t"
mod_auth_ldap.c:184: parse error before "mod_auth_ldap_config_t"
mod_auth_ldap.c: In function `mod_auth_ldap_build_filter':
mod_auth_ldap.c:193: `r' undeclared (first use in this function)
mod_auth_ldap.c:193: (Each undeclared identifier is reported only once
mod_auth_ldap.c:193: for each function it appears in.)
mod_auth_ldap.c:218: `filtbuf' undeclared (first use in this function)
mod_auth_ldap.c:218: `sec' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_cleanup_connection_close':
mod_auth_ldap.c:250: `util_ldap_connection_t' undeclared (first use in this function)
mod_auth_ldap.c:250: `ldc' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_check_user_id':
mod_auth_ldap.c:271: `sec' undeclared (first use in this function)
mod_auth_ldap.c:272: parse error before ')' token
mod_auth_ldap.c:274: `util_ldap_connection_t' undeclared (first use in this function)
mod_auth_ldap.c:274: `ldc' undeclared (first use in this function)
mod_auth_ldap.c:336: `LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_auth_ldap.c:343: `LDAP_SUCCESS' undeclared (first use in this function)
mod_auth_ldap.c:348: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_auth_checker':
mod_auth_ldap.c:411: `sec' undeclared (first use in this function)
mod_auth_ldap.c:412: parse error before ')' token
mod_auth_ldap.c:415: `util_ldap_connection_t' undeclared (first use in this function)
mod_auth_ldap.c:415: `ldc' undeclared (first use in this function)
mod_auth_ldap.c:522: `LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_create_dir_config':
mod_auth_ldap.c:659: `sec' undeclared (first use in this function)
mod_auth_ldap.c:660: parse error before ')' token
mod_auth_ldap.c:676: `always' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_parse_url':
mod_auth_ldap.c:697: `apr_ldap_url_desc_t' undeclared (first use in this function)
mod_auth_ldap.c:697: `urld' undeclared (first use in this function)
mod_auth_ldap.c:699: `sec' undeclared (first use in this function)
mod_auth_ldap.c:706: `LDAP_SUCCESS' undeclared (first use in this function)
mod_auth_ldap.c:708: `LDAP_URL_ERR_NOTLDAP' undeclared (first use in this function)
mod_auth_ldap.c:710: `LDAP_URL_ERR_NODN' undeclared (first use in this function)
mod_auth_ldap.c:712: `LDAP_URL_ERR_BADSCOPE' undeclared (first use in this function)
mod_auth_ldap.c:714: `LDAP_URL_ERR_MEM' undeclared (first use in this function)
mod_auth_ldap.c:732: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_auth_ldap.c:733: `LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_auth_ldap.c:734: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_auth_ldap.c:792: `LDAPS_PORT' undeclared (first use in this function)
mod_auth_ldap.c:799: `LDAP_PORT' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_set_deref':
mod_auth_ldap.c:811: `sec' undeclared (first use in this function)
mod_auth_ldap.c:814: `never' undeclared (first use in this function)
mod_auth_ldap.c:817: `searching' undeclared (first use in this function)
mod_auth_ldap.c:820: `finding' undeclared (first use in this function)
mod_auth_ldap.c:823: `always' undeclared (first use in this function)
mod_auth_ldap.c: In function `mod_auth_ldap_add_group_attribute':
mod_auth_ldap.c:835: `sec' undeclared (first use in this function)
mod_auth_ldap.c: At top level:
mod_auth_ldap.c:881: parse error before ')' token
mod_auth_ldap.c:881: initializer element is not constant
mod_auth_ldap.c:881: (near initialization for `mod_auth_ldap_cmds[1].cmd_data')
mod_auth_ldap.c:881: initializer element is not constant
mod_auth_ldap.c:881: (near initialization for `mod_auth_ldap_cmds[1]')
mod_auth_ldap.c:885: initializer element is not constant
mod_auth_ldap.c:885: (near initialization for `mod_auth_ldap_cmds[2].func')
mod_auth_ldap.c:885: parse error before ')' token
mod_auth_ldap.c:885: initializer element is not constant
mod_auth_ldap.c:885: (near initialization for `mod_auth_ldap_cmds[2].cmd_data')
mod_auth_ldap.c:885: initializer element is not constant
mod_auth_ldap.c:885: (near initialization for `mod_auth_ldap_cmds[2]')
mod_auth_ldap.c:891: initializer element is not constant
mod_auth_ldap.c:891: (near initialization for `mod_auth_ldap_cmds[3].func')
mod_auth_ldap.c:891: parse error before ')' token
mod_auth_ldap.c:891: initializer element is not constant
mod_auth_ldap.c:891: (near initialization for `mod_auth_ldap_cmds[3].cmd_data')
mod_auth_ldap.c:891: initializer element is not constant
mod_auth_ldap.c:891: (near initialization for `mod_auth_ldap_cmds[3]')
mod_auth_ldap.c:896: initializer element is not constant
mod_auth_ldap.c:896: (near initialization for `mod_auth_ldap_cmds[4].func')
mod_auth_ldap.c:896: parse error before ')' token
mod_auth_ldap.c:896: initializer element is not constant
mod_auth_ldap.c:896: (near initialization for `mod_auth_ldap_cmds[4].cmd_data')
mod_auth_ldap.c:896: initializer element is not constant
mod_auth_ldap.c:896: (near initialization for `mod_auth_ldap_cmds[4]')
mod_auth_ldap.c:903: initializer element is not constant
mod_auth_ldap.c:903: (near initialization for `mod_auth_ldap_cmds[5].func')
mod_auth_ldap.c:903: parse error before ')' token
mod_auth_ldap.c:903: initializer element is not constant
mod_auth_ldap.c:903: (near initialization for `mod_auth_ldap_cmds[5].cmd_data')
mod_auth_ldap.c:903: initializer element is not constant
mod_auth_ldap.c:903: (near initialization for `mod_auth_ldap_cmds[5]')
mod_auth_ldap.c:907: initializer element is not constant
mod_auth_ldap.c:907: (near initialization for `mod_auth_ldap_cmds[6].func')
mod_auth_ldap.c:907: initializer element is not constant
mod_auth_ldap.c:907: (near initialization for `mod_auth_ldap_cmds[6]')
mod_auth_ldap.c:913: initializer element is not constant
mod_auth_ldap.c:913: (near initialization for `mod_auth_ldap_cmds[7].func')
mod_auth_ldap.c:913: parse error before ')' token
mod_auth_ldap.c:913: initializer element is not constant
mod_auth_ldap.c:913: (near initialization for `mod_auth_ldap_cmds[7].cmd_data')
mod_auth_ldap.c:913: initializer element is not constant
mod_auth_ldap.c:913: (near initialization for `mod_auth_ldap_cmds[7]')
mod_auth_ldap.c:918: initializer element is not constant
mod_auth_ldap.c:918: (near initialization for `mod_auth_ldap_cmds[8].func')
mod_auth_ldap.c:918: initializer element is not constant
mod_auth_ldap.c:918: (near initialization for `mod_auth_ldap_cmds[8]')
mod_auth_ldap.c:922: initializer element is not constant
mod_auth_ldap.c:922: (near initialization for `mod_auth_ldap_cmds[9].func')
mod_auth_ldap.c:922: parse error before ')' token
mod_auth_ldap.c:922: initializer element is not constant
mod_auth_ldap.c:922: (near initialization for `mod_auth_ldap_cmds[9].cmd_data')
mod_auth_ldap.c:922: initializer element is not constant
mod_auth_ldap.c:922: (near initialization for `mod_auth_ldap_cmds[9]')
mod_auth_ldap.c:926: initializer element is not constant
mod_auth_ldap.c:926: (near initialization for `mod_auth_ldap_cmds[10].func')
mod_auth_ldap.c:926: parse error before ')' token
mod_auth_ldap.c:926: initializer element is not constant
mod_auth_ldap.c:926: (near initialization for `mod_auth_ldap_cmds[10].cmd_data')
mod_auth_ldap.c:926: initializer element is not constant
mod_auth_ldap.c:926: (near initialization for `mod_auth_ldap_cmds[10]')
mod_auth_ldap.c:930: initializer element is not constant
mod_auth_ldap.c:930: (near initialization for `mod_auth_ldap_cmds[11].func')
mod_auth_ldap.c:930: initializer element is not constant
mod_auth_ldap.c:930: (near initialization for `mod_auth_ldap_cmds[11]')
mod_auth_ldap.c:932: initializer element is not constant
mod_auth_ldap.c:932: (near initialization for `mod_auth_ldap_cmds[12]')
make[3]: *** [mod_auth_ldap.lo] Error 1
make[3]: Leaving directory `/root/httpd-2.0.50/modules/experimental'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/httpd-2.0.50/modules/experimental'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/httpd-2.0.50/modules'
make: *** [all-recursive] Error 1