- 论坛徽章:
- 0
|
port tree 已最新
第一次在make config 里面可能没选LDAP,而选择了其下面那个选项AUTHNZ_LDAP。造成make过程中下面错误。- Building shared: mod_authn_file.la mod_authn_dbm.la mod_authn_anon.la mod_authn_default.la mod_authn_alias.la mod_authz_host.la mod_authz_groupfile.la mod_authz_user.la mod_authz_dbm.la mod_authz_owner.la mod_authnz_ldap.la mod_authz_default.la mod_auth_basic.la mod_auth_digest.la
- /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -g -I/usr/local/include -O2 -pipe -I/usr/include -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/www/apache22/work/httpd-2.2.16/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.16/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.16/include -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/db42 -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.16/modules/dav/main -prefer-pic -c mod_authnz_ldap.c && touch mod_authnz_ldap.slo
- mod_authnz_ldap.c:41:2: error: #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: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:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
- mod_authnz_ldap.c: In function 'create_authnz_ldap_dir_config':
- mod_authnz_ldap.c:290: error: 'authn_ldap_config_t' has no member named 'groupattr'
- mod_authnz_ldap.c:293: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
- mod_authnz_ldap.c:296: error: 'authn_ldap_config_t' has no member named 'binddn'
- mod_authnz_ldap.c:297: error: 'authn_ldap_config_t' has no member named 'bindpw'
- mod_authnz_ldap.c:298: error: 'authn_ldap_config_t' has no member named 'bind_authoritative'
- mod_authnz_ldap.c:299: error: 'authn_ldap_config_t' has no member named 'deref'
- mod_authnz_ldap.c:299: error: 'always' undeclared (first use in this function)
- mod_authnz_ldap.c:299: error: (Each undeclared identifier is reported only once
- mod_authnz_ldap.c:299: error: for each function it appears in.)
- mod_authnz_ldap.c:300: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
- mod_authnz_ldap.c:307: error: 'authn_ldap_config_t' has no member named 'secure'
- mod_authnz_ldap.c:309: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
- mod_authnz_ldap.c:310: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
- mod_authnz_ldap.c:311: 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:318: error: 'util_ldap_connection_t' undeclared (first use in this function)
- mod_authnz_ldap.c:318: error: 'ldc' undeclared (first use in this function)
- mod_authnz_ldap.c: In function 'authn_ldap_check_password':
- mod_authnz_ldap.c:343: error: 'util_ldap_connection_t' undeclared (first use in this function)
复制代码 后来同时选上这两个选项及同时不选。
试过make clean,make config-recuisive,make distclean等。
一直失败。请哪达人们帮忙看一下。谢谢 |
|