[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Compile problems with 2.4.16 and Fedora 10



--On Tuesday, April 14, 2009 3:25 PM -0700 Rick Stevens <rps2@socal.rr.com> wrote:

Hi, gang.

Having a bit of trouble compiling OpenLDAP 2.4.16 under Fedora 10.
I've built Berkeley DB 4.7 and installed it.  I run configure with:

LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib"
CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" ./configure
--enable-modules --enable-backends --enable-overlays=mod --enable-sql=no

(all one line).  Despite what "./configure --help" says, it still tries
to include the MySQL NDB stuff by default (and can't find the headers
even if the mysql-devel RPM is installed, the "NdbApi.hpp" file is in
/usr/include/mysql/ndb/ndbapi), so I've appended "--enable-ndb=no" as
well to get past that (don't need MySQL anyway).

Hints?  Suggestions?

Back-sql and back-ndb are different backends. You need to add --disable-ndb to your configure flags. See the output of ./configure --help.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration