This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by SoftHSM configure 2.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-static --localstatedir=/var --with-botan=/usr/ --enable-64bit ## --------- ## ## Platform. ## ## --------- ## hostname = tor-relay uname -m = x86_64 uname -r = 4.2.3-hardened uname -s = Linux uname -v = #1 SMP Fri Oct 9 17:46:48 CEST 2015 /usr/bin/uname -p = Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz /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/lib/portage/python3.4/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 PATH: /usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.6 PATH: /usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.6 PATH: /opt/nvidia-cg-toolkit/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2338: loading site script /usr/share/config.site | #!/bin/sh | # Copyright 2009-2014 Gentoo Foundation | # Distributed under the terms of the GNU General Public License v2 | | TOPDIR=/usr/share/crossdev/include/site | | config_site_arch() { | local host="${CHOST%%-*}" | | case ${host} in | arm*b*) host=armeb ;; | arm*) host=arm ;; | mips*l*) host=mipsel ;; | mips*) host=mips ;; | esac | | echo "${host}" | } | | config_site_names() { | local site_arch="$(config_site_arch)" | local sites="" | local x | | case ${CHOST} in | *-linux-*) sites="${sites} linux ${site_arch}-linux" ;; | *-darwin*) sites="${sites} darwin ${site_arch}-darwin" ;; | esac | | case ${CHOST} in | *-linux-uclibc*) sites="${sites} linux-uclibc ${site_arch}-linux-uclibc" ;; | *-linux-gnu*) sites="${sites} linux-gnu ${site_arch}-linux-gnu" ;; | esac | | case ${CHOST} in | *-linux-uclibceabi*) sites="${sites} linux-uclibceabi ${site_arch}-linux-uclibceabi" ;; | *-linux-gnueabi*) sites="${sites} linux-gnueabi ${site_arch}-linux-gnueabi" ;; | esac | | for x in ${sites} ${CHOST}; do | [ -e "${TOPDIR}/${x}" ] && echo "${TOPDIR}/${x}" | done | } | | # Only kick in for cross-compiles so we don't break native builds #427184 | if [ "${CBUILD:-${CHOST}}" != "${CHOST}" ] ; then | sites="$(config_site_names)" | if [ -n "${sites}" ] ; then | for site in ${sites}; do | echo "${0##*/}: loading site script ${site}" | . "${site}" | done | fi | unset site sites | fi configure:2483: checking for a BSD-compatible install configure:2551: result: /usr/bin/install -c configure:2562: checking whether build environment is sane configure:2617: result: yes configure:2768: checking for a thread-safe mkdir -p configure:2807: result: /bin/mkdir -p configure:2814: checking for gawk configure:2830: found /usr/bin/gawk configure:2841: result: gawk configure:2852: checking whether make sets $(MAKE) configure:2874: result: yes configure:2903: checking whether make supports nested variables configure:2920: result: yes configure:3081: checking for x86_64-pc-linux-gnu-gcc configure:3097: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:3108: result: x86_64-pc-linux-gnu-gcc configure:3377: checking for C compiler version configure:3386: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 4.9.3 p1.2, pie-0.6.3) 4.9.3 Copyright (C) 2015 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:3397: $? = 0 configure:3386: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer Thread model: posix gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) configure:3397: $? = 0 configure:3386: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3397: $? = 1 configure:3386: x86_64-pc-linux-gnu-gcc -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3397: $? = 1 configure:3417: checking whether the C compiler works configure:3439: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3443: $? = 0 configure:3491: result: yes configure:3494: checking for C compiler default output file name configure:3496: result: a.out configure:3502: checking for suffix of executables configure:3509: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3513: $? = 0 configure:3535: result: configure:3557: checking whether we are cross compiling configure:3565: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3569: $? = 0 configure:3576: ./conftest configure:3580: $? = 0 configure:3595: result: no configure:3600: checking for suffix of object files configure:3622: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3626: $? = 0 configure:3647: result: o configure:3651: checking whether we are using the GNU C compiler configure:3670: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3670: $? = 0 configure:3679: result: yes configure:3688: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3708: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3708: $? = 0 configure:3749: result: yes configure:3766: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:3829: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3829: $? = 0 configure:3842: result: none needed configure:3867: checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together configure:3889: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:3892: $? = 0 configure:3889: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:3892: $? = 0 configure:3904: result: yes configure:3932: checking for style of include used by make configure:3960: result: GNU configure:3986: checking dependency style of x86_64-pc-linux-gnu-gcc configure:4097: result: none configure:4126: checking for x86_64-pc-linux-gnu-g++ configure:4142: found /usr/bin/x86_64-pc-linux-gnu-g++ configure:4153: result: x86_64-pc-linux-gnu-g++ configure:4224: checking for C++ compiler version configure:4233: x86_64-pc-linux-gnu-g++ --version >&5 x86_64-pc-linux-gnu-g++ (Gentoo 4.9.3 p1.2, pie-0.6.3) 4.9.3 Copyright (C) 2015 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:4244: $? = 0 configure:4233: x86_64-pc-linux-gnu-g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer Thread model: posix gcc version 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3) configure:4244: $? = 0 configure:4233: x86_64-pc-linux-gnu-g++ -V >&5 x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-g++: fatal error: no input files compilation terminated. configure:4244: $? = 1 configure:4233: x86_64-pc-linux-gnu-g++ -qversion >&5 x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-g++: fatal error: no input files compilation terminated. configure:4244: $? = 1 configure:4248: checking whether we are using the GNU C++ compiler configure:4267: x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe conftest.cpp >&5 configure:4267: $? = 0 configure:4276: result: yes configure:4285: checking whether x86_64-pc-linux-gnu-g++ accepts -g configure:4305: x86_64-pc-linux-gnu-g++ -c -g conftest.cpp >&5 configure:4305: $? = 0 configure:4346: result: yes configure:4371: checking dependency style of x86_64-pc-linux-gnu-g++ configure:4482: result: none configure:4539: checking if we can compile in 64-bit mode configure:4562: x86_64-pc-linux-gnu-gcc -o conftest -m64 -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:4562: $? = 0 configure:4562: ./conftest configure:4562: $? = 0 configure:4564: result: yes configure:4589: checking for dlopen configure:4589: x86_64-pc-linux-gnu-gcc -o conftest -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -m64 -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-libs/softhsm-2.0.0/temp/ccrjRYDQ.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:4589: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.0.0" | #define PACKAGE_STRING "SoftHSM 2.0.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.0.0" | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef dlopen | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dlopen (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_dlopen || defined __stub___dlopen | choke me | #endif | | int | main () | { | return dlopen (); | ; | return 0; | } configure:4589: result: no configure:4596: checking for dlopen in -ldl configure:4621: x86_64-pc-linux-gnu-gcc -o conftest -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -m64 -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:4621: $? = 0 configure:4630: result: yes configure:4665: checking how to run the C preprocessor configure:4696: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4696: $? = 0 configure:4710: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:4710: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.0.0" | #define PACKAGE_STRING "SoftHSM 2.0.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.0.0" | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4735: result: x86_64-pc-linux-gnu-gcc -E configure:4755: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4755: $? = 0 configure:4769: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^ compilation terminated. configure:4769: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.0.0" | #define PACKAGE_STRING "SoftHSM 2.0.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.0.0" | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4798: checking for grep that handles long lines and -e configure:4856: result: /bin/grep configure:4861: checking for egrep configure:4923: result: /bin/grep -E configure:4928: checking for ANSI C header files configure:4948: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:4948: $? = 0 configure:5021: x86_64-pc-linux-gnu-gcc -o conftest -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -m64 -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:5021: $? = 0 configure:5021: ./conftest configure:5021: $? = 0 configure:5032: result: yes configure:5045: checking for sys/types.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for sys/stat.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for stdlib.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for string.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for memory.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for strings.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for inttypes.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for stdint.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5045: checking for unistd.h configure:5045: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5045: $? = 0 configure:5045: result: yes configure:5059: checking pthread.h usability configure:5059: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra conftest.c >&5 configure:5059: $? = 0 configure:5059: result: yes configure:5059: checking pthread.h presence configure:5059: x86_64-pc-linux-gnu-gcc -E conftest.c configure:5059: $? = 0 configure:5059: result: yes configure:5059: checking for pthread.h configure:5059: result: yes configure:5084: checking for ECC support configure:5087: result: yes configure:5115: checking for GOST support configure:5118: result: yes configure:5148: checking for FIPS 140-2 mode configure:5159: result: no configure:5183: checking for crypto backend configure:5187: result: OpenSSL configure:5364: checking what are the OpenSSL includes configure:5367: result: -I/usr/local/include configure:5370: checking what are the OpenSSL libs configure:5373: result: -L/usr/local/lib -lcrypto configure:5384: checking openssl/ssl.h usability configure:5384: x86_64-pc-linux-gnu-gcc -c -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -I/usr/local/include conftest.c >&5 configure:5384: $? = 0 configure:5384: result: yes configure:5384: checking openssl/ssl.h presence configure:5384: x86_64-pc-linux-gnu-gcc -E -I/usr/local/include conftest.c configure:5384: $? = 0 configure:5384: result: yes configure:5384: checking for openssl/ssl.h configure:5384: result: yes configure:5396: checking for BN_init in -lcrypto configure:5421: x86_64-pc-linux-gnu-gcc -o conftest -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -I/usr/local/include -m64 -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -ldl -L/usr/local/lib -lcrypto >&5 configure:5421: $? = 0 configure:5430: result: yes configure:5444: checking for OpenSSL version configure:5479: x86_64-pc-linux-gnu-gcc -o conftest -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -I/usr/local/include -m64 -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -ldl -L/usr/local/lib -lcrypto >&5 configure:5479: $? = 0 configure:5479: ./conftest configure:5479: $? = 0 configure:5481: result: >= 1.0.0 configure:5515: checking for OpenSSL ECC support configure:5555: x86_64-pc-linux-gnu-gcc -o conftest -m64 -march=native -O2 -pipe -pedantic -Wall -Wextra -I/usr/local/include -m64 -Wl,-O1 -Wl,--as-needed conftest.c -ldl -L/usr/local/lib -lcrypto >&5 conftest.c:29:30: fatal error: openssl/ecdsa.h: No such file or directory #include <openssl/ecdsa.h> ^ compilation terminated. configure:5555: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.0.0" | #define PACKAGE_STRING "SoftHSM 2.0.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.0.0" | #define HAVE_DLOPEN 1 | #define STDC_HEADERS 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_PTHREAD_H 1 | #define WITH_ECC /**/ | #define WITH_GOST /**/ | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_LIBCRYPTO 1 | /* end confdefs.h. */ | | | #include <openssl/ecdsa.h> | #include <openssl/objects.h> | int main() | { | EC_KEY *ec256, *ec384; | | ec256 = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ec384 = EC_KEY_new_by_curve_name(NID_secp384r1); | if (ec256 == NULL || ec384 == NULL) | return 1; | return 0; | } | | configure:5562: result: Cannot find P256 or P384 configure:5564: error: OpenSSL library has no ECC support ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes 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=set ac_cv_env_CFLAGS_value='-march=native -O2 -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-march=native -O2 -pipe' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_dlopen=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_pthread_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_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_lib_crypto_BN_init=yes ac_cv_lib_dl_dlopen=yes 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=gawk ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_CXX=x86_64-pc-linux-gnu-g++ ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.0.0/work/softhsm-2.0.0/missing aclocal-1.14' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='' AUTOCONF='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.0.0/work/softhsm-2.0.0/missing autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.0.0/work/softhsm-2.0.0/missing autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.0.0/work/softhsm-2.0.0/missing automake-1.14' AWK='gawk' BOTAN_INCLUDES='' BOTAN_LIBS='' BOTAN_VERSION_MINOR='' BUILD_MIGRATE_FALSE='' BUILD_MIGRATE_TRUE='' BUILD_OBJECTSTORE_BACKEND_DB_FALSE='' BUILD_OBJECTSTORE_BACKEND_DB_TRUE='' CC='x86_64-pc-linux-gnu-gcc' CCDEPMODE='depmode=none' CFLAGS='-m64 -march=native -O2 -pipe -pedantic -Wall -Wextra' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS=' -I/usr/local/include' CRYPTO_INCLUDES='-I/usr/local/include' CRYPTO_LIBS='-L/usr/local/lib -lcrypto' CXX='x86_64-pc-linux-gnu-g++' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS='-m64 -march=native -O2 -pipe -Wall -Wextra' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='' GREP='/bin/grep' HAVE_CXX11='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='-m64 -Wl,-O1 -Wl,--as-needed' LIBOBJS='' LIBS=' -ldl -L/usr/local/lib -lcrypto' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.0.0/work/softhsm-2.0.0/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='' NMEDIT='' OBJDUMP='' OBJEXT='o' OPENSSL_INCLUDES='-I/usr/local/include' OPENSSL_LIBS='-L/usr/local/lib -lcrypto' OTOOL64='' OTOOL='' PACKAGE='softhsm' PACKAGE_BUGREPORT='' PACKAGE_NAME='SoftHSM' PACKAGE_STRING='SoftHSM 2.0.0' PACKAGE_TARNAME='softhsm' PACKAGE_URL='' PACKAGE_VERSION='2.0.0' PATH_SEPARATOR=':' RANLIB='' SED='' SET_MAKE='' SHELL='/bin/sh' SQLITE3='' SQLITE3_INCLUDES='' SQLITE3_LIBS='' STRIP='' VERSION='2.0.0' VERSION_INFO='2:0:1' WITH_BOTAN_FALSE='' WITH_BOTAN_TRUE='' WITH_ECC_FALSE='#' WITH_ECC_TRUE='' WITH_GOST_FALSE='' WITH_GOST_TRUE='#' WITH_OPENSSL_FALSE='' WITH_OPENSSL_TRUE='' YIELD_LIB='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='/usr/share' datarootdir='${prefix}/share' default_softhsm2_conf='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.0.0/work/softhsm-2.0.0/install-sh' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/share/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' softhsmtokendir='' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "SoftHSM" #define PACKAGE_TARNAME "softhsm" #define PACKAGE_VERSION "2.0.0" #define PACKAGE_STRING "SoftHSM 2.0.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "softhsm" #define VERSION "2.0.0" #define HAVE_DLOPEN 1 #define STDC_HEADERS 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_PTHREAD_H 1 #define WITH_ECC /**/ #define WITH_GOST /**/ #define HAVE_OPENSSL_SSL_H 1 #define HAVE_LIBCRYPTO 1 configure: exit 1