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

Stephen Gallagher sgallagh at redhat.com
Tue May 26 15:54:02 UTC 2009


On 05/26/2009 11:06 AM, Miguel P.C. wrote:
> 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"

Sorry, in my earlier mail I wasn't descriptive enough. I need the
config.log from the 'server' directory (configure is recursively run in
that directory) as it is the one that will have the errors listed. That
was my error.

>>> [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*
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel


-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090526/9ae5dbfa/attachment.p7s>


More information about the Freeipa-devel mailing list