Project

General

Profile

Actions

Bug #6215

closed

Bug #5741: Upgrading rudder-inventory-ldap between two major OS versions makes slapd unable to operate because of BerkeleyDB (backport)

rudder-inventory-ldap fails to build on old Debian OSes

Added by Matthieu CERDA about 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On old Debians (less than wheezy), the rudder-inventory-ldap compilation fails on:

19:05:33 checking db.h presence... no
19:05:33 configure: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!
19:05:33 configure: WARNING: db.h: proceeding with the compiler's result
19:05:33 checking for db.h... yes
19:05:33 checking for Berkeley DB major version in db.h... conftest.c:128:16: error: db.h: No such file or directory
19:05:33 1
19:05:33 checking for Berkeley DB minor version in db.h... conftest.c:128:16: error: db.h: No such file or directory
19:05:33 0
19:05:33 checking if Berkeley DB version supported by BDB/HDB backends... no
19:05:33 configure: error: BerkeleyDB version incompatible with BDB/HDB backends
19:05:33 make[1]: *** [configure-stamp] Error 1

It seems it is just because ./configure fails to detect db.h whereas it exists... if I force it to acknowledge "everything is all right", the package builds successfuly...

(The attached patch shows the override I used).

I don't know how can we solve this...

Help ! :)


Files

openldap-override-old-debian.patch (1.12 KB) openldap-override-old-debian.patch Matthieu CERDA, 2015-01-31 00:59
Actions

Also available in: Atom PDF