[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Compile problems with 2.4.16 and Fedora 10
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).
Beyond that, compilation bombs when it hits
libraries/liblutil/lutil_getpeerid.c:
getpeereid.c: In function ‘lutil_getpeereid’:
getpeereid.c:65: error: storage size of ‘peercred’ isn’t known
"struct ucred" is defined in <asm/socket.h> and the compile doesn't seem
to be picking that up. Never had this issue with 2.4.10 or 2.4.11.
Hints? Suggestions?
----------------------------------------------------------------------
- Rick Stevens, Unix Geek rps2@socal.rr.com -
- -
- Polygon: A dead parrot (With apologies to John Cleese) -
----------------------------------------------------------------------