Возникла сложность при установки apache
Добавлено: 2009-10-21 23:55:55
Помогите плизз, при установки ошибка:
Как мне этого избежать?
Код: Выделить всё
#error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
mod_authnz_ldap.c:63: error: expected specifier-qualifier-list before 'deref_options'
mod_authnz_ldap.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
mod_authnz_ldap.c: In function 'create_authnz_ldap_dir_config':
mod_authnz_ldap.c:289: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:292: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:295: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:296: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:297: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:297: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c:297: error: (Each undeclared identifier is reported only once
mod_authnz_ldap.c:297: error: for each function it appears in.)
mod_authnz_ldap.c:298: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:305: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:307: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:308: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:309: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c: In function 'authnz_ldap_cleanup_connection_close':
mod_authnz_ldap.c:316: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:316: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'authn_ldap_check_password':
mod_authnz_ldap.c:341: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:341: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:359: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:368: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:369: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:404: error: 'LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_authnz_ldap.c:411: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:417: error: 'LDAP_NO_SUCH_OBJECT' undeclared (first use in this function)
mod_authnz_ldap.c:421: error: 'LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this function)
mod_authnz_ldap.c:422: error: 'LDAP_INVALID_CREDENTIALS' undeclared (first use in this function)
mod_authnz_ldap.c:436: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:454: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:455: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:464: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:471: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c: In function 'authz_ldap_check_user_access':
mod_authnz_ldap.c:504: error: 'util_ldap_connection_t' undeclared (first use in this function)
mod_authnz_ldap.c:504: error: 'ldc' undeclared (first use in this function)
mod_authnz_ldap.c:526: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:532: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:533: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:548: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:553: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:555: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:593: error: 'LDAP_SUCCESS' undeclared (first use in this function)
mod_authnz_ldap.c:632: error: 'LDAP_COMPARE_TRUE' undeclared (first use in this function)
mod_authnz_ldap.c:677: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:694: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:698: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:720: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:724: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:727: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c:808: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:819: error: 'LDAP_FILTER_ERROR' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_parse_url':
mod_authnz_ldap.c:870: error: 'apr_ldap_url_desc_t' undeclared (first use in this function)
mod_authnz_ldap.c:870: error: 'urld' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'apr_ldap_err_t' undeclared (first use in this function)
mod_authnz_ldap.c:871: error: 'result' undeclared (first use in this function)
mod_authnz_ldap.c:894: error: 'LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_authnz_ldap.c:895: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_authnz_ldap.c:896: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_authnz_ldap.c:951: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:951: error: 'APR_LDAP_NONE' undeclared (first use in this function)
mod_authnz_ldap.c:954: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:954: error: 'APR_LDAP_SSL' undeclared (first use in this function)
mod_authnz_ldap.c:957: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:957: error: 'APR_LDAP_STARTTLS' undeclared (first use in this function)
mod_authnz_ldap.c:969: error: 'authn_ldap_config_t' has no member named 'secure'
mod_authnz_ldap.c:970: error: 'LDAPS_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:976: error: 'LDAP_PORT' undeclared (first use in this function)
mod_authnz_ldap.c:981: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
mod_authnz_ldap.c: In function 'mod_auth_ldap_set_deref':
mod_authnz_ldap.c:991: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:991: error: 'never' undeclared (first use in this function)
mod_authnz_ldap.c:994: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:994: error: 'searching' undeclared (first use in this function)
mod_authnz_ldap.c:997: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:997: error: 'finding' undeclared (first use in this function)
mod_authnz_ldap.c:1000: error: 'authn_ldap_config_t' has no member named 'deref'
mod_authnz_ldap.c:1000: error: 'always' undeclared (first use in this function)
mod_authnz_ldap.c: In function 'mod_auth_ldap_add_group_attribute':
mod_authnz_ldap.c:1014: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c:1017: error: 'authn_ldap_config_t' has no member named 'groupattr'
mod_authnz_ldap.c: At top level:
mod_authnz_ldap.c:1056: error: 'authn_ldap_config_t' has no member named 'binddn'
mod_authnz_ldap.c:1060: error: 'authn_ldap_config_t' has no member named 'bindpw'
mod_authnz_ldap.c:1064: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
mod_authnz_ldap.c:1070: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
mod_authnz_ldap.c:1082: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
mod_authnz_ldap.c:1093: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
mod_authnz_ldap.c: In function 'ImportULDAPOptFn':
mod_authnz_ldap.c:1207: error: 'util_ldap_connection_close' undeclared (first use in this function)
mod_authnz_ldap.c:1207: error: 'apr_OFN_uldap_connection_close_t' undeclared (first use in this function)
mod_authnz_ldap.c:1207: error: expected expression before ')' token
mod_authnz_ldap.c:1207: error: invalid operands to binary *
mod_authnz_ldap.c:1208: error: 'util_ldap_connection_find' undeclared (first use in this function)
mod_authnz_ldap.c:1208: error: 'apr_OFN_uldap_connection_find_t' undeclared (first use in this function)
mod_authnz_ldap.c:1208: error: expected expression before ')' token
mod_authnz_ldap.c:1208: error: invalid operands to binary *
mod_authnz_ldap.c:1209: error: 'util_ldap_cache_comparedn' undeclared (first use in this function)
mod_authnz_ldap.c:1209: error: 'apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1209: error: expected expression before ')' token
mod_authnz_ldap.c:1209: error: invalid operands to binary *
mod_authnz_ldap.c:1210: error: 'util_ldap_cache_compare' undeclared (first use in this function)
mod_authnz_ldap.c:1210: error: 'apr_OFN_uldap_cache_compare_t' undeclared (first use in this function)
mod_authnz_ldap.c:1210: error: expected expression before ')' token
mod_authnz_ldap.c:1210: error: invalid operands to binary *
mod_authnz_ldap.c:1211: error: 'util_ldap_cache_checkuserid' undeclared (first use in this function)
mod_authnz_ldap.c:1211: error: 'apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function)
mod_authnz_ldap.c:1211: error: expected expression before ')' token
mod_authnz_ldap.c:1211: error: invalid operands to binary *
mod_authnz_ldap.c:1212: error: 'util_ldap_cache_getuserdn' undeclared (first use in this function)
mod_authnz_ldap.c:1212: error: 'apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function)
mod_authnz_ldap.c:1212: error: expected expression before ')' token
mod_authnz_ldap.c:1212: error: invalid operands to binary *
mod_authnz_ldap.c:1213: error: 'util_ldap_ssl_supported' undeclared (first use in this function)
mod_authnz_ldap.c:1213: error: 'apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
mod_authnz_ldap.c:1213: error: expected expression before ')' token
mod_authnz_ldap.c:1213: error: invalid operands to binary *
*** Error code 1
Stop in /usr/ports/www/apache22/work/httpd-2.2.11/modules/aaa.
*** Error code 1
Stop in /usr/ports/www/apache22/work/httpd-2.2.11/modules/aaa.
*** Error code 1
Stop in /usr/ports/www/apache22/work/httpd-2.2.11/modules.
*** Error code 1
Stop in /usr/ports/www/apache22/work/httpd-2.2.11.
*** Error code 1
Stop in /usr/ports/www/apache22/work/httpd-2.2.11.
*** Error code 1
Stop in /usr/ports/www/apache22.
*** Error code 1
Stop in /usr/ports/www/apache22.
*** Error code 1
Stop in /usr/ports/www/apache22.