Open schwo opened 9 years ago
Hello, please send my your config.log
I noticed that you have since pushed updates to master. Although ./configure still gives me errors I'm able to get it to build a binary successfully. Below is the log.
config.log..... This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by viewssld configure 0.7.0, which was generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure
hostname = node3.vpn uname -m = x86_64 uname -r = 3.13.0-45-generic uname -s = Linux uname -v = #74~precise1-Ubuntu SMP Thu Jan 15 20:21:55 UTC 2015
/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/bin PATH: /bin PATH: /opt/chef/embedded/bin PATH: /opt/chef/embedded/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/pfring/bin PATH: /usr/local/pfring/sbin
configure:2055: checking build system type configure:2069: result: x86_64-unknown-linux-gnu configure:2089: checking host system type configure:2102: result: x86_64-unknown-linux-gnu configure:2122: checking target system type configure:2135: result: x86_64-unknown-linux-gnu configure:2177: checking for a BSD-compatible install configure:2245: result: /usr/bin/install -c configure:2256: checking whether build environment is sane configure:2306: result: yes configure:2447: checking for a thread-safe mkdir -p configure:2486: result: /bin/mkdir -p configure:2499: checking for gawk configure:2529: result: no configure:2499: checking for mawk configure:2515: found /usr/bin/mawk configure:2526: result: mawk configure:2537: checking whether make sets $(MAKE) configure:2559: result: yes configure:2689: checking for gcc configure:2705: found /usr/bin/gcc configure:2716: result: gcc configure:2945: checking for C compiler version configure:2954: gcc --version >&5 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 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:2965: $? = 0
configure:2954: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --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.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:2965: $? = 0
configure:2954: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2965: $? = 4
configure:2954: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2965: $? = 4
configure:2985: checking whether the C compiler works
configure:3007: gcc conftest.c >&5
configure:3011: $? = 0
configure:3059: result: yes
configure:3062: checking for C compiler default output file name
configure:3064: result: a.out
configure:3070: checking for suffix of executables
configure:3077: gcc -o conftest conftest.c >&5
configure:3081: $? = 0
configure:3103: result:
configure:3125: checking whether we are cross compiling
configure:3133: gcc -o conftest conftest.c >&5
configure:3137: $? = 0
configure:3144: ./conftest
configure:3148: $? = 0
configure:3163: result: no
configure:3168: checking for suffix of object files
configure:3190: gcc -c conftest.c >&5
configure:3194: $? = 0
configure:3215: result: o
configure:3219: checking whether we are using the GNU C compiler
configure:3238: gcc -c conftest.c >&5
configure:3238: $? = 0
configure:3247: result: yes
configure:3256: checking whether gcc accepts -g
configure:3276: gcc -c -g conftest.c >&5
configure:3276: $? = 0
configure:3317: result: yes
configure:3334: checking for gcc option to accept ISO C89
configure:3398: gcc -c -g -O2 conftest.c >&5
configure:3398: $? = 0
configure:3411: result: none needed
configure:3442: checking for style of include used by make
configure:3470: result: GNU
configure:3496: checking dependency style of gcc
configure:3607: result: gcc3
configure:3629: checking how to run the C preprocessor
configure:3660: gcc -E conftest.c
configure:3660: $? = 0
configure:3674: gcc -E conftest.c
conftest.c:11:28: fatal error: acnonexistent.h: No such file or directory
compilation terminated.
configure:3674: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "viewssld"
| #define PACKAGE_TARNAME "viewssld"
| #define PACKAGE_VERSION "0.7.0"
| #define PACKAGE_STRING "viewssld 0.7.0"
| #define PACKAGE_BUGREPORT "plashchynski@gmail.com"
| #define PACKAGEURL ""
| #define PACKAGE "viewssld"
| #define VERSION "0.7.0"
| / end confdefs.h. _/
| #include
This file was extended by viewssld config.status 0.7.0, which was generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status
on node3.vpn
config.status:802: creating Makefile config.status:802: creating src/Makefile config.status:802: creating doc/Makefile config.status:802: creating distribute.sh config.status:974: executing depfiles commands config.status:974: executing default commands configure:5393: checking pcap.h usability configure:5393: gcc -c -g -O2 conftest.c >&5 configure:5393: $? = 0 configure:5393: result: yes configure:5393: checking pcap.h presence configure:5393: gcc -E conftest.c configure:5393: $? = 0 configure:5393: result: yes configure:5393: checking for pcap.h configure:5393: result: yes configure:5401: checking openssl/ssl.h usability configure:5401: gcc -c -g -O2 conftest.c >&5 configure:5401: $? = 0 configure:5401: result: yes configure:5401: checking openssl/ssl.h presence configure:5401: gcc -E conftest.c configure:5401: $? = 0 configure:5401: result: yes configure:5401: checking for openssl/ssl.h configure:5401: result: yes configure:5409: checking for dssl/sslcap.h configure:5409: gcc -c -g -O2 conftest.c >&5 In file included from /usr/local/include/dssl/sslcap.h:25:0, from conftest.c:35: /usr/local/include/dssl/dssl_defs.h:96:70: error: unknown type name 'u_char' In file included from /usr/local/include/dssl/stream.h:24:0, from /usr/local/include/dssl/session.h:25, from /usr/local/include/dssl/session_table.h:24, from /usr/local/include/dssl/capenv.h:24, from /usr/local/include/dssl/sslcap.h:29, from conftest.c:35: /usr/local/include/dssl/packet.h:36:2: error: unknown type name 'u_char' /usr/local/include/dssl/packet.h:37:23: error: field 'pcap_header' has incomplete type /usr/local/include/dssl/packet.h:52:20: error: field 'ack_time' has incomplete type In file included from /usr/local/include/dssl/session.h:25:0, from /usr/local/include/dssl/session_table.h:24, from /usr/local/include/dssl/capenv.h:24, from /usr/local/include/dssl/sslcap.h:29, from conftest.c:35: /usr/local/include/dssl/stream.h:43:18: error: field 'ack_time' has incomplete type /usr/local/include/dssl/stream.h:79:17: error: field 'syn_time' has incomplete type /usr/local/include/dssl/stream.h:81:17: error: field 'first_ack_time' has incomplete type In file included from /usr/local/include/dssl/session_table.h:24:0, from /usr/local/include/dssl/capenv.h:24, from /usr/local/include/dssl/sslcap.h:29, from conftest.c:35: /usr/local/include/dssl/session.h:44:2: error: unknown type name 'DataCallbackProc' /usr/local/include/dssl/session.h:49:18: error: field 'packet_time' has incomplete type /usr/local/include/dssl/session.h:51:2: error: unknown type name 'time_t' /usr/local/include/dssl/session.h:83:44: error: unknown type name 'DataCallbackProc' In file included from /usr/local/include/dssl/capenv.h:24:0, from /usr/local/include/dssl/sslcap.h:29, from conftest.c:35: /usr/local/include/dssl/session_table.h:46:2: error: unknown type name 'time_t' /usr/local/include/dssl/session_table.h:48:2: error: unknown type name 'time_t' In file included from /usr/local/include/dssl/capenv.h:25:0, from /usr/local/include/dssl/sslcap.h:29, from conftest.c:35: /usr/local/include/dssl/ssl_ctx.h:38:2: error: unknown type name 'EVP_PKEY' /usr/local/include/dssl/ssl_ctx.h:53:2: error: unknown type name 'EVP_PKEY' /usr/local/include/dssl/ssl_ctx.h:73:17: error: unknown type name 'EVP_PKEY' /usr/local/include/dssl/ssl_ctx.h:96:35: error: unknown type name 'EVP_PKEY' In file included from /usr/local/include/dssl/sslcap.h:29:0, from conftest.c:35: /usr/local/include/dssl/capenv.h:51:2: error: unknown type name 'pcap_t' /usr/local/include/dssl/capenv.h:52:5: error: unknown type name 'pcap_handler' /usr/local/include/dssl/capenv.h:76:23: error: unknown type name 'pcap_t' /usr/local/include/dssl/capenv.h:101:4: error: unknown type name 'EVP_PKEY' /usr/local/include/dssl/capenv.h:104:35: error: unknown type name 'EVP_PKEY' configure:5409: $? = 1 configure: failed program was: | /* confdefs.h _/ | #define PACKAGE_NAME "viewssld" | #define PACKAGE_TARNAME "viewssld" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "viewssld 0.7.0" | #define PACKAGE_BUGREPORT "plashchynski@gmail.com" | #define PACKAGE_URL "" | #define PACKAGE "viewssld" | #define VERSION "0.7.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | /_ end confdefs.h. */ | #ifdef HAVE_SSLCAP_H | # include <dssl/sslcap.h> | #endif |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#include <dssl/sslcap.h> |
configure:5409: result: no configure:5417: error: libdssl header file not found. https://github.com/downloads/plashchynski/viewssld/libdssl-2.1.1.tar.gz
ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes 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_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_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_header_arpa_inet_h=yes ac_cv_header_dssl_sslcap_h=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_pcap_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_syslog_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3
ACLOCAL='${SHELL} /home/user/viewssld/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AUTOCONF='${SHELL} /home/user/viewssld/missing --run autoconf' AUTOHEADER='${SHELL} /home/user/viewssld/missing --run autoheader' AUTOMAKE='${SHELL} /home/user/viewssld/missing --run automake-1.11' AWK='mawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"viewssld\" -DPACKAGE_TARNAME=\"viewssld\" -DPACKAGE_VERSION=\"0.7.0\" -DPACKAGE_STRING=\"viewssld\ 0.7.0\" -DPACKAGE_BUGREPORT=\"plashchynski@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"viewssld\" -DVERSION=\"0.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/user/viewssld/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='viewssld' PACKAGE_BUGREPORT='plashchynski@gmail.com' PACKAGE_NAME='viewssld' PACKAGE_STRING='viewssld 0.7.0' PACKAGE_TARNAME='viewssld' PACKAGE_URL='' PACKAGE_VERSION='0.7.0' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION='0.7.0' ac_ct_CC='gcc' amEXEEXT_FALSE='' am__EXEEXT_TRUE='#' amfastdepCC_FALSE='#' amfastdepCC_TRUE='' aminclude='include' amisrc='' am__leading_dot='.' amnodep='_no' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/user/viewssld/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown'
/* confdefs.h */
configure: exit 1
The fix in https://github.com/plashchynski/viewssld/issues/3 was to add the following includes into /usr/local/include/dssl/packet.h:
#include <pcap/pcap.h>
#include <openssl/evp.h>
In case of Ubuntu 16.04 this still produces the problem, however moving these includes into /usr/local/include/dssl/dssl_defs.h fixes the problem and makes configure happy.
On Ubuntu 12.04 LTS I received the following error message when running ./configure . I noticed others having the same issue a couple of years ago but didn't have any luck with their "fix". https://github.com/plashchynski/viewssld/issues/3 ... checking dssl/sslcap.h presence... yes configure: WARNING: dssl/sslcap.h: present but cannot be compiled configure: WARNING: dssl/sslcap.h: check for missing prerequisite headers? configure: WARNING: dssl/sslcap.h: see the Autoconf documentation configure: WARNING: dssl/sslcap.h: section "Present But Cannot Be Compiled" configure: WARNING: dssl/sslcap.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------- ## configure: WARNING: ## Report this to plashchynski@gmail.com ## configure: WARNING: ## ------------------------------------- ## checking for dssl/sslcap.h... no configure: error: libdssl header file not found. https://github.com/downloads/plashchynski/viewssld/libdssl-2.1.1.tar.gz