[Freeipa-devel] SSSD version pre-0.4 config problems under Ubuntu

Miguel P.C. mpcolino at gmail.com
Tue May 26 15:06:52 UTC 2009


Hi again.

First of all, sorry for the worst error report ever ... :-)

> Your ldb.h headers are not installed in a place that GCC searches for
> headers by default. You will need to append "-I/usr/include/samba-4.0"
> to your CPPFLAGS to tell GCC (and configure) where to find the headers.

This is the try of that with libldb-samba4-dev (with ldb.h in
/usr/include/samba-4.0), after "autoreconf -i -f":
[migpc at ella]:~$ find /usr/ | grep ldb\.h$
/usr/include/samba-4.0/ldb.h
[migpc at ella]:~$  CPPFLAGS="-I /usr/include/samba-4.0" ./configure
--prefix=/opt/sssd
[... snip ...]
checking for LDB... yes
checking ldb.h usability... no
checking ldb.h presence... yes
configure: WARNING: ldb.h: present but cannot be compiled
configure: WARNING: ldb.h:     check for missing prerequisite headers?
configure: WARNING: ldb.h: see the Autoconf documentation
configure: WARNING: ldb.h:     section "Present But Cannot Be Compiled"
configure: WARNING: ldb.h: proceeding with the preprocessor's result
configure: WARNING: ldb.h: in the future, the compiler will take precedence
configure: WARNING:     ## --------------------------------------- ##
configure: WARNING:     ## Report this to freeipa-devel at redhat.com ##
configure: WARNING:     ## --------------------------------------- ##
checking for ldb.h... yes
checking for ldb_init in -lldb... yes
checking ldb_module.h usability... no
checking ldb_module.h presence... no
checking for ldb_module.h... no
configure: error: LDB header files are not installed
configure: error: ./configure failed for server

I also send attached the full "configure" result, and "config.log"

>> [migpc at ella:~/Code/sssd/tmp/sssd]$ find /usr/ | grep ldb\.h
>> /usr/include/ldb.h
>> /usr/include/ldb_handlers.h
>>
>> but I get exactly the same error.
>> Any suggestion on what can be done or where should I look to solve the problem?
>
> I doubt it's exactly the same error. Would you gzip your config.log for
> each one (specifying which is which) and send them to the list so I can
> take a closer look?

Ok. I attach the output for "configure" with libldb-dev.
[migpc at ella:~]$ find /usr/ | grep ldb\.h$
/usr/include/ldb.h
[migpc at ella:~/Code/sssd/tmp/sssd]$ ./configure --prefix=/opt/sssd |
tee ../0002-configure_with_libldb-dev_karmic.txt
[... snip ...]
checking for LDB... yes
checking ldb.h usability... no
checking ldb.h presence... no
checking for ldb.h... no
configure: error: LDB header files are not installed
configure: error: ./configure failed for server

Also attach both, configure result and config.log

>> BTW, some little suggestions:
>> 1.- popt may be included in BUILD.txt as dependency.
> You're right. I'll add that.
Thank you.

>> 2.- a proper "make clean" or equivalent would be really good to have
>> in the root dir in order to ease packaging
>
> With the new automake changes, 'make distclean' should work perfectly.
> Also, 'make dist-gzip' should produce an appropriate tarball.
Thanks again!. Really.
I should have re-read Makefile more carefully.

I'll try to re-check everything when I get home.

Regards.

M*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure_with_libldb-samba4-dev_karmic.txt.bz2
Type: application/x-bzip2
Size: 4538 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090526/256eb3bb/attachment.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-configure_with_libldb-dev_karmic.txt.bz2
Type: application/x-bzip2
Size: 4480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090526/256eb3bb/attachment-0001.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-config_log_with_libldb-samba4-dev_karmic.log.bz2
Type: application/x-bzip2
Size: 1894 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090526/256eb3bb/attachment-0002.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-config_log_with_libldb-dev_karmic.log.bz2
Type: application/x-bzip2
Size: 1894 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090526/256eb3bb/attachment-0003.bz2>


More information about the Freeipa-devel mailing list