Re: [squid-users] LDAP compile problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 03 Jul 2001 13:19:29 +0200

Looks like you have patched Squid with some LDAP patch.

Normally, no patching is required for LDAP integration. It is simply
another auth helper.

--
Henrik Nordstrom
Squid Hacker
laurence@gazelle.net wrote:
> 
> I've recently been told to move fom NCSA to LDAP authorization, however
> when i tried to recompile Squid with LDAP enabled, i got an error as
> follows:
> 
> gcc -DSQUID_PREFIX=\"/etc/squid\" -g -O2 -Wall -I../../../include
> -I../../../include -I../../../src/  -c store_dir_diskd.c
> In file included from ../../../src/squid.h:373,
>                  from store_dir_diskd.c:36:
> ../../../src/structs.h:77: parse error before `acl_ldap_auth_user'
> ../../../src/structs.h:77: warning: no semicolon at end of struct or union
> ../../../src/structs.h:87: parse error before `}'
> ../../../src/structs.h:92: parse error before `acl_ldap_auth_user'
> ../../../src/structs.h:92: warning: no semicolon at end of struct or union
> ../../../src/structs.h:102: parse error before `}'
> ../../../src/structs.h:181: parse error before `acl_ldap_auth_user'
> ../../../src/structs.h:181: warning: no semicolon at end of struct or union
> ../../../src/structs.h:189: parse error before `}'
> make[3]: *** [store_dir_diskd.o] Error 1
> 
> I looked at the relevant code in structs.h, yet i couldn't seem to find
> anything out of the ordinary (except two structs that looked EXACTLY the
> same?).
> 
> Please help, i've got to implement this by Wednesday!
> 
> Laurence
Received on Tue Jul 03 2001 - 05:20:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:58 MST