免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] FB8.0 ports 安装apache 提示LDAP模块依存失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-09-03 13:49 |只看该作者 |倒序浏览
port tree 已最新
第一次在make config 里面可能没选LDAP,而选择了其下面那个选项AUTHNZ_LDAP。造成make过程中下面错误。
  1. 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
  2. /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
  3. 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.
  4. mod_authnz_ldap.c:63: error: expected specifier-qualifier-list before 'deref_options'
  5. mod_authnz_ldap.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  6. mod_authnz_ldap.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  7. mod_authnz_ldap.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  8. mod_authnz_ldap.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  9. mod_authnz_ldap.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  10. mod_authnz_ldap.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  11. mod_authnz_ldap.c:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  12. mod_authnz_ldap.c: In function 'create_authnz_ldap_dir_config':
  13. mod_authnz_ldap.c:290: error: 'authn_ldap_config_t' has no member named 'groupattr'
  14. mod_authnz_ldap.c:293: error: 'authn_ldap_config_t' has no member named 'have_ldap_url'
  15. mod_authnz_ldap.c:296: error: 'authn_ldap_config_t' has no member named 'binddn'
  16. mod_authnz_ldap.c:297: error: 'authn_ldap_config_t' has no member named 'bindpw'
  17. mod_authnz_ldap.c:298: error: 'authn_ldap_config_t' has no member named 'bind_authoritative'
  18. mod_authnz_ldap.c:299: error: 'authn_ldap_config_t' has no member named 'deref'
  19. mod_authnz_ldap.c:299: error: 'always' undeclared (first use in this function)
  20. mod_authnz_ldap.c:299: error: (Each undeclared identifier is reported only once
  21. mod_authnz_ldap.c:299: error: for each function it appears in.)
  22. mod_authnz_ldap.c:300: error: 'authn_ldap_config_t' has no member named 'group_attrib_is_dn'
  23. mod_authnz_ldap.c:307: error: 'authn_ldap_config_t' has no member named 'secure'
  24. mod_authnz_ldap.c:309: error: 'authn_ldap_config_t' has no member named 'user_is_dn'
  25. mod_authnz_ldap.c:310: error: 'authn_ldap_config_t' has no member named 'remote_user_attribute'
  26. mod_authnz_ldap.c:311: error: 'authn_ldap_config_t' has no member named 'compare_dn_on_server'
  27. mod_authnz_ldap.c: In function 'authnz_ldap_cleanup_connection_close':
  28. mod_authnz_ldap.c:318: error: 'util_ldap_connection_t' undeclared (first use in this function)
  29. mod_authnz_ldap.c:318: error: 'ldc' undeclared (first use in this function)
  30. mod_authnz_ldap.c: In function 'authn_ldap_check_password':
  31. mod_authnz_ldap.c:343: error: 'util_ldap_connection_t' undeclared (first use in this function)
复制代码
后来同时选上这两个选项及同时不选。
试过make clean,make config-recuisive,make distclean等。
一直失败。请哪达人们帮忙看一下。谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP