I am following this guide http://wiki.squid-cache.org/KnowledgeBase/LdapBackedDigestAuthentication and I am getting quite a few errors on ./configure --disable-ident-lookups --enable-auth=digest --enable-digest-auth-helpers=ldap make make[2]: Entering directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/ntlm_auth' make[3]: Entering directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/ntlm_auth' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/ntlm_auth' make[2]: Leaving directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/ntlm_auth' Making all in digest_auth make[2]: Entering directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/digest_auth' Making all in ldap make[3]: Entering directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/digest_auth/ldap' if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I. -I../../../include -I../../../include -I../../../src/ -Wall -g -O2 -MT digest_pw_auth.o -MD -MP -MF ".deps/digest_pw_auth.Tpo" -c -o digest_pw_auth.o digest_pw_auth.c; \ then mv -f ".deps/digest_pw_auth.Tpo" ".deps/digest_pw_auth.Po"; else rm -f ".deps/digest_pw_auth.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I. -I../../../include -I../../../include -I../../../src/ -Wall -g -O2 -MT ldap_backend.o -MD -MP -MF ".deps/ldap_backend.Tpo" -c -o ldap_backend.o ldap_backend.c; \ then mv -f ".deps/ldap_backend.Tpo" ".deps/ldap_backend.Po"; else rm -f ".deps/ldap_backend.Tpo"; exit 1; fi ldap_backend.c:42:18: error: lber.h: No such file or directory ldap_backend.c:43:18: error: ldap.h: No such file or directory ldap_backend.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ldap_backend.c:60: error: 'LDAP_SCOPE_SUBTREE' undeclared here (not in a function) ldap_backend.c:64: error: 'LDAP_PORT' undeclared here (not in a function) ldap_backend.c:66: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function) ldap_backend.c:72: error: 'LDAP_NO_LIMIT' undeclared here (not in a function) ldap_backend.c:118: error: expected ')' before '*' token ldap_backend.c: In function 'squid_ldap_set_aliasderef': ldap_backend.c:125: error: 'ld' undeclared (first use in this function) ldap_backend.c:125: error: (Each undeclared identifier is reported only once ldap_backend.c:125: error: for each function it appears in.) ldap_backend.c: In function 'squid_ldap_set_referrals': ldap_backend.c:131: error: 'ld' undeclared (first use in this function) ldap_backend.c:131: error: 'LDAP_OPT_REFERRALS' undeclared (first use in this function) ldap_backend.c: In function 'squid_ldap_set_timelimit': ldap_backend.c:138: error: 'ld' undeclared (first use in this function) ldap_backend.c: In function 'getpassword': ldap_backend.c:190: error: 'LDAPMessage' undeclared (first use in this function) ldap_backend.c:190: error: 'res' undeclared (first use in this function) ldap_backend.c:191: error: 'entry' undeclared (first use in this function) ldap_backend.c:199: error: 'ld' undeclared (first use in this function) ldap_backend.c:210: warning: implicit declaration of function 'ldap_search_s' ldap_backend.c:211: error: 'LDAP_SUCCESS' undeclared (first use in this function) ldap_backend.c:212: error: 'LDAP_PARTIAL_RESULTS' undeclared (first use in this function) ldap_backend.c:218: warning: implicit declaration of function 'ldap_err2string' ldap_backend.c:218: warning: format '%s' expects type 'char *', but argument 3 has type 'int' ldap_backend.c:225: warning: format '%s' expects type 'char *', but argument 3 has type 'int' ldap_backend.c:226: warning: implicit declaration of function 'ldap_msgfree' ldap_backend.c:230: warning: implicit declaration of function 'ldap_unbind' ldap_backend.c:248: warning: implicit declaration of function 'ldap_first_entry' ldap_backend.c:250: warning: implicit declaration of function 'ldap_get_values' ldap_backend.c:250: warning: assignment makes pointer from integer without a cast ldap_backend.c:278: warning: implicit declaration of function 'ldap_value_free' ldap_backend.c:282: warning: format '%s' expects type 'char *', but argument 3 has type 'int' ldap_backend.c: In function 'ldapconnect': ldap_backend.c:320: error: 'ld' undeclared (first use in this function) ldap_backend.c:345: warning: implicit declaration of function 'ldap_init' ldap_backend.c:380: warning: implicit declaration of function 'ldap_simple_bind_s' ldap_backend.c:381: error: 'LDAP_SUCCESS' undeclared (first use in this function) ldap_backend.c:382: warning: format '%s' expects type 'char *', but argument 3 has type 'int' ldap_backend.c: In function 'LDAPArguments': ldap_backend.c:459: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function) ldap_backend.c:461: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function) ldap_backend.c:489: error: 'LDAP_DEREF_ALWAYS' undeclared (first use in this function) ldap_backend.c:491: error: 'LDAP_DEREF_SEARCHING' undeclared (first use in this function) ldap_backend.c:493: error: 'LDAP_DEREF_FINDING' undeclared (first use in this function) make[3]: *** [ldap_backend.o] Error 1 make[3]: Leaving directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/digest_auth/ldap' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers/digest_auth' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/guppy/Desktop/squid-3.HEAD-20080603/helpers' make: *** [all-recursive] Error 1 guppy@guppy:~/Desktop/squid-3.HEAD-20080603$ cp ./helpers/digest_auth/ldap/digest_ldap_auth /usr/lib/squid cp: cannot stat `./helpers/digest_auth/ldap/digest_ldap_auth': No such file or directory guppy@guppy:~/Desktop/squid-3.HEAD-20080603$ cp ./helpers/digest_auth/ldap/digest_ldap_auth /usr/lib/squid cp: cannot stat `./helpers/digest_auth/ldap/digest_ldap_auth': No such file or directory guppy@guppy:~/Desktop/squid-3.HEAD-20080603$ cp ./helpers/digest_auth/ldap/digestsquid guppy@guppy:~/Desktop/squid-3.HEAD-20080603$ Does anybody know what it is I am doing wrong?