Error when trying to compile 3.0.10

Bertalan Voros bertalan.voros at gmail.com
Thu Dec 10 17:35:23 CET 2015


Hi Arran,

Here it is.
src/modules/rlm_sql/drivers/rlm_sql_sqlite/config.log

Thanks a lot!

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --disable-option-checking --prefix=/opt/freeradius3
--with-winbind-dir=/opt/samba4.3.2 --cache-file=../../../../../config.cache
--srcdir=.

## --------- ##
## Platform. ##
## --------- ##

hostname = lonl3frrdsnew
uname -m = x86_64
uname -r = 3.13.0-32-generic
uname -s = Linux
uname -v = #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1827: loading cache ../../../../../config.cache
configure:2017: checking for gcc
configure:2044: result: gcc
configure:2273: checking for C compiler version
configure:2282: gcc --version >&5
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2293: $? = 0
configure:2282: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.4-2ubuntu1~14.04'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
configure:2293: $? = 0
configure:2282: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2293: $? = 4
configure:2282: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2293: $? = 4
configure:2313: checking whether the C compiler works
configure:2335: gcc    conftest.c  >&5
configure:2339: $? = 0
configure:2387: result: yes
configure:2390: checking for C compiler default output file name
configure:2392: result: a.out
configure:2398: checking for suffix of executables
configure:2405: gcc -o conftest    conftest.c  >&5
configure:2409: $? = 0
configure:2431: result:
configure:2453: checking whether we are cross compiling
configure:2461: gcc -o conftest    conftest.c  >&5
configure:2465: $? = 0
configure:2472: ./conftest
configure:2476: $? = 0
configure:2491: result: no
configure:2496: checking for suffix of object files
configure:2543: result: o
configure:2547: checking whether we are using the GNU C compiler
configure:2575: result: yes
configure:2584: checking whether gcc accepts -g
configure:2645: result: yes
configure:2662: checking for gcc option to accept ISO C89
configure:2738: result: none needed
configure:2810: checking for sqlite3_open in -lsqlite3
configure:2824: gcc -o conftest -g -O2   conftest.c -lsqlite3  >&5
configure:2824: $? = 0
configure:2827: result: yes
configure:2952: checking for sqlite3_prepare_v2
configure:2952: result: yes
configure:2952: checking for sqlite3_open_v2
configure:2952: result: yes
configure:2952: checking for sqlite3_create_function_v2
configure:2952: result: yes
configure:2952: checking for sqlite3_errstr
configure:2952: result: yes
configure:2952: checking for sqlite3_extended_result_codes
configure:2952: result: yes
configure:3057: checking for sqlite3.h
configure:3072: gcc -c -g -O2  conftest.c >&5
configure:3072: $? = 0
configure:3075: result: yes
configure:3197: checking for sqlite3_int64
configure:3197: result: no
configure:3356: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on lonl3frrdsnew

