[Date Prev][Date Next]
Re: (ITS#5672) Build of back-ndb fails - back-ndb.h:26:22: error: NdbApi.hpp: No such file or directory
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#5672) Build of back-ndb fails - back-ndb.h:26:22: error: NdbApi.hpp: No such file or directory
- From: email@example.com
- Date: Sat, 30 Aug 2008 21:55:55 GMT
> firstname.lastname@example.org wrote:
>> email@example.com wrote:
>>> Full_Name: Michael Ströder
>>> Version: HEAD
>>> OS: Linux
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (18.104.22.168)
>>> I think this says it all:
>>> back-ndb.h:26:22: error: NdbApi.hpp: No such file or directory
>>> I could provide the complete build output if needed.
> As such, this section Works As Designed. ITS will be closed...
Reconsidering... I guess we could add checks for the presence of the required
header files and libraries. I'm reluctant to do a full AC_CHECK_HEADER here
because that will only succeed if we enable C++ in the configure script, and
right now the extra overhead of enabling C++ in libtool doesn't seem worth it.
As such, we could just do an AC_PREPROC_IFELSE here.
(Obviously the back-ndb Makefile requires C++, and it's currently a hack that
assumes g++. Frankly I'm revolted at the use of C++ here, but NDB doesn't
offer a pure C alternative. I'm stromgly opposed to incurring the overhead of
C++ support across the rest of the source tree just for this backend.)
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/