Miguel P.C.
2009-05-26 15:06:52 UTC
Hi again.
First of all, sorry for the worst error report ever ... :-)
/usr/include/samba-4.0), after "autoreconf -i -f":
[***@ella]:~$ find /usr/ | grep ldb\.h$
/usr/include/samba-4.0/ldb.h
[***@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-***@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"
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.
[***@ella:~]$ find /usr/ | grep ldb\.h$
/usr/include/ldb.h
[***@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
Thank you.
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*
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 inheaders 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.
/usr/include/samba-4.0), after "autoreconf -i -f":
[***@ella]:~$ find /usr/ | grep ldb\.h$
/usr/include/samba-4.0/ldb.h
[***@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-***@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"
/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/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?
each one (specifying which is which) and send them to the list so I can
take a closer look?
[***@ella:~]$ find /usr/ | grep ldb\.h$
/usr/include/ldb.h
[***@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
1.- popt may be included in BUILD.txt as dependency.
You're right. I'll add that.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.in the root dir in order to ease packaging
Also, 'make dist-gzip' should produce an appropriate tarball.
I should have re-read Makefile more carefully.
I'll try to re-check everything when I get home.
Regards.
M*