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

Re: Compile problems with 2.4.16 and Fedora 10

Quanah Gibson-Mount wrote:
--On Wednesday, April 15, 2009 10:08 AM -0700 Rick Stevens <rps2@socal.rr.com> wrote:

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

CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include" ./configure
--enable-modules --enable-backends --enable-overlays=mod

(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

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. ;)

'Sok, but that still leaves a question: Help says NDB will NOT be built
by default, yet it is.  One must assume the help text needs to be
changed or configure's logic has to be fixed.

Beyond that, if you do let NDB build on a Fedora 10 machine, the build
bombs when it can't find NdbApi.hpp.  That file does exist if the
mysql-devel RPM has been installed.  The full path to the file is

Please keep replies on the list.

I suggest filing bugs in the ITS system on these two issues.

Bugs filed:

Bug 6061: Issues with ./configure
Bug 6062: Including "#define _GNU_SOURCE" in getpeereid.c
- Rick Stevens, Unix Geek                          rps2@socal.rr.com -
-                                                                    -
-        Polygon: A dead parrot (With apologies to John Cleese)      -