master rlm_ldap configure error

Olivier Beytrison olivier at heliosnet.org
Wed Feb 20 21:50:39 CET 2013


On 20.02.2013 15:55, Olivier Beytrison wrote:
> Fresh checkout (0f88dc6062853ceae02c9e1080f58f4b71c3297b)
>
> === configuring in src/modules/rlm_ldap
> (/opt/src/FR3/repositories/fr3-fresh/freeradius-server/src/modules/rlm_ldap)
> configure: running /bin/bash ./configure --disable-option-checking
> '--prefix=/usr'  '--build' 'x86_64-linux-gnu' '--exec-prefix=/usr'
> '--mandir=/usr/share/man' '--sysconfdir=/etc'
> '--libdir=/usr/lib/freeradius' '--datadir=/usr/share'
> '--localstatedir=/var' '--with-raddbdir=/etc/freeradius'
> '--with-logdir=/var/log/freeradius' '--enable-ltdl-install=no'
> '--enable-strict-dependencies' '--with-experimental-modules=no'
> '--enable-boilermake' '--enable-developer' '--with-large-files'
> '--with-udpfromto' '--without-rlm_eap_tnc'
> '--with-rlm_sql_postgresql_lib_dir=/usr/lib'
> '--with-rlm_sql_postgresql_include_dir=/usr/include/postgresql'
> '--without-rlm_eap_ikev2' '--without-rlm_sql_oracle'
> '--without-rlm_sql_unixodbc' '--with-edir'
> 'build_alias=x86_64-linux-gnu' --cache-file=../../../config.cache --srcdir=.
> configure: loading cache ../../../config.cache
> checking for gcc... (cached) gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... (cached) o
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking for pthread_create in -lpthread... (cached) yes
> checking for ldap_init in -lldap_r... ./configure: line 2890:
> ac_fn_c_try_link: command not found
> ./configure: line 2967: ac_fn_c_try_link: command not found
> ./configure: line 2967: ac_fn_c_try_link: command not found
> no
> checking for ldap.h... yes
> configure: error: set --without-rlm_ldap to disable it explicitly.
> configure: error: ./configure failed for src/modules/rlm_ldap

Solved after removing --enable-strict-dependencies --enable-boilermake 
--enable-ltdl-install=no --config-cache from debian/rules

Olivier

-- 
  Olivier Beytrison
  Network & Security Engineer, HES-SO Fribourg
  Mail: olivier at heliosnet.org


More information about the Freeradius-Devel mailing list