mod_vhost_ldap

Support for webhosts that use CentOS
Post Reply
egiatsios
Posts: 1
Joined: 2007/07/27 11:04:48

mod_vhost_ldap

Post by egiatsios » 2007/07/27 11:23:25

Hi there,

i am facing with a problem trying to add module mod_vhost_ldap on my server. Does anyone have faced problems installing this modules? When i type make on the module directory it generates the following error messages:

# make
apxs -Wc,-Wall -Wc,-Werror -Wc,-g -Wc,-DDEBUG -Wc,-DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/`cat VERSION`\\\" -c -lldap_r mod_vhost_ldap.c
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0 -I/usr/include/httpd -Wall -Werror -g -DDEBUG -DMOD_VHOST_LDAP_VERSION=\"mod_vhost_ldap/1.0.0\" -c -o mod_vhost_ldap.lo mod_vhost_ldap.c && touch mod_vhost_ldap.slo
mod_vhost_ldap.c:38:2: #error mod_vhost_ldap requires APR-util to have LDAP support built in
mod_vhost_ldap.c:69: error: syntax error before "deref_options"
mod_vhost_ldap.c:69: warning: no semicolon at end of struct or union
mod_vhost_ldap.c:81: error: syntax error before '}' token
mod_vhost_ldap.c:81: warning: type defaults to `int' in declaration of `mod_vhost_ldap_config_t'
mod_vhost_ldap.c:81: warning: data definition has no type or storage class
mod_vhost_ldap.c: In function `mod_vhost_ldap_create_server_config':
mod_vhost_ldap.c:115: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:115: error: (Each undeclared identifier is reported only once
mod_vhost_ldap.c:115: error: for each function it appears in.)
mod_vhost_ldap.c:116: error: syntax error before ')' token
mod_vhost_ldap.c:123: error: `always' undeclared (first use in this function)
mod_vhost_ldap.c: In function `mod_vhost_ldap_merge_server_config':
mod_vhost_ldap.c:132: error: `parent' undeclared (first use in this function)
mod_vhost_ldap.c:132: error: syntax error before ')' token
mod_vhost_ldap.c:133: error: `child' undeclared (first use in this function)
mod_vhost_ldap.c:133: error: syntax error before ')' token
mod_vhost_ldap.c:134: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:135: error: syntax error before ')' token
mod_vhost_ldap.c: In function `mod_vhost_ldap_parse_url':
mod_vhost_ldap.c:187: error: `apr_ldap_url_desc_t' undeclared (first use in this function)
mod_vhost_ldap.c:187: error: `urld' undeclared (first use in this function)
mod_vhost_ldap.c:189: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:190: error: syntax error before ')' token
mod_vhost_ldap.c:197: warning: implicit declaration of function `apr_ldap_url_parse'
mod_vhost_ldap.c:198: error: `LDAP_SUCCESS' undeclared (first use in this function)
mod_vhost_ldap.c:200: error: `LDAP_URL_ERR_NOTLDAP' undeclared (first use in this function)
mod_vhost_ldap.c:202: error: `LDAP_URL_ERR_NODN' undeclared (first use in this function)
mod_vhost_ldap.c:204: error: `LDAP_URL_ERR_BADSCOPE' undeclared (first use in this function)
mod_vhost_ldap.c:206: error: `LDAP_URL_ERR_MEM' undeclared (first use in this function)
mod_vhost_ldap.c:224: error: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
mod_vhost_ldap.c:225: error: `LDAP_SCOPE_BASE' undeclared (first use in this function)
mod_vhost_ldap.c:226: error: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
mod_vhost_ldap.c:268: error: `LDAPS_PORT' undeclared (first use in this function)
mod_vhost_ldap.c:275: error: `LDAP_PORT' undeclared (first use in this function)
mod_vhost_ldap.c:281: warning: implicit declaration of function `apr_ldap_free_urldesc'
mod_vhost_ldap.c: In function `mod_vhost_ldap_set_enabled':
mod_vhost_ldap.c:287: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:288: error: syntax error before ')' token
mod_vhost_ldap.c: In function `mod_vhost_ldap_set_binddn':
mod_vhost_ldap.c:298: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:299: error: syntax error before ')' token
mod_vhost_ldap.c: In function `mod_vhost_ldap_set_bindpw':
mod_vhost_ldap.c:308: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:309: error: syntax error before ')' token
mod_vhost_ldap.c: In function `mod_vhost_ldap_set_deref':
mod_vhost_ldap.c:318: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:319: error: syntax error before ')' token
mod_vhost_ldap.c:323: error: `never' undeclared (first use in this function)
mod_vhost_ldap.c:327: error: `searching' undeclared (first use in this function)
mod_vhost_ldap.c:331: error: `finding' undeclared (first use in this function)
mod_vhost_ldap.c:335: error: `always' undeclared (first use in this function)
mod_vhost_ldap.c: In function `mod_vhost_ldap_set_fallback':
mod_vhost_ldap.c:346: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:347: error: syntax error before ')' token
mod_vhost_ldap.c: In function `mod_vhost_ldap_translate_name':
mod_vhost_ldap.c:396: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:397: error: syntax error before ')' token
mod_vhost_ldap.c:400: error: `util_ldap_connection_t' undeclared (first use in this function)
mod_vhost_ldap.c:400: error: `ldc' undeclared (first use in this function)
mod_vhost_ldap.c:420: warning: implicit declaration of function `util_ldap_connection_find'
mod_vhost_ldap.c:439: warning: implicit declaration of function `util_ldap_cache_getuserdn'
mod_vhost_ldap.c:442: warning: implicit declaration of function `util_ldap_connection_close'
mod_vhost_ldap.c:445: error: `LDAP_SERVER_DOWN' undeclared (first use in this function)
mod_vhost_ldap.c:451: error: `LDAP_NO_SUCH_OBJECT' undeclared (first use in this function)
mod_vhost_ldap.c:470: error: `LDAP_SUCCESS' undeclared (first use in this function)
mod_vhost_ldap.c:474: warning: implicit declaration of function `ldap_err2string'
mod_vhost_ldap.c:474: warning: format argument is not a pointer (arg 9)
mod_vhost_ldap.c: In function `mod_vhost_ldap_get_suexec_id_doer':
mod_vhost_ldap.c:565: error: `conf' undeclared (first use in this function)
mod_vhost_ldap.c:566: error: syntax error before ')' token
apxs:Error: Command failed with rc=65536

Anyone has an idea about that?

Thanks in advance

glitterpowder
Posts: 4
Joined: 2007/09/03 02:43:36
Contact:

Re: mod_vhost_ldap

Post by glitterpowder » 2007/09/03 02:54:42

Not listen, Bangniding what expectations do you resolve the problem!

Post Reply

Return to “CentOS 4 - Webhosting Support”