[squid-users] SquidCompilationproblem -squid_ldap_auth.c:123:18: error: lber.h: No such file or directory

From: GIGO . <gigoz_at_msn.com>
Date: Sun, 21 Mar 2010 19:37:56 +0000

Please guide me on this whats wrong. I am unable to compile
 
Squid3stable24 on Ubuntu 8.04 LTS server.
 
I want to use active directory authentication(my clients should be able to authenticate themselves with active directory accounts) Following is my command:
 

./configure --sbindir=/usr/sbin --sysconfdir=/etc/squid3 --enable-removal-policies=lru --enable-delay-pools --enable-storeio=aufs,ufs --with-large-files --disable-ident-lookups --with-default-user=proxy --enable-basic-auth-helpers="LDAP" --enable-auth="basic,negotiate,ntlm" --enable-external-acl-helpers="wbinfo_group,ldap_group" --enable-negotiate-auth-helpers="squid_kerb_auth"
 
 
The error i am getting is:
 
Making all in basic_auth
make[2]: Entering directory `/home/bilal/squid-3.0.STABLE24/helpers/basic_auth'
Making all in LDAP
make[3]: Entering directory `/home/bilal/squid-3.0.STABLE24/helpers/basic_auth/LDAP'
gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -MT squid_ldap_auth.o -MD -MP -MF .deps/squid_ldap_auth.Tpo -c -o squid_ldap_auth.o squid_ldap_auth.c
squid_ldap_auth.c:123:18: error: lber.h: No such file or directory
squid_ldap_auth.c:124:18: error: ldap.h: No such file or directory
squid_ldap_auth.c:137: error: âLDAP_SCOPE_SUBTREEâ undeclared here (not in a function)
squid_ldap_auth.c:141: error: âLDAP_DEREF_NEVERâ undeclared here (not in a function)
squid_ldap_auth.c:147: error: âLDAP_NO_LIMITâ undeclared here (not in a function)
squid_ldap_auth.c:154: error: expected â)â before â*â token
squid_ldap_auth.c:208: error: expected â)â before â*â token
squid_ldap_auth.c:213: error: expected â)â before â*â token
squid_ldap_auth.c:218: error: expected â)â before â*â token
squid_ldap_auth.c:226: error: expected â)â before â*â token
squid_ldap_auth.c:231: error: expected â)â before â*â token
squid_ldap_auth.c:249: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
squid_ldap_auth.c: In function âmainâ:
squid_ldap_auth.c:348: error: âLDAPâ undeclared (first use in this function)
squid_ldap_auth.c:348: error: (Each undeclared identifier is reported only once
squid_ldap_auth.c:348: error: for each function it appears in.)
squid_ldap_auth.c:348: error: âldâ undeclared (first use in this function)
squid_ldap_auth.c:350: error: âLDAP_PORTâ undeclared (first use in this function)
squid_ldap_auth.c:410: error: âLDAP_SCOPE_BASEâ undeclared (first use in this function)
squid_ldap_auth.c:412: error: âLDAP_SCOPE_ONELEVELâ undeclared (first use in this function)
squid_ldap_auth.c:440: error: âLDAP_DEREF_ALWAYSâ undeclared (first use in this function)
squid_ldap_auth.c:442: error: âLDAP_DEREF_SEARCHINGâ undeclared (first use in this function)
squid_ldap_auth.c:444: error: âLDAP_DEREF_FINDINGâ undeclared (first use in this function)
squid_ldap_auth.c:586: warning: implicit declaration of function âopen_ldap_connectionâ
squid_ldap_auth.c:587: warning: implicit declaration of function âcheckLDAPâ
squid_ldap_auth.c:588: warning: implicit declaration of function âsquid_ldap_errnoâ
squid_ldap_auth.c:588: error: âLDAP_INVALID_CREDENTIALSâ undeclared (first use in this function)
squid_ldap_auth.c:590: warning: implicit declaration of function âldap_unbindâ
squid_ldap_auth.c:594: warning: implicit declaration of function âldap_err2stringâ
squid_ldap_auth.c:594: warning: format â%sâ expects type âchar *â, but argument 2 has type âintâ
squid_ldap_auth.c:598: error: âLDAP_SUCCESSâ undeclared (first use in this function)
squid_ldap_auth.c: At top level:
squid_ldap_auth.c:640: error: expected â)â before â*â token
make[3]: *** [squid_ldap_auth.o] Error 1
make[3]: Leaving directory `/home/bilal/squid-3.0.STABLE24/helpers/basic_auth/LDAP'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bilal/squid-3.0.STABLE24/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bilal/squid-3.0.STABLE24/helpers'
make: *** [all-recursive] Error 1

                                                
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
Received on Sun Mar 21 2010 - 19:38:03 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 22 2010 - 12:00:05 MDT