config.status:792: creating all.mk
config.status:792: creating config.h
config.status:962: config.h is unchanged

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_EC_GROUP_free=yes
ac_cv_func_EVP_sha256=yes
ac_cv_func_PQinitOpenSSL=no
ac_cv_func_PQinitSSL=no
ac_cv_func_bindat=no
ac_cv_func_closefrom=no
ac_cv_func_ctime_r=yes
ac_cv_func_dladdr=yes
ac_cv_func_fcntl=yes
ac_cv_func_gdbm_fdesc=no
ac_cv_func_getaddrinfo=yes
ac_cv_func_getnameinfo=yes
ac_cv_func_getopt_long=yes
ac_cv_func_getpeereid=no
ac_cv_func_getpwnam=yes
ac_cv_func_getresuid=yes
ac_cv_func_getspnam=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_getusershell=yes
ac_cv_func_gmtime_r=yes
ac_cv_func_inet_aton=yes
ac_cv_func_inet_ntop=yes
ac_cv_func_inet_pton=yes
ac_cv_func_initgroups=yes
ac_cv_func_json_c_version=yes
ac_cv_func_json_type_to_name=yes
ac_cv_func_kqueue=no
ac_cv_func_krb5_free_error_message=no
ac_cv_func_krb5_free_error_string=no
ac_cv_func_krb5_get_error_message=no
ac_cv_func_ldap_create_sort_control=yes
ac_cv_func_ldap_create_sort_keylist=yes
ac_cv_func_ldap_free_sort_keylist=yes
ac_cv_func_ldap_initialize=yes
ac_cv_func_ldap_is_ldap_url=yes
ac_cv_func_ldap_sasl_interactive_bind=yes
ac_cv_func_ldap_set_rebind_proc=yes
ac_cv_func_ldap_start_tls_s=yes
ac_cv_func_ldap_unbind_ext_s=yes
ac_cv_func_ldap_url_desc2str=yes
ac_cv_func_ldap_url_parse=yes
ac_cv_func_libmemcached_check_configuration=yes
ac_cv_func_localtime_r=yes
ac_cv_func_mallopt=yes
ac_cv_func_memcached=yes
ac_cv_func_memcached_delete=yes
ac_cv_func_memcached_free=yes
ac_cv_func_memcached_get=yes
ac_cv_func_memcached_set=yes
ac_cv_func_mkdirat=yes
ac_cv_func_openat=yes
ac_cv_func_pcap_activate=yes
ac_cv_func_pcap_create=yes
ac_cv_func_pcap_dump_fopen=yes
ac_cv_func_pcap_fopen_offline=yes
ac_cv_func_pthread_sigmask=yes
ac_cv_func_regncomp=no
ac_cv_func_regnexec=no
ac_cv_func_setlinebuf=yes
ac_cv_func_setresuid=yes
ac_cv_func_setsid=yes
ac_cv_func_setuid=yes
ac_cv_func_setvbuf=yes
ac_cv_func_sigaction=yes
ac_cv_func_sigprocmask=yes
ac_cv_func_snprintf=yes
ac_cv_func_sqlite3_create_function_v2=yes
ac_cv_func_sqlite3_errstr=yes
ac_cv_func_sqlite3_extended_result_codes=yes
ac_cv_func_sqlite3_open_v2=yes
ac_cv_func_sqlite3_prepare_v2=yes
ac_cv_func_strcasecmp=yes
ac_cv_func_strlcat=no
ac_cv_func_strlcpy=no
ac_cv_func_strncasecmp=yes
ac_cv_func_strsep=yes
ac_cv_func_strsignal=yes
ac_cv_func_unlinkat=yes
ac_cv_func_vsnprintf=yes
ac_cv_header_EXTERN_h=yes
ac_cv_header_Python_h=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_com_err_h=yes
ac_cv_header_crypt_h=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_execinfo_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_features_h=yes
ac_cv_header_fnmatch_h=yes
ac_cv_header_gdbm_h=yes
ac_cv_header_getopt_h=yes
ac_cv_header_glob_h=yes
ac_cv_header_grp_h=yes
ac_cv_header_hiredis_hiredis_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_isql_h=yes
ac_cv_header_json_json_h=yes
ac_cv_header_krb5_h=yes
ac_cv_header_ldap_h=yes
ac_cv_header_libmemcached_memcached_h=yes
ac_cv_header_libpqmfe_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_mysql_mysql_h=yes
ac_cv_header_net_if_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_openssl_crypto_h=yes
ac_cv_header_openssl_ec_h=yes
ac_cv_header_openssl_engine_h=yes
ac_cv_header_openssl_err_h=yes
ac_cv_header_openssl_evp_h=yes
ac_cv_header_openssl_md4_h=yes
ac_cv_header_openssl_md5_h=yes
ac_cv_header_openssl_ocsp_h=yes
ac_cv_header_openssl_sha_h=yes
ac_cv_header_openssl_ssl_h=yes
ac_cv_header_pam_pam_appl_h=no
ac_cv_header_pam_pam_modules_h=no
ac_cv_header_pcap_h=yes
ac_cv_header_perl_h=yes
ac_cv_header_prot_h=no
ac_cv_header_pthread_h=yes
ac_cv_header_pwd_h=yes
ac_cv_header_regex_h=yes
ac_cv_header_resource_h=no
ac_cv_header_sasl_sasl_h=yes
ac_cv_header_security_pam_appl_h=no
ac_cv_header_security_pam_modules_h=no
ac_cv_header_semaphore_h=yes
ac_cv_header_shadow_h=yes
ac_cv_header_sia_h=no
ac_cv_header_siad_h=no
ac_cv_header_signal_h=yes
ac_cv_header_sql_h=yes
ac_cv_header_sqlite3_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stddef_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_capability_h=yes
ac_cv_header_sys_event_h=no
ac_cv_header_sys_fcntl_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_prctl_h=yes
ac_cv_header_sys_ptrace_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_security_h=no
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_un_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_talloc_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_header_utmp_h=yes
ac_cv_header_utmpx_h=yes
ac_cv_header_wbclient_h=yes
ac_cv_header_winsock_h=no
ac_cv_header_ykclient_h=yes
ac_cv_header_yubikey_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_ldap_set_rebind_proc=3
ac_cv_lib_cap_cap_get_proc=yes
ac_cv_lib_cipher_setkey=no
ac_cv_lib_com_err_set_com_err_hook=yes
ac_cv_lib_crypt_crypt=yes
ac_cv_lib_crypto_DH_new=yes
ac_cv_lib_crypto_EVP_cleanup=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_execinfo_backtrace_symbols=yes
ac_cv_lib_gdbm_gdbm_open=yes
ac_cv_lib_hiredis_redisConnect=yes
ac_cv_lib_iodbc_SQLConnect=yes
ac_cv_lib_json_c_json_c_version=yes
ac_cv_lib_k5crypto_krb5_encrypt_data=yes
ac_cv_lib_krb5_krb5_get_init_creds_password=yes
ac_cv_lib_krb5_krb5_is_thread_safe=yes
ac_cv_lib_ldap_ldap_init=yes
ac_cv_lib_memcached_memcached=yes
ac_cv_lib_mysqlclient_r_mysql_init=yes
ac_cv_lib_nsl_inet_ntoa=yes
ac_cv_lib_pam_pam_start=no
ac_cv_lib_pcap_pcap_open_live=yes
ac_cv_lib_pq_PQconnectdb=yes
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_pthread_pthread_once=yes
ac_cv_lib_python2_7_Py_Initialize=yes
ac_cv_lib_regex_regcomp=no
ac_cv_lib_resolv_inet_aton=yes
ac_cv_lib_shadow_getspnam=no
ac_cv_lib_socket_getsockname=no
ac_cv_lib_sqlite3_sqlite3_open=yes
ac_cv_lib_ssl_SSL_new=yes
ac_cv_lib_talloc__talloc=yes
ac_cv_lib_talloc_talloc_set_memlimit=yes
ac_cv_lib_wbclient_wbcCtxAuthenticateUserEx=yes
ac_cv_lib_ws2_32_htonl=no
ac_cv_lib_ykclient_ykclient_request_process=yes
ac_cv_lib_yubikey_yubikey_aes_decrypt=yes
ac_cv_objext=o
ac_cv_path_DIRNAME=/usr/bin/dirname
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_LOCATE=/usr/bin/locate
ac_cv_path_MAKE=/usr/bin/make
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_RUSERS=/usr/bin/rusers
ac_cv_path__libcurl_config=/usr/bin/curl-config
ac_cv_path_krb5_config=not-found
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_GIT=no
ac_cv_prog_GMAKE=no
ac_cv_prog_MYSQL_CONFIG=no
ac_cv_prog_PYTHONBIN=python2.7
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=no
ac_cv_prog_gcc_traditional=no
ac_cv_prog_suncc=no
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_opendir='none required'
ac_cv_search_sem_init='none required'
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_type___uint128_t=yes
ac_cv_type_off_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_socklen_t=yes
ac_cv_type_sqlite3_int64=no
ac_cv_type_struct_addrinfo=yes
ac_cv_type_struct_in6_addr=yes
ac_cv_type_struct_in6_pktinfo_has_ipi6_addr=yes
ac_cv_type_struct_in_pktinfo_has_ipi_addr=yes
ac_cv_type_struct_sockaddr_in6=yes
ac_cv_type_struct_sockaddr_storage=yes
ac_cv_type_struct_utmpx_has_ut_xtime=
ac_cv_type_uid_t=yes
ac_cv_type_uint128_t=no
ac_cv_type_uint16_t=yes
ac_cv_type_uint32_t=yes
ac_cv_type_uint64_t=yes
ac_cv_type_uint8_t=yes
ax_cv_cc_bounded_attribute=no
ax_cv_cc_builtin_bswap64=yes
ax_cv_cc_builtin_choose_expr=yes
ax_cv_cc_builtin_types_compatible_p=yes
ax_cv_cc_clang=no
ax_cv_cc_pthread_flag=yes
ax_cv_cc_qunused_arguments_flag=no
ax_cv_system_cores=1
libcurl_cv_lib_curl_usable=no
libcurl_cv_lib_curl_version=7.35.0
libcurl_cv_lib_version_ok=yes
vl_cv_lib_readline=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CFLAGS='  '
CPPFLAGS='  '
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
LDFLAGS=' -lsqlite3 '
LIBOBJS=''
LIBS=' -lsqlite3 '
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/bash'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mod_cflags='  '
mod_ldflags=' -lsqlite3 '
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/freeradius3'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
targetname='rlm_sql_sqlite'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define HAVE_SQLITE3_PREPARE_V2 1
#define HAVE_SQLITE3_OPEN_V2 1
#define HAVE_SQLITE3_CREATE_FUNCTION_V2 1
#define HAVE_SQLITE3_ERRSTR 1
#define HAVE_SQLITE3_EXTENDED_RESULT_CODES 1

configure: exit 0


On Thu, 10 Dec 2015 at 16:15 Arran Cudbard-Bell <a.cudbardb at freeradius.org>
wrote:

>
> > On 10 Dec 2015, at 11:12, Bertalan Voros <bertalan.voros at gmail.com>
> wrote:
> >
> > OK, that's helpful.
> > I will ditch this VM and start new.
>
> Pushed a fix to v3.0.x
>
> You shouldn't be hitting that with 3.8.2 though.
>
> Could you post the config.log from the rlm_sql_sqlite directory?
>
> -Arran
>
> Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> FreeRADIUS development team
>
> FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list