Sorry forgot to CC the list on my last reply.
If you are not sure you are going to be using ldap then I would say remove ldap
from your build and then be done with it.
--enable-basic-auth-helpers=NCSA,SMB
Agrawal, Devendra (Indust, PTL) wrote:
> Thanks for the response.
>
> Can I ignore these errors (as I am not sure if I will be using LDAP) and
> go ahead with squid configuration?
>
> Devendra
>
>
>
> -----Original Message-----
> From: Craig Van Tassle [mailto:cvantassle@chemtool.com]
> Sent: Wednesday, December 27, 2006 4:53 PM
> To: Agrawal, Devendra (Indust, PTL)
> Subject: Re: [squid-users] Errors while installing Squid Version
> 2.5.STABLE12
>
> It appears that you do not have the OPENldap headers installed, you may
> want to install the correct ldap development suite for your system.
>
> Agrawal, Devendra (Indust, PTL) wrote:
>> Hi,
>>
>> I am trying to install Squid Version 2.5.STABLE12.
>>
>> ./configure --prefix=/opt/local/squid --localstatedir=/var
>> --enable-poll --enable-snmp --enable-remova l-policies=heap,lru
>> --enable-storeio=aufs,coss,diskd,null,ufs
>> --enable-async-io --with-aufs-threads=48 --enable-delay-pools
>> --enable-linux-netfilter --with-pthreads
>> --enable-basic-auth-helpers=LDAP,NCSA,SMB
>> ,MSNT,winbind --enable-ntlm-auth-helpers=SMB,winbind,fakeauth
>> --enable-external-acl-helpers=ip_user,lda
>> p_group,unix_group,wbinfo_group,winbind_group --enable-auth=basic,ntlm
>
>> --enable-useragent-log --enable- referer-log --enable-gnuregex
>>
>> I observed following errors while running "make". Are they normal and
>> can be ignored?
>>
>> # make all
>>
>> squid_ldap_auth.c:88:18: lber.h: No such file or directory
>> squid_ldap_auth.c:89:18: ldap.h: No such file or directory
>> squid_ldap_auth.c:102: `LDAP_SCOPE_SUBTREE' undeclared here (not in a
>> function)
>> squid_ldap_auth.c:106: `LDAP_DEREF_NEVER' undeclared here (not in a
>> function)
>> squid_ldap_auth.c:112: `LDAP_NO_LIMIT' undeclared here (not in a
>> function)
>> squid_ldap_auth.c:119: syntax error before '*' token
>> squid_ldap_auth.c:173: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_errno':
>> squid_ldap_auth.c:175: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:175: (Each undeclared identifier is reported only
>> once
>> squid_ldap_auth.c:175: for each function it appears in.)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:178: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_set_aliasderef':
>> squid_ldap_auth.c:180: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:180: `deref' undeclared (first use in this function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:183: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_set_referrals':
>> squid_ldap_auth.c:185: `referrals' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:186: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:186: `LDAP_OPT_REFERRALS' undeclared (first use in
>> this function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:191: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_set_timelimit':
>> squid_ldap_auth.c:193: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:196: syntax error before '*' token
>> squid_ldap_auth.c:214: syntax error before '*' token
>> squid_ldap_auth.c:216: warning: return type defaults to `int'
>> squid_ldap_auth.c: In function `open_ldap_connection':
>> squid_ldap_auth.c:217: `LDAP' undeclared (first use in this function)
>> squid_ldap_auth.c:217: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:243: warning: implicit declaration of function
>> `ldap_init'
>> squid_ldap_auth.c: In function `main':
>> squid_ldap_auth.c:313: `LDAP' undeclared (first use in this function)
>> squid_ldap_auth.c:313: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:315: `LDAP_PORT' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:375: `LDAP_SCOPE_BASE' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:377: `LDAP_SCOPE_ONELEVEL' undeclared (first use in
>> this function)
>> squid_ldap_auth.c:379: `LDAP_SCOPE_SUBTREE' undeclared (first use in
>> this function)
>> squid_ldap_auth.c:403: `LDAP_DEREF_NEVER' undeclared (first use in
>> this
>> function)
>> squid_ldap_auth.c:405: `LDAP_DEREF_ALWAYS' undeclared (first use in
>> this
>> function)
>> squid_ldap_auth.c:407: `LDAP_DEREF_SEARCHING' undeclared (first use in
>
>> this function)
>> squid_ldap_auth.c:409: `LDAP_DEREF_FINDING' undeclared (first use in
>> this function)
>> squid_ldap_auth.c:536: `LDAP_INVALID_CREDENTIALS' undeclared (first
>> use in this function)
>> squid_ldap_auth.c:538: warning: implicit declaration of function
>> `ldap_unbind'
>> squid_ldap_auth.c:542: warning: implicit declaration of function
>> `ldap_err2string'
>> squid_ldap_auth.c:542: warning: format argument is not a pointer (arg
>> 2)
>> squid_ldap_auth.c:546: `LDAP_SUCCESS' undeclared (first use in this
>> function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:588: syntax error before '*' token
>> squid_ldap_auth.c: In function `checkLDAP':
>> squid_ldap_auth.c:592: `LDAP' undeclared (first use in this function)
>> squid_ldap_auth.c:592: `bind_ld' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:595: `password' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:606: `LDAPMessage' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:606: `res' undeclared (first use in this function)
>> squid_ldap_auth.c:607: `entry' undeclared (first use in this function)
>> squid_ldap_auth.c:611: `search_ld' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:611: `persistent_ld' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:614: `ldapServer' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:614: `port' undeclared (first use in this function)
>> squid_ldap_auth.c:616: `userid' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:618: warning: implicit declaration of function
>> `ldap_simple_bind_s'
>> squid_ldap_auth.c:619: `LDAP_SUCCESS' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:620: warning: format argument is not a pointer (arg
>> 3)
>> squid_ldap_auth.c:628: warning: implicit declaration of function
>> `ldap_search_s'
>> squid_ldap_auth.c:630: `LDAP_PARTIAL_RESULTS' undeclared (first use in
>
>> this function)
>> squid_ldap_auth.c:637: warning: format argument is not a pointer (arg
>> 3)
>> squid_ldap_auth.c:648: warning: implicit declaration of function
>> `ldap_first_entry'
>> squid_ldap_auth.c:655: warning: implicit declaration of function
>> `ldap_get_dn'
>> squid_ldap_auth.c:655: warning: assignment makes pointer from integer
>> without a cast
>> squid_ldap_auth.c:671: warning: implicit declaration of function
>> `ldap_msgfree'
>> squid_ldap_auth.c:691: warning: implicit declaration of function
>> `ldap_compare_s'
>> squid_ldap_auth.c:691: `LDAP_COMPARE_TRUE' undeclared (first use in
>> this
>> function)
>> /usr/include/bits/socket.h: At top level:
>> squid_ldap_auth.c:116: warning: `use_tls' defined but not used
>> squid_ldap_auth.c:117: warning: `version' defined but not used
>> make[3]: *** [squid_ldap_auth.o] Error 1
>> make[3]: Leaving directory
>> `/opt/local/squid/src/squid-2.5.STABLE12/helpers/basic_auth/LDAP'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/opt/local/squid/src/squid-2.5.STABLE12/helpers/basic_auth'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/opt/local/squid/src/squid-2.5.STABLE12/helpers'
>> make: *** [all-recursive] Error 1
>>
>>
>>
>>
>> # make install
>>
>> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include
> -g
>> -O2 -Wall -D_REENTRANT -c `test -f squid_ldap_auth.c || echo
>> './'`squid_ldap_auth.c
>> squid_ldap_auth.c:88:18: lber.h: No such file or directory
>> squid_ldap_auth.c:89:18: ldap.h: No such file or directory
>> squid_ldap_auth.c:102: `LDAP_SCOPE_SUBTREE' undeclared here (not in a
>> function)
>> squid_ldap_auth.c:106: `LDAP_DEREF_NEVER' undeclared here (not in a
>> function)
>> squid_ldap_auth.c:112: `LDAP_NO_LIMIT' undeclared here (not in a
>> function)
>> squid_ldap_auth.c:119: syntax error before '*' token
>> squid_ldap_auth.c:173: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_errno':
>> squid_ldap_auth.c:175: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:175: (Each undeclared identifier is reported only
>> once
>> squid_ldap_auth.c:175: for each function it appears in.)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:178: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_set_aliasderef':
>> squid_ldap_auth.c:180: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:180: `deref' undeclared (first use in this function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:183: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_set_referrals':
>> squid_ldap_auth.c:185: `referrals' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:186: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:186: `LDAP_OPT_REFERRALS' undeclared (first use in
>> this function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:191: syntax error before '*' token
>> squid_ldap_auth.c: In function `squid_ldap_set_timelimit':
>> squid_ldap_auth.c:193: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:196: syntax error before '*' token
>> squid_ldap_auth.c:214: syntax error before '*' token
>> squid_ldap_auth.c:216: warning: return type defaults to `int'
>> squid_ldap_auth.c: In function `open_ldap_connection':
>> squid_ldap_auth.c:217: `LDAP' undeclared (first use in this function)
>> squid_ldap_auth.c:217: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:243: warning: implicit declaration of function
>> `ldap_init'
>> squid_ldap_auth.c: In function `main':
>> squid_ldap_auth.c:313: `LDAP' undeclared (first use in this function)
>> squid_ldap_auth.c:313: `ld' undeclared (first use in this function)
>> squid_ldap_auth.c:315: `LDAP_PORT' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:375: `LDAP_SCOPE_BASE' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:377: `LDAP_SCOPE_ONELEVEL' undeclared (first use in
>> this function)
>> squid_ldap_auth.c:379: `LDAP_SCOPE_SUBTREE' undeclared (first use in
>> this function)
>> squid_ldap_auth.c:403: `LDAP_DEREF_NEVER' undeclared (first use in
>> this
>> function)
>> squid_ldap_auth.c:405: `LDAP_DEREF_ALWAYS' undeclared (first use in
>> this
>> function)
>> squid_ldap_auth.c:407: `LDAP_DEREF_SEARCHING' undeclared (first use in
>
>> this function)
>> squid_ldap_auth.c:409: `LDAP_DEREF_FINDING' undeclared (first use in
>> this function)
>> squid_ldap_auth.c:536: `LDAP_INVALID_CREDENTIALS' undeclared (first
>> use in this function)
>> squid_ldap_auth.c:538: warning: implicit declaration of function
>> `ldap_unbind'
>> squid_ldap_auth.c:542: warning: implicit declaration of function
>> `ldap_err2string'
>> squid_ldap_auth.c:542: warning: format argument is not a pointer (arg
>> 2)
>> squid_ldap_auth.c:546: `LDAP_SUCCESS' undeclared (first use in this
>> function)
>> squid_ldap_auth.c: At top level:
>> squid_ldap_auth.c:588: syntax error before '*' token
>> squid_ldap_auth.c: In function `checkLDAP':
>> squid_ldap_auth.c:592: `LDAP' undeclared (first use in this function)
>> squid_ldap_auth.c:592: `bind_ld' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:595: `password' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:606: `LDAPMessage' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:606: `res' undeclared (first use in this function)
>> squid_ldap_auth.c:607: `entry' undeclared (first use in this function)
>> squid_ldap_auth.c:611: `search_ld' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:611: `persistent_ld' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:614: `ldapServer' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:614: `port' undeclared (first use in this function)
>> squid_ldap_auth.c:616: `userid' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:618: warning: implicit declaration of function
>> `ldap_simple_bind_s'
>> squid_ldap_auth.c:619: `LDAP_SUCCESS' undeclared (first use in this
>> function)
>> squid_ldap_auth.c:620: warning: format argument is not a pointer (arg
>> 3)
>> squid_ldap_auth.c:628: warning: implicit declaration of function
>> `ldap_search_s'
>> squid_ldap_auth.c:630: `LDAP_PARTIAL_RESULTS' undeclared (first use in
>
>> this function)
>> squid_ldap_auth.c:637: warning: format argument is not a pointer (arg
>> 3)
>> squid_ldap_auth.c:648: warning: implicit declaration of function
>> `ldap_first_entry'
>> squid_ldap_auth.c:655: warning: implicit declaration of function
>> `ldap_get_dn'
>> squid_ldap_auth.c:655: warning: assignment makes pointer from integer
>> without a cast
>> squid_ldap_auth.c:671: warning: implicit declaration of function
>> `ldap_msgfree'
>> squid_ldap_auth.c:691: warning: implicit declaration of function
>> `ldap_compare_s'
>> squid_ldap_auth.c:691: `LDAP_COMPARE_TRUE' undeclared (first use in
>> this
>> function)
>> /usr/include/bits/socket.h: At top level:
>> squid_ldap_auth.c:116: warning: `use_tls' defined but not used
>> squid_ldap_auth.c:117: warning: `version' defined but not used
>> make[3]: *** [squid_ldap_auth.o] Error 1
>> make[3]: Leaving directory
>> `/opt/local/squid/src/squid-2.5.STABLE12/helpers/basic_auth/LDAP'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory
>> `/opt/local/squid/src/squid-2.5.STABLE12/helpers/basic_auth'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory
>> `/opt/local/squid/src/squid-2.5.STABLE12/helpers'
>> make: *** [install-recursive] Error 1
>>
>>
>> Thanks in advance for help...
>>
>> Devendra
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
Received on Wed Dec 27 2006 - 15:18:25 MST
This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST