master rlm_ldap configure error
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 Olivier -- Olivier Beytrison Network & Security Engineer, HES-SO Fribourg Mobile: +41 (0)78 619 73 53 Mail: olivier@heliosnet.org
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@heliosnet.org
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) alan
On 20.02.2013 21:56, A.L.M.Buxey@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@heliosnet.org
Hi,
checking for pthread_create in -lpthread... ./configure: line 2729: ac_fn_c_try_link: command not found
I get that one too...was going to post a bug report but its not urgent
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
yeo, I see same warnings...but the lib builds here alan
On 26 Feb 2013, at 16:35, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 20 Feb 2013, at 17:10, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
checking for pthread_create in -lpthread... ./configure: line 2729: ac_fn_c_try_link: command not found
Fixed. Quoting was wrong around some nested trylib macros.
*try link
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Arran Cudbard-Bell -
Olivier Beytrison