Re: [Exim] Exim with LDAP options won't compile

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Bruno Touleau
Cc: exim-users
Asunto: Re: [Exim] Exim with LDAP options won't compile
On Tue, 4 Jul 2000, Bruno Touleau wrote:

> I'am try to use Exim as MTA on a linux server wtih a LDAP users
> authentication, I got some erros, what's wrong?
> I use openldap, the libraries are in /usr/local/lib and /usr/local/include
>
> TIA for any help.
>
> >>> exim monitor binary built
>
> make[2]: Entering directory
> `/usr/src/RPM/BUILD/exim-3.15/build-Linux-i386/libident'
> make[2]: `libident.a' is up to date.
> make[2]: Leaving directory
> `/usr/src/RPM/BUILD/exim-3.15/build-Linux-i386/libident'
>
> make[2]: Entering directory
> `/usr/src/RPM/BUILD/exim-3.15/build-Linux-i386/lookups'
> gcc -c -O -I /usr/local/include ldap.c
> ldap.c:57: parse error before `LDAP'


Looks like it needs you to tell it where the LDAP include files are, and
you haven't done that. You need to put something like

LOOKUP_INCLUDE=-I /usr/local/include

in your Local/Makefile. Check that /usr/local/include/ldap.h defines a
structure called LDAP.

You may also need to have

LOOKUP_LIBS=-L /usr/local/lib




-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.