ports/124651: www/apache22: WITH_LDAP: Broken

Larry Rosenman ler at lerctr.org
Mon Jun 16 20:30:03 UTC 2008


>Number:         124651
>Category:       ports
>Synopsis:       www/apache22: WITH_LDAP: Broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 16 20:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Larry Rosenman
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD LER-wp-sandbox.lombardisw.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	Installing a new VM, and when I went to build www/apache22 and checked 
the LDAP box on the options screen, and then we get a compile error.  
        I originally didn't have openldap installed, but the same thing 
happens with it installed.
>How-To-Repeat:
attempt to make www/apache22.

output:

===>  Building for apache-2.2.8
Making all in srclib
Making all in apr
Making all in apr-util
Making all in pcre
Making all in os
Making all in unix
Making all in server
Making all in mpm
Making all in prefork
Making all in modules
Making all in aaa
Making all in cache
Making all in debug
Making all in filters
Making all in loggers
Making all in metadata
Making all in ssl
Making all in http
Making all in dav/main
Making all in generators
Making all in dav/fs
Making all in mappers
Making all in support

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/ports/www/apache22/work/httpd-2.2.8/srclib/apr/libtool --silent --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/include      -I/usr/ports/www/apache22/work/httpd-2.2.8/srclib/pcre -I. -I/usr/ports/www/apache22/work/httpd-2.2.8/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.8/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.8/include -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/database -I/usr/ports/www/apache22/work/httpd-2.2.8/srclib/apr/include -I/usr/ports/www/apache22/work/httpd-2.2.8/srclib/apr-util/include -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.8/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2
 .2.8/modules/ssl -I/usr/ports/www/apache22/work/httpd-2.2.8/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: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.8/modules/aaa.
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa.
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.8/modules.
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.8.
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.8.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
>Fix:

Unknown. 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list