[Samba] "nss_ldap" make fails on Slakware 12.1
Joao Amancio
jjamancio at gmail.com
Wed Oct 8 20:23:29 GMT 2008
Iarly,
There's no ldap-nss or any nss tool on system.
I still cannot compile the sources...
Such a case : "What to do now?"
Change distro?
-- João Ferreira
On Wed, Oct 8, 2008 at 3:36 PM, Iarly Selbir <kurumim007 at gmail.com> wrote:
> Maybe why your ldap-nss is newer than you are trying install.
>
> iarly Selbir
>
> On Wed, Oct 8, 2008 at 6:16 PM, Joao Amancio <jjamancio at gmail.com> wrote:
>
>> Hello people,
>>
>> My difficult is get "nss_ldap" compiled and running on my server.
>> I download the tgz file from PADL Software Pty Ltd website,
>> decompress/untar, and then run "./configure" .
>> ./configure runs just fine with no error message.
>> Things go bad when I type: make
>> This is the output after I try to do "make":
>>
>> root at ldap:~/nss_ldap-262# make
>> make all-am
>> make[1]: Entering directory `/root/nss_ldap-262'
>> if gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_REFERRALS -DLDAP_DEPRECATED
>> -D_REENTRANT -g -O2 -Wall -fPIC -MT ldap-nss.o -MD -MP -MF
>> ".deps/ldap-nss.Tpo" -c -o ldap-nss.o ldap-nss.c; \
>> then mv -f ".deps/ldap-nss.Tpo" ".deps/ldap-nss.Po"; else rm -f
>> ".deps/ldap-nss.Tpo"; exit 1; fi
>> In file included from ldap-nss.c:95:
>> pagectrl.h:32: error: conflicting types for 'ldap_create_page_control'
>> /usr/local/include/ldap.h:2004: error: previous declaration of
>> 'ldap_create_page_control' was here
>> pagectrl.h:41: error: conflicting types for 'ldap_parse_page_control'
>> /usr/local/include/ldap.h:2013: error: previous declaration of
>> 'ldap_parse_page_control' was here
>> make[1]: *** [ldap-nss.o] Error 1
>> make[1]: Leaving directory `/root/nss_ldap-262'
>> make: *** [all] Error 2
>> root at ldap:~/nss_ldap-262#
>>
>> I've also tried some google's answer but see no one to solve this problem.
>> Server OS: Slackware 12.1 (standard full installation)
>> OpenLDAP 2.4.11
>>
>> Best regards,
>> João Ferreira
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/listinfo/samba
>>
>
>
More information about the samba
mailing list