Search squid archive

Re: Compile errors on LDAP authentication helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Squidly wrote:
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

SNIP
Does anybody know what it is I am doing wrong?

You are trying to compile without all the requisite header files. Dependant on your distribution, you should be able to install some kind of openldap development package. At the very least, a search for your distribution and lber.h should get you on the right path. I know that YUM allows you to search for the package that provides a specific file (yum provides lber.h).

Chris


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux