Re: [Exim] Exim 4.11 LDAP lookup fails to compile

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Aly S.P Dharshi
日付:  
To: William Craven
CC: exim-users
題目: Re: [Exim] Exim 4.11 LDAP lookup fails to compile
Hello,

    I believe that if you use the Sun One LDAP libraries and compile the
source as a netscape install then it should work fine, the question
really comes down to what your LDAP server is I assume that its
Iplanet/Sun One that you are using so try:


    http://wwws.sun.com/software/download/developer/


    Maybe you can use one of those C kits which would provide you with
luck.


    Cheers,


    Aly.


On Wed, 2002-12-11 at 15:46, William Craven wrote:
> I am attempting to build Exim 4.11 on a Solaris 8 system using Solaris
> LDAP client libraries as provided in Solaris 8 and the compilation of
> src/lookups/ldap.c fails. Below is the relevant output
>
> >>> exim_lock utility built
>
> gcc -c -g -O -I/usr/local/db/include cdb.c
> gcc -c -g -O -I/usr/local/db/include dbmdb.c
> gcc -c -g -O -I/usr/local/db/include dnsdb.c
> gcc -c -g -O -I/usr/local/db/include dsearch.c
> gcc -c -g -O -I/usr/local/db/include ldap.c
> ldap.c: In function `perform_ldap_search':
> ldap.c:235: structure has no member named `lud_scheme'
> *** Error code 1
> make: Fatal error: Command failed for target `ldap.o'
> Current working directory
> /local/home/its/wcraven/exim-4.11/build-SunOS5-5.8-sparc/lookups
> *** Error code 1
> make: Fatal error: Command failed for target `buildlookups'
> Current working directory
> /local/home/its/wcraven/exim-4.11/build-SunOS5-5.8-sparc
> *** Error code 1
> make: Fatal error: Command failed for target `go'
>
> Looking at /usr/include/ldap.h and /usr/include/lber.h there is no
> reference to 'lud_scheme'. Seems like Solaris LDAP client libraries do
> not support ldapi - here is the relevant bit of code where it is failing
>
>   #if defined LDAP_LIB_OPENLDAP2 || defined LDAP_LIB_SOLARIS
>   else if (strncmp(ludp->lud_scheme, "ldapi", 5) == 0)
>     {
>     *errmsg = string_sprintf("ldapi requires an absolute path (\"%s\"
> given)",
>       host);
>     goto RETURN_ERROR;
>     }
>   #endif

>
> I maybe missing something. Any ideas from list ?
>
> Thanks
>
> Wm.
> --
> William Craven
> ITServices                Email:    William.Craven@???
> University of British Columbia        Tel:    +1-604-822-8955
> Vancouver, BC, Canada V6T 1Z2        Fax:    +1-604-822-5116

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>

--
Aly S.P Dharshi
aly.dharshi@???
Student and System Administrator ORS Servers

      "A good speech is like a good dress
    that's short enough to be interesting
    and long enough to cover the subject"