configure doesn't know --runstatedir option
Ivan-Viktorov opened this issue · 1 comments
Hello!
When I try to build reopenldap from master, commit a80acfb.
I run ./bootstrap.sh and then ./configure and get this:
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --
includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/openldap --runstatedir=/run
configure: error: unrecognized option: --runstatedir=/run' Try
./configure --help' for more information
Without configure option --runstatedir reopenldap builds ok, but ldapi:/// path is set to /slapd/ldapi, instead of /var/run/slapd/ldapi or /run/slapd/ldapi.
Building on Centos 7 x86_64.
Option --runstatedir
available since Autoconf 2.70, see https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
You should bootstrap by modern autoconf or just use preserved configure
from the stable branch.
Please verify and don't forget to close this issues.