Bug #6215
closedBug #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
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
Updated by Matthieu CERDA almost 10 years ago
Updated by Matthieu CERDA almost 10 years ago
- Status changed from Discussion to Pending technical review
- Assignee set to Benoît PECCATTE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/612
Updated by Matthieu CERDA almost 10 years ago
PR updated with a cleaner approach :)
Updated by Matthieu CERDA almost 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset packages:rudder-packages|commit:9cedd33472718eaced5f8b3d508353eaa7fe6a99.
Updated by Jonathan CLARKE almost 10 years ago
Applied in changeset packages:rudder-packages|commit:1bdb9e21e92744e33ea3068830bcc777ee2d7184.
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.10 to 2.10.9
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/