TTLS Issue after Ubuntu upgrade

Arjan Sinnige a.sinnige at sae.edu
Wed Mar 16 10:26:06 CET 2016


Alan,

Just getting back on this as I was buzy last week. I was using the download from :
ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.2.9.tar.gz

>> As openSSL version was changed I had to rebuild freeradius from source again.
>> I stumbled into 2 issues during the build :
>> - I had to disable ikev2 in debian/rules with --without-rlm_eap_ikev2 because it would not finish the build with it.
>> - I had to disable iodbc in debian/rules with --without-rlm_sql_iodbc because it would not finish the build with it.
>> As I am running LDAP as backend the second I could care less about but the first gave me a few frowns.
>
>  That's weird.  What were the build errors?
>

I just re-ran the build to give me the errors again. So for reference, here they are. I will be building from the version from github to see if all errors disappear. (INCL the length=5 error)

=== configuring in ./types/rlm_eap_ikev2 (/home/sinnige/freeradius2/freeradius-server-2.2.9/src/modules/rlm_eap/./types/rlm_eap_ikev2)
configure: running /bin/bash ./configure '--prefix=/usr'  '--disable-option-checking' '--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-large-files' '--with-udpfromto' '--with-edir' '--enable-developer' '--without-rlm_eap_tnc' '--with-rlm_sql_postgresql_lib_dir=/usr/lib/x86_64-linux-gnu' '--with-rlm_sql_postgresql_include_dir=/usr/include/postgresql' '--without-rlm_sql_oracle' '--without-rlm_sql_unixodbc' '--with-system-libtool' '--with-system-libltdl' 'build_alias=x86_64-linux-gnu' --cache-file=../../../../../config.cache --srcdir=.
configure: loading cache ../../../../../config.cache
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for malloc.h... (cached) yes
checking for ikev2_set_log_callback in -leap-ikev2... no
checking EAPIKEv2/connector.h usability... no
checking EAPIKEv2/connector.h presence... no
checking for EAPIKEv2/connector.h... no
configure: error: set --without-rlm_eap_ikev2 to disable it explicitly.
configure: error: ./configure failed for ./types/rlm_eap_ikev2
configure: error: ./configure failed for src/modules/rlm_eap
debian/rules:55: recipe for target 'config.status' failed
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

=== configuring in ./drivers/rlm_sql_iodbc (/home/sinnige/freeradius2/freeradius-server-2.2.9/src/modules/rlm_sql/./drivers/rlm_sql_iodbc)
configure: running /bin/bash ./configure '--prefix=/usr'  '--disable-option-checking' '--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-large-files' '--with-udpfromto' '--with-edir' '--enable-developer' '--without-rlm_eap_tnc' '--without-rlm_eap_ikev2' '--with-rlm_sql_postgresql_lib_dir=/usr/lib/x86_64-linux-gnu' '--with-rlm_sql_postgresql_include_dir=/usr/include/postgresql' '--without-rlm_sql_oracle' '--without-rlm_sql_unixodbc' '--with-system-libtool' '--with-system-libltdl' 'build_alias=x86_64-linux-gnu' --cache-file=../../../../../config.cache --srcdir=.
configure: loading cache ../../../../../config.cache
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 SQLConnect in -liodbc... yes
checking for isql.h... no
configure: error: set --without-rlm_sql_iodbc to disable it explicitly.
configure: error: ./configure failed for ./drivers/rlm_sql_iodbc
configure: error: ./configure failed for src/modules/rlm_sql
debian/rules:55: recipe for target 'config.status' failed
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Freeradius-Users mailing list