Re: [Samba] ./configure LDAP checks failing on AIX
2013/7/31 Andrew Bartlett abart...@samba.org Very interesting! That we certainly can fix, thanks for the heads-up! I've also filed a bug on that issue: https://bugzilla.samba.org/show_bug.cgi?id=10047 -- Gilles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ./configure LDAP checks failing on AIX
2013/7/30 Gaiseric Vandal gaiseric.van...@gmail.com You may also want to set LD_LIBRARY_PATH to include /usr/local/openldap/lib It's the link phase which fails, not the run. The problem *is* the lack of #include ldap.h: without it the configure check fails, with it is successful. I've been able to verify this BTW, AIX uses LIBPATH not LD_LIBRARY_PATH -- Gilles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ./configure LDAP checks failing on AIX
On Tue, 2013-07-30 at 11:47 +0200, Gilles Pion wrote: Note that with the following fix to .source3/wscript the check is successfull, replaced conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap') conf.CHECK_FUNCS_IN('ldap_add_result_entry', 'ldap') by conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap', headers='ldap.h lber.h') conf.CHECK_FUNCS_IN('ldap_add_result_entry', 'ldap', headers='ldap.h') Very interesting! That we certainly can fix, thanks for the heads-up! Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ./configure LDAP checks failing on AIX
On Tue, 2013-07-30 at 11:47 +0200, Gilles Pion wrote: Note that with the following fix to .source3/wscript the check is successfull, replaced conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap') conf.CHECK_FUNCS_IN('ldap_add_result_entry', 'ldap') by conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap', headers='ldap.h lber.h') conf.CHECK_FUNCS_IN('ldap_add_result_entry', 'ldap', headers='ldap.h') Very interesting! That we certainly can fix, thanks for the heads-up! Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ./configure LDAP checks failing on AIX
On Thu, 2013-07-25 at 14:40 +, Gilles Pion wrote: Samba version 4.0.7 Aix 6.1 Compiler: IBM xlc Last lines of ./configure output: Checking for ldap_init : not found Checking for ldap_init_fd : not found Checking for ldap_initialize : not found Checking for ldap_set_rebind_proc : not found Checking for ldap_add_result_entry : ok Checking whether ldap_set_rebind_proc takes 3 arguments : ok Active Directory support not available: LDAP support ist not available. path/wscript:760: error: Active Directory support not found. Use --without-ads for building without Active Directory support. Reason (verified) the generated test.c file user in configure checks doesn't have the required ldap include: #include ldap.h I've not found a clean way to patch configure to fix this Anyone able to help? Where is ldap.h on your system. It may be enough to just specify CFLAGS=-I/usr/local/openldap/include ./configure (if that is where ldap.h is). If we have found ldap.h, it will be added to those tests. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ./configure LDAP checks failing on AIX
(reposting because gmane web interface appears tu have stripped subject header) Where is ldap.h on your system. It may be enough to just specify CFLAGS=-I/usr/local/openldap/include ./configure (if that is where ldap.h is). If we have found ldap.h, it will be added to those tests. I'm using a dedicated openldap installation located in the samba destination directory (openldap ./configure prefix is the same as samba ./configure prefix) Also, as I've alway done for configure env variables, for includes switches, I'm not using CFLAGS but CPPLAGS. (which BTW contains the required -I switch pointing to ldap headers directory) Is this not correct? Note that with the following fix to .source3/wscript the check is successfull, replaced conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap') conf.CHECK_FUNCS_IN('ldap_add_result_entry', 'ldap') by conf.CHECK_FUNCS_IN('ldap_init ldap_init_fd ldap_initialize ldap_set_rebind_proc', 'ldap', headers='ldap.h lber.h') conf.CHECK_FUNCS_IN('ldap_add_result_entry', 'ldap', headers='ldap.h') -- Gilles PION -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] ./configure LDAP checks failing on AIX
You may also want to set LD_LIBRARY_PATH to include /usr/local/openldap/lib On 07/30/13 02:31, Andrew Bartlett wrote: On Thu, 2013-07-25 at 14:40 +, Gilles Pion wrote: Samba version 4.0.7 Aix 6.1 Compiler: IBM xlc Last lines of ./configure output: Checking for ldap_init : not found Checking for ldap_init_fd : not found Checking for ldap_initialize : not found Checking for ldap_set_rebind_proc : not found Checking for ldap_add_result_entry : ok Checking whether ldap_set_rebind_proc takes 3 arguments : ok Active Directory support not available: LDAP support ist not available. path/wscript:760: error: Active Directory support not found. Use --without-ads for building without Active Directory support. Reason (verified) the generated test.c file user in configure checks doesn't have the required ldap include: #include ldap.h I've not found a clean way to patch configure to fix this Anyone able to help? Where is ldap.h on your system. It may be enough to just specify CFLAGS=-I/usr/local/openldap/include ./configure (if that is where ldap.h is). If we have found ldap.h, it will be added to those tests. Andrew Bartlett -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] ./configure LDAP checks failing on AIX
Samba version 4.0.7 Aix 6.1 Compiler: IBM xlc Last lines of ./configure output: Checking for ldap_init : not found Checking for ldap_init_fd : not found Checking for ldap_initialize : not found Checking for ldap_set_rebind_proc : not found Checking for ldap_add_result_entry : ok Checking whether ldap_set_rebind_proc takes 3 arguments : ok Active Directory support not available: LDAP support ist not available. path/wscript:760: error: Active Directory support not found. Use --without-ads for building without Active Directory support. Reason (verified) the generated test.c file user in configure checks doesn't have the required ldap include: #include ldap.h I've not found a clean way to patch configure to fix this Anyone able to help? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba