master rlm_ldap configure error

Olivier Beytrison olivier at heliosnet.org
Wed Feb 20 22:00:44 CET 2013


On 20.02.2013 21:56, A.L.M.Buxey at lboro.ac.uk wrote:
> Hi,
>
>> Solved after removing --enable-strict-dependencies
>> --enable-boilermake --enable-ltdl-install=no --config-cache from
>> debian/rules
>
> --enable-boilermake is now there by default.
>
> i dont see that build error here (just some nested definition warnings
> during compilation for the ldap SSL stuff IIRC)

I don't think the --enable-boiilermake was the reason. Rather the 
strict-dependencies

I have one last error during the ldap configure :

=== 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' '--with-experimental-modules=no' 
'--enable-developper' '--with-large-files' '--with-udpfromto' 
'--with-edir' '--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' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g 
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -O0' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 
'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security' 
--cache-file=/dev/null --srcdir=.
checking for gcc... 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for pthread_create in -lpthread... ./configure: line 2729: 
ac_fn_c_try_link: command not found
no
checking for pthread_create in -lc_r... no
checking for ldap_init in -lldap... yes
checking for ldap.h... yes
checking for ldap_start_tls_s... yes
checking for ldap_initialize... yes
checking for ldap_int_tls_config... yes
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
configure: creating ./config.status
config.status: creating all.mk

Compilation have a few warnings, but because of the openssl lib, not 
freeradius

CC src/modules/rlm_ldap/rlm_ldap.c
src/modules/rlm_ldap/rlm_ldap.c: In function ‘ldap_conn_create’:
src/modules/rlm_ldap/rlm_ldap.c:627:2: warning: implicit declaration of 
function ‘ldap_int_tls_config’ [-Wimplicit-function-declaration]
src/modules/rlm_ldap/rlm_ldap.c:627:2: warning: nested extern 
declaration of ‘ldap_int_tls_config’ [-Wnested-externs]
CC src/modules/rlm_ldap/edir.c
LINK build/lib/rlm_ldap.la

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


More information about the Freeradius-Devel mailing list