Issue 8189 - autoconf needed when building release
Summary: autoconf needed when building release
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.41
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 16:20 UTC by Michael Ströder
Modified: 2015-07-10 13:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Ströder 2015-07-06 16:20:45 UTC
Full_Name: 
Version: 2.4.41
OS: 
URL: 
Submission from: (NULL) (79.223.59.125)


It's currently necessary to run autoconf before configure to build with
gcc-5.1.1. Otherwise cpp is not invoked with -P and thus the Berkeley DB check
fails.
Comment 1 Michael Ströder 2015-07-06 16:26:32 UTC
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for Berkeley DB major version in db.h... none
configure: error: Unknown Berkeley DB major version in db.h

From config.log:

configure:20300: checking db.h usability
configure:20300: cc -c -g -O0 -DSLAP_SCHEMA_EXPOSE
-DLDAP_COLLECTIVE_ATTRIBUTES -DSLAP_CONFIG_DELETE -I/usr/include
-I/usr/include -I/usr/include -I/usr/include conftest.c >&5
configure:20300: $? = 0
configure:20300: result: yes
configure:20300: checking db.h presence
configure:20300: cc -E -I/usr/include -I/usr/include -I/usr/include
-I/usr/include conftest.c
configure:20300: $? = 0
configure:20300: result: yes
configure:20300: checking for db.h
configure:20300: result: yes
configure:20311: checking for Berkeley DB major version in db.h
configure:20331: result: none
configure:20334: error: Unknown Berkeley DB major version in db.h

Comment 2 OpenLDAP project 2015-07-06 16:29:58 UTC
Duplicate of ITS#8056
Comment 3 Quanah Gibson-Mount 2015-07-06 16:29:58 UTC
changed notes
Comment 4 Howard Chu 2015-07-10 13:06:33 UTC
changed state Open to Closed