Auth_LDAP Installation error Help!!!
Hi
I Have Red Hat Linux 9.0
I installed OpenLDAP 2.0 in my Linux System
I have Apache 2.0.40 installed
Now I need Apache and LDAP authentication
For this I downloaded Auth_LDAP 1.6.0
I am trying to install this but I am unable to install
I also installed apxs form httpd-devel
Does auth_ldap 1.6 support for Apache 2.0?
has anyoone has installed before
Please tell me . The following is the error when I make the file
gcc -c -o auth_ldap.o -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/kerberos/include -DWITH_SHARED_LDAP_CACHE -DWITH_OPENLDAP -I/usr/include/httpd auth_ldap.c
In file included from auth_ldap.c:20:
auth_ldap.h:30:31: http_conf_globals.h: No such file or directory
auth_ldap.h:31:25: multithread.h: No such file or directory
auth_ldap.h:67:1: warning: "ap_get_module_config" redefined
In file included from auth_ldap.h:25,
from auth_ldap.c:20:
/usr/include/httpd/http_config.h:487:1: warning: this is the location of the previous definition
In file included from auth_ldap.c:20:
auth_ldap.h:77:1: warning: "APLOG_DEBUG" redefined
In file included from auth_ldap.h:27,
from auth_ldap.c:20:
/usr/include/httpd/http_log.h:86:1: warning: this is the location of the previous definition
In file included from auth_ldap.c:20:
auth_ldap.h:78:1: warning: "APLOG_WARNING" redefined
In file included from auth_ldap.h:27,
from auth_ldap.c:20:
/usr/include/httpd/http_log.h:83:1: warning: this is the location of the previous definition
In file included from auth_ldap.c:20:
auth_ldap.h:79:1: warning: "APLOG_ERR" redefined
In file included from auth_ldap.h:27,
from auth_ldap.c:20:
/usr/include/httpd/http_log.h:82:1: warning: this is the location of the previous definition
In file included from auth_ldap.c:20:
auth_ldap.h:80:1: warning: "APLOG_NOERRNO" redefined
In file included from auth_ldap.h:27,
from auth_ldap.c:20:
/usr/include/httpd/http_log.h:108:1: warning: this is the location of the previous definition
In file included from auth_ldap.c:20:
auth_ldap.h:186: parse error before "mutex"
auth_ldap.h:186: warning: no semicolon at end of struct or union
auth_ldap.h:195: parse error before '}' token
auth_ldap.h:204: parse error before "mutex"
auth_ldap.h:204: warning: no semicolon at end of struct or union
auth_ldap.h:209: parse error before '}' token
auth_ldap.h:209: warning: data definition has no type or storage class
auth_ldap.h:250: parse error before "array_header"
auth_ldap.h:250: warning: no semicolon at end of struct or union
auth_ldap.h:263: parse error before '}' token
auth_ldap.h:263: warning: data definition has no type or storage class
auth_ldap.h:307: parse error before "pool"
auth_ldap.h:308: parse error before '*' token
auth_ldap.h:309: parse error before "auth_ldap_config_rec"
auth_ldap.h:312: parse error before "auth_ldap_config_rec"
auth_ldap.h:323: parse error before "auth_ldap_config_rec"
auth_ldap.h:325: parse error before "auth_ldap_config_rec"
auth_ldap.h:326: parse error before '*' token
auth_ldap.c:22: parse error before "auth_ldap_module"
auth_ldap.c:22: warning: data definition has no type or storage class
auth_ldap.c:29: conflicting types for `ap_log_error'
auth_ldap.c: In function `auth_ldap_free_connection':
auth_ldap.c:108: `sec' undeclared (first use in this function)
auth_ldap.c:108: (Each undeclared
Kindly help me out to sort the problem and installing auth_ldap
Regards
Sabeer
|