[Samba] 3.0.11 - configure can't see ldap.h

Mike samba at phivegills.com
Wed Feb 9 05:44:32 GMT 2005


Gerald (Jerry) Carter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mike wrote:
> 
> | As my luck would have it, OpenLDAP won't configure now.
> |
> | configure: error: BDB/HDB: BerkeleyDB version incompatible
> 
> add --enable-slapd=no to configure for openldap).  You only
> need the client libs.

Thanks. =]  So here is where I am at now.

BerkeleyDB - built and installed
OpenLDAP - built and installed
Samba - got past the ldap.h configure issue and got past a krb5.h after 
that.  Now I'm stuck on this:

# CPPFLAGS="-I/usr/include/kerberosV"
# LDFLAGS="-L/usr/lib"
# export CPPFLAGS LDFLAGS
# ./configure --with-ldap --with-ads
<snip>
# configure: error: libkrb5 is needed for Active Directory support

If I do a directory listing:

# ls -al /usr/lib/ | grep libkrb5
-r--r--r--   5 root  bin     648772 Sep 17 11:01 libkrb5.a
-r--r--r--   4 root  bin     457791 Mar 29  2004 libkrb5.so.13.0
-r--r--r--   4 root  bin     459006 Sep 17 11:02 libkrb5.so.14.0
-r--r--r--   5 root  bin     704612 Sep 17 11:01 libkrb5_p.a
-r--r--r--   4 root  bin     689852 Sep 17 11:02 libkrb5_pic.a

OpenBSD comes with Heimdal Kerberos 5.  I have seen other posts on the 
Google groups with this same problem, but no solutions.  I am thinking 
the specific file name it's looking for is not present and that I may 
need to symlink?  Or how do I verify what version of Heimdal I have 
installed?

Here is part of the config.log:

configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""

<snip>

  #define HAVE_COM_ERR_H 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char krb5_mk_req_extended ();
| int
| main ()
| {
| krb5_mk_req_extended ();
|   ;
|   return 0;
| }
configure:29365: result: no

-- 
Regards,

Mike



More information about the samba mailing list