./configure --prefix=/usr/local --sysconfdir=/etc/httpd-main \ --mandir=/usr/share/man --enable-authn-dbm --enable-authn-anon \ --enable-authn-dbd --enable-ssl \ --enable-file-cache --enable-cache \ --enable-disk-cache --enable-mem-cache --enable-dbd --enable-echo \ --enable-example --enable-case-filter --enable-case-filter-in \ --enable-ext-filter --enable-deflate --enable-charset-lite \ --enable-log-forensic --enable-logio --enable-mime-magic --enable-headers \ --enable-ident --enable-usertrack --enable-unique-id --enable-proxy \ --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http \ --enable-proxy-ajp --enable-static-support \ --enable-static-htpasswd --enable-http --enable-dav --enable-cgi \ --enable-cgid --enable-dav-fs --enable-vhost-alias --enable-imagemap \ --enable-speling --enable-rewrite --enable-so --with-pcre=/usr --with-z=/usr \ --with-program-name=ee_httpd_server --with-ldap=/usr/local/lib --enable-mods-shared="authnz_ldap ssl ldap" ------- Error ------- mod_authnz_ldap.c:40:2: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure. mod_authnz_ldap.c:62: error: syntax error before "deref_options" mod_authnz_ldap.c:62: warning: no semicolon at end of struct or union mod_authnz_ldap.c:77: error: syntax error before '}' token mod_authnz_ldap.c:77: warning: data definition has no type or storage class mod_authnz_ldap.c:93: error: syntax error before '*' token mod_authnz_ldap.c:93: warning: data definition has no type or storage class mod_authnz_ldap.c:94: error: syntax error before '*' token mod_authnz_ldap.c:94: warning: data definition has no type or storage class mod_authnz_ldap.c:95: error: syntax error before '*' token mod_authnz_ldap.c:95: warning: data definition has no type or storage class mod_authnz_ldap.c:96: error: syntax error before '*' token mod_authnz_ldap.c:96: warning: data definition has no type or storage class mod_authnz_ldap.c:97: error: syntax error before '*' token mod_authnz_ldap.c:97: warning: data definition has no type or storage class mod_authnz_ldap.c:98: error: syntax error before '*' token mod_authnz_ldap.c:98: warning: data definition has no type or storage class mod_authnz_ldap.c:99: error: syntax error before '*' token mod_authnz_ldap.c:99: warning: data definition has no type or storage class mod_authnz_ldap.c:178: error: syntax error before "authn_ldap_config_t" mod_authnz_ldap.c: In function `authn_ldap_build_filter': mod_authnz_ldap.c:187: error: `sent_user' undeclared (first use in this function) mod_authnz_ldap.c:187: error: (Each undeclared identifier is reported only once mod_authnz_ldap.c:187: error: for each function it appears in.) mod_authnz_ldap.c:188: error: `r' undeclared (first use in this function) mod_authnz_ldap.c:193: error: `sent_filter' undeclared (first use in this function) mod_authnz_ldap.c:197: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c:218: error: `filtbuf' undeclared (first use in this function) mod_authnz_ldap.c: In function `create_authnz_ldap_dir_config': mod_authnz_ldap.c:278: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c:279: error: syntax error before ')' token mod_authnz_ldap.c:296: error: `always' undeclared (first use in this function) mod_authnz_ldap.c: In function `authnz_ldap_cleanup_connection_close': mod_authnz_ldap.c:315: error: `util_ldap_connection_t' undeclared (first use in this function) mod_authnz_ldap.c:315: error: `ldc' undeclared (first use in this function) mod_authnz_ldap.c:316: error: called object is not a function mod_authnz_ldap.c: In function `authn_ldap_check_password': mod_authnz_ldap.c:337: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c:338: error: syntax error before ')' token mod_authnz_ldap.c:340: error: `util_ldap_connection_t' undeclared (first use in this function) mod_authnz_ldap.c:340: error: `ldc' undeclared (first use in this function) mod_authnz_ldap.c:368: error: called object is not a function mod_authnz_ldap.c:383: error: called object is not a function mod_authnz_ldap.c:390: error: called object is not a function mod_authnz_ldap.c:399: error: called object is not a function mod_authnz_ldap.c:400: error: called object is not a function mod_authnz_ldap.c:403: error: `LDAP_SERVER_DOWN' undeclared (first use in this function) mod_authnz_ldap.c:410: error: `LDAP_SUCCESS' undeclared (first use in this function) mod_authnz_ldap.c:416: error: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this function) mod_authnz_ldap.c:420: error: `LDAP_INAPPROPRIATE_AUTH' undeclared (first use in this function) mod_authnz_ldap.c:421: error: `LDAP_INVALID_CREDENTIALS' undeclared (first use in this function) mod_authnz_ldap.c: In function `authz_ldap_check_user_access': mod_authnz_ldap.c:502: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c:503: error: syntax error before ')' token mod_authnz_ldap.c:505: error: `util_ldap_connection_t' undeclared (first use in this function) mod_authnz_ldap.c:505: error: `ldc' undeclared (first use in this function) mod_authnz_ldap.c:533: error: called object is not a function mod_authnz_ldap.c:590: error: called object is not a function mod_authnz_ldap.c:593: error: `LDAP_SUCCESS' undeclared (first use in this function) mod_authnz_ldap.c:629: error: called object is not a function mod_authnz_ldap.c:631: error: `LDAP_COMPARE_TRUE' undeclared (first use in this function) mod_authnz_ldap.c:649: error: called object is not a function mod_authnz_ldap.c:675: error: called object is not a function mod_authnz_ldap.c:724: error: called object is not a function mod_authnz_ldap.c:758: error: called object is not a function mod_authnz_ldap.c:795: error: called object is not a function mod_authnz_ldap.c:803: error: called object is not a function mod_authnz_ldap.c:814: 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:865: error: `apr_ldap_url_desc_t' undeclared (first use in this function) mod_authnz_ldap.c:865: error: `urld' undeclared (first use in this function) mod_authnz_ldap.c:866: error: `apr_ldap_err_t' undeclared (first use in this function) mod_authnz_ldap.c:866: error: `result' undeclared (first use in this function) mod_authnz_ldap.c:868: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c:889: error: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function) mod_authnz_ldap.c:890: error: `LDAP_SCOPE_BASE' undeclared (first use in this function) mod_authnz_ldap.c:891: error: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this function) mod_authnz_ldap.c:946: error: `APR_LDAP_NONE' undeclared (first use in this function) mod_authnz_ldap.c:949: error: `APR_LDAP_SSL' undeclared (first use in this function) mod_authnz_ldap.c:952: error: `APR_LDAP_STARTTLS' undeclared (first use in this function) mod_authnz_ldap.c:965: error: `LDAPS_PORT' undeclared (first use in this function) mod_authnz_ldap.c:971: error: `LDAP_PORT' undeclared (first use in this function) mod_authnz_ldap.c: In function `mod_auth_ldap_set_deref': mod_authnz_ldap.c:983: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c:986: error: `never' undeclared (first use in this function) mod_authnz_ldap.c:989: error: `searching' undeclared (first use in this function) mod_authnz_ldap.c:992: error: `finding' undeclared (first use in this function) mod_authnz_ldap.c:995: error: `always' undeclared (first use in this function) mod_authnz_ldap.c: In function `mod_auth_ldap_add_group_attribute': mod_authnz_ldap.c:1007: error: `sec' undeclared (first use in this function) mod_authnz_ldap.c: At top level: mod_authnz_ldap.c:1051: error: syntax error before ')' token mod_authnz_ldap.c:1051: error: initializer element is not constant mod_authnz_ldap.c:1051: error: (near initialization for `authnz_ldap_cmds[1].cmd_data') mod_authnz_ldap.c:1051: error: initializer element is not constant mod_authnz_ldap.c:1051: error: (near initialization for `authnz_ldap_cmds[1]') mod_authnz_ldap.c:1055: error: initializer element is not constant mod_authnz_ldap.c:1055: error: (near initialization for `authnz_ldap_cmds[2].func') mod_authnz_ldap.c:1055: error: syntax error before ')' token mod_authnz_ldap.c:1055: error: initializer element is not constant mod_authnz_ldap.c:1055: error: (near initialization for `authnz_ldap_cmds[2].cmd_data') mod_authnz_ldap.c:1055: error: initializer element is not constant mod_authnz_ldap.c:1055: error: (near initialization for `authnz_ldap_cmds[2]') mod_authnz_ldap.c:1059: error: initializer element is not constant mod_authnz_ldap.c:1059: error: (near initialization for `authnz_ldap_cmds[3].func') mod_authnz_ldap.c:1059: error: syntax error before ')' token mod_authnz_ldap.c:1059: error: initializer element is not constant mod_authnz_ldap.c:1059: error: (near initialization for `authnz_ldap_cmds[3].cmd_data') mod_authnz_ldap.c:1059: error: initializer element is not constant mod_authnz_ldap.c:1059: error: (near initialization for `authnz_ldap_cmds[3]') mod_authnz_ldap.c:1065: error: initializer element is not constant mod_authnz_ldap.c:1065: error: (near initialization for `authnz_ldap_cmds[4].func') mod_authnz_ldap.c:1065: error: syntax error before ')' token mod_authnz_ldap.c:1065: error: initializer element is not constant mod_authnz_ldap.c:1065: error: (near initialization for `authnz_ldap_cmds[4].cmd_data') mod_authnz_ldap.c:1065: error: initializer element is not constant mod_authnz_ldap.c:1065: error: (near initialization for `authnz_ldap_cmds[4]') mod_authnz_ldap.c:1072: error: initializer element is not constant mod_authnz_ldap.c:1072: error: (near initialization for `authnz_ldap_cmds[5].func') mod_authnz_ldap.c:1072: error: syntax error before ')' token mod_authnz_ldap.c:1072: error: initializer element is not constant mod_authnz_ldap.c:1072: error: (near initialization for `authnz_ldap_cmds[5].cmd_data') mod_authnz_ldap.c:1072: error: initializer element is not constant mod_authnz_ldap.c:1072: error: (near initialization for `authnz_ldap_cmds[5]') mod_authnz_ldap.c:1077: error: initializer element is not constant mod_authnz_ldap.c:1077: error: (near initialization for `authnz_ldap_cmds[6].func') mod_authnz_ldap.c:1077: error: syntax error before ')' token mod_authnz_ldap.c:1077: error: initializer element is not constant mod_authnz_ldap.c:1077: error: (near initialization for `authnz_ldap_cmds[6].cmd_data') mod_authnz_ldap.c:1077: error: initializer element is not constant mod_authnz_ldap.c:1077: error: (near initialization for `authnz_ldap_cmds[6]') mod_authnz_ldap.c:1084: error: initializer element is not constant mod_authnz_ldap.c:1084: error: (near initialization for `authnz_ldap_cmds[7].func') mod_authnz_ldap.c:1084: error: initializer element is not constant mod_authnz_ldap.c:1084: error: (near initialization for `authnz_ldap_cmds[7]') mod_authnz_ldap.c:1088: error: initializer element is not constant mod_authnz_ldap.c:1088: error: (near initialization for `authnz_ldap_cmds[8].func') mod_authnz_ldap.c:1088: error: syntax error before ')' token mod_authnz_ldap.c:1088: error: initializer element is not constant mod_authnz_ldap.c:1088: error: (near initialization for `authnz_ldap_cmds[8].cmd_data') mod_authnz_ldap.c:1088: error: initializer element is not constant mod_authnz_ldap.c:1088: error: (near initialization for `authnz_ldap_cmds[8]') mod_authnz_ldap.c:1094: error: initializer element is not constant mod_authnz_ldap.c:1094: error: (near initialization for `authnz_ldap_cmds[9].func') mod_authnz_ldap.c:1094: error: initializer element is not constant mod_authnz_ldap.c:1094: error: (near initialization for `authnz_ldap_cmds[9]') mod_authnz_ldap.c:1105: error: initializer element is not constant mod_authnz_ldap.c:1105: error: (near initialization for `authnz_ldap_cmds[10].func') mod_authnz_ldap.c:1105: error: initializer element is not constant mod_authnz_ldap.c:1105: error: (near initialization for `authnz_ldap_cmds[10]') mod_authnz_ldap.c:1109: error: initializer element is not constant mod_authnz_ldap.c:1109: error: (near initialization for `authnz_ldap_cmds[11]') mod_authnz_ldap.c: In function `ImportULDAPOptFn': mod_authnz_ldap.c:1202: error: `apr_OFN_uldap_connection_close_t' undeclared (first use in this function) mod_authnz_ldap.c:1202: error: syntax error before ')' token mod_authnz_ldap.c:1203: error: `apr_OFN_uldap_connection_find_t' undeclared (first use in this function) mod_authnz_ldap.c:1203: error: syntax error before ')' token mod_authnz_ldap.c:1204: error: `apr_OFN_uldap_cache_comparedn_t' undeclared (first use in this function) mod_authnz_ldap.c:1204: error: syntax error before ')' token mod_authnz_ldap.c:1205: error: `apr_OFN_uldap_cache_compare_t' undeclared (first use in this function) mod_authnz_ldap.c:1205: error: syntax error before ')' token mod_authnz_ldap.c:1206: error: `apr_OFN_uldap_cache_checkuserid_t' undeclared (first use in this function) mod_authnz_ldap.c:1206: error: syntax error before ')' token mod_authnz_ldap.c:1207: error: `apr_OFN_uldap_cache_getuserdn_t' undeclared (first use in this function) mod_authnz_ldap.c:1207: error: syntax error before ')' token mod_authnz_ldap.c:1208: error: `apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function) mod_authnz_ldap.c:1208: error: syntax error before ')' token make[4]: *** [mod_authnz_ldap.slo] Error 1 make[4]: Leaving directory `/home/reinosos/httpd-2.2.4/modules/aaa' make[3]: *** [shared-build-recursive] Error 1 make[3]: Leaving directory `/home/reinosos/httpd-2.2.4/modules/aaa' make[2]: *** [shared-build-recursive] Error 1 make[2]: Leaving directory `/home/reinosos/httpd-2.2.4/modules' make[1]: *** [shared-build-recursive] Error 1 make[1]: Leaving directory `/home/reinosos/httpd-2.2.4' make: *** [all-recursive] Error 1