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

Re: Compile problems with 2.4.16 and Fedora 10



--On Wednesday, April 15, 2009 9:53 AM -0700 Rick Stevens <rps2@socal.rr.com> wrote:

Quanah Gibson-Mount wrote:
--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.

I did, which is why I said '"Despite what ./configure --help" says':

--enable-ndb	  enable MySQL NDB Cluster backend no|yes|mod [no]

I read that as saying the default is "--enable-ndb=no".  Am I wrong?

No, you're quite correct. I missed that bit further down, so my mistake, sorry. ;)

--Quanah

--

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