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.2.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 --docdir=/usr/share/doc/softhsm-2.2.0-r1 --htmldir=/usr/share/doc/softhsm-2.2.0-r1/html --libdir=/usr/lib64 --disable-static --with-crypto-backend=openssl --disable-p11-kit --with-migrate ## --------- ## ## Platform. ## ## --------- ## hostname = mr-fox uname -m = x86_64 uname -r = 4.8.17-hardened-r2 uname -s = Linux uname -v = #1 SMP Mon Jan 16 23:16:35 CET 2017 /usr/bin/uname -p = Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz /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/xattr 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/5.4.0 PATH: /opt/aws-as-tools/bin PATH: /opt/aws-rds-tools/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2520: checking for a BSD-compatible install configure:2588: result: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c configure:2599: checking whether build environment is sane configure:2654: result: yes configure:2805: checking for a thread-safe mkdir -p configure:2844: result: /bin/mkdir -p configure:2851: checking for gawk configure:2867: found /usr/bin/gawk configure:2878: result: gawk configure:2889: checking whether make sets $(MAKE) configure:2911: result: yes configure:2940: checking whether make supports nested variables configure:2957: result: yes configure:3119: checking for x86_64-pc-linux-gnu-gcc configure:3135: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:3146: result: x86_64-pc-linux-gnu-gcc configure:3415: checking for C compiler version configure:3424: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) 5.4.0 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:3435: $? = 0 configure:3424: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r2/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,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 5.4.0-r2 p1.2, pie-0.6.5' --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 --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) configure:3435: $? = 0 configure:3424: 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:3435: $? = 1 configure:3424: 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:3435: $? = 1 configure:3455: checking whether the C compiler works configure:3477: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3481: $? = 0 configure:3529: result: yes configure:3532: checking for C compiler default output file name configure:3534: result: a.out configure:3540: checking for suffix of executables configure:3547: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3551: $? = 0 configure:3573: result: configure:3595: checking whether we are cross compiling configure:3603: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3607: $? = 0 configure:3614: ./conftest configure:3618: $? = 0 configure:3633: result: no configure:3638: checking for suffix of object files configure:3660: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3664: $? = 0 configure:3685: result: o configure:3689: checking whether we are using the GNU C compiler configure:3708: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3708: $? = 0 configure:3717: result: yes configure:3726: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3746: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3746: $? = 0 configure:3787: result: yes configure:3804: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:3867: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3867: $? = 0 configure:3880: result: none needed configure:3905: checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together configure:3927: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:3930: $? = 0 configure:3927: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:3930: $? = 0 configure:3942: result: yes configure:3970: checking for style of include used by make configure:3998: result: GNU configure:4024: checking dependency style of x86_64-pc-linux-gnu-gcc configure:4135: result: none configure:4164: checking for x86_64-pc-linux-gnu-g++ configure:4180: found /usr/bin/x86_64-pc-linux-gnu-g++ configure:4191: result: x86_64-pc-linux-gnu-g++ configure:4262: checking for C++ compiler version configure:4271: x86_64-pc-linux-gnu-g++ --version >&5 x86_64-pc-linux-gnu-g++ (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) 5.4.0 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:4282: $? = 0 configure:4271: x86_64-pc-linux-gnu-g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r2/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,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 5.4.0-r2 p1.2, pie-0.6.5' --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 --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) configure:4282: $? = 0 configure:4271: 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:4282: $? = 1 configure:4271: 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:4282: $? = 1 configure:4286: checking whether we are using the GNU C++ compiler configure:4305: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native conftest.cpp >&5 configure:4305: $? = 0 configure:4314: result: yes configure:4323: checking whether x86_64-pc-linux-gnu-g++ accepts -g configure:4343: x86_64-pc-linux-gnu-g++ -c -g conftest.cpp >&5 configure:4343: $? = 0 configure:4384: result: yes configure:4409: checking dependency style of x86_64-pc-linux-gnu-g++ configure:4520: result: none configure:4632: checking whether x86_64-pc-linux-gnu-g++ supports C++11 features by default configure:4670: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra conftest.cpp >&5 conftest.cpp:17:7: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++0x-compat] static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:32:5: warning: identifier 'decltype' is a keyword in C++11 [-Wc++0x-compat] decltype(a) b; ^ conftest.cpp:17:21: error: expected identifier before 'sizeof' static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:17:21: error: expected ',' or '...' before 'sizeof' conftest.cpp:17:63: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive] static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:24:20: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 virtual void f() override {} ^ conftest.cpp:27:10: error: 'unique_ptr' in namespace 'std' does not name a template type std::unique_ptr ptr_to_base; ^ conftest.cpp:29:29: error: '>>' should be '> >' within a nested template argument list typedef check> right_angle_brackets; ^ conftest.cpp:32:13: error: expected constructor, destructor, or type conversion before '(' token decltype(a) b; ^ conftest.cpp:36:15: error: expected unqualified-id before '&&' token check_type&& cr = static_cast(c); ^ conftest.cpp:38:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto d = a; ^ conftest.cpp:38:10: error: 'd' does not name a type auto d = a; ^ conftest.cpp:39:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto l = [](){}; ^ conftest.cpp:39:10: error: 'l' does not name a type auto l = [](){}; ^ configure:4670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | /* end confdefs.h. */ | | #include | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | struct Base { | virtual void f() {} | }; | struct Child : public Base { | virtual void f() override {} | }; | | std::unique_ptr ptr_to_base; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | auto d = a; | auto l = [](){}; | configure:4677: result: no configure:4688: checking whether x86_64-pc-linux-gnu-g++ supports C++11 features with -std=c++11 configure:4728: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra -std=c++11 conftest.cpp >&5 configure:4728: $? = 0 configure:4737: result: yes configure:4774: checking for dlopen configure:4774: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/temp/cc7xUOPW.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:4774: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case declares dlopen. | For example, HP-UX 11i declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #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:4774: result: no configure:4781: checking for dlopen in -ldl configure:4806: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:4806: $? = 0 configure:4815: result: yes configure:4850: checking how to run the C preprocessor configure:4881: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4881: $? = 0 configure:4895: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4895: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include configure:4920: result: x86_64-pc-linux-gnu-gcc -E configure:4940: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4940: $? = 0 configure:4954: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4954: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include configure:4983: checking for grep that handles long lines and -e configure:5041: result: /bin/grep configure:5046: checking for egrep configure:5108: result: /bin/grep -E configure:5113: checking for ANSI C header files configure:5133: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5133: $? = 0 configure:5206: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:5206: $? = 0 configure:5206: ./conftest configure:5206: $? = 0 configure:5217: result: yes configure:5230: checking for sys/types.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for sys/stat.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for stdlib.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for string.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for memory.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for strings.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for inttypes.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for stdint.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for unistd.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5244: checking pthread.h usability configure:5244: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5244: $? = 0 configure:5244: result: yes configure:5244: checking pthread.h presence configure:5244: x86_64-pc-linux-gnu-gcc -E conftest.c configure:5244: $? = 0 configure:5244: result: yes configure:5244: checking for pthread.h configure:5244: result: yes configure:5268: checking for ECC support configure:5271: result: yes configure:5299: checking for GOST support configure:5302: result: yes configure:5332: checking for FIPS 140-2 mode configure:5343: result: no configure:5367: checking for crypto backend configure:5371: result: OpenSSL configure:5548: checking what are the OpenSSL includes configure:5551: result: -I/usr/local/include configure:5554: checking what are the OpenSSL libs configure:5557: result: -L/usr/local/lib -lcrypto configure:5568: checking openssl/ssl.h usability configure:5568: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include conftest.c >&5 configure:5568: $? = 0 configure:5568: result: yes configure:5568: checking openssl/ssl.h presence configure:5568: x86_64-pc-linux-gnu-gcc -E -I/usr/local/include conftest.c configure:5568: $? = 0 configure:5568: result: yes configure:5568: checking for openssl/ssl.h configure:5568: result: yes configure:5580: checking for BN_new in -lcrypto configure:5605: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -L/usr/local/lib -lcrypto -ldl >&5 configure:5605: $? = 0 configure:5614: result: yes configure:5628: checking for OpenSSL version configure:5663: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -L/usr/local/lib -lcrypto -ldl >&5 configure:5663: $? = 0 configure:5663: ./conftest configure:5663: $? = 0 configure:5665: result: >= 1.0.0 configure:5699: checking for OpenSSL ECC support configure:5740: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -L/usr/local/lib -lcrypto -ldl >&5 configure:5740: $? = 0 configure:5740: ./conftest configure:5740: $? = 0 configure:5742: result: Found P256, P384, and P521 configure:5773: checking for OpenSSL GOST support configure:5842: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -L/usr/local/lib -lcrypto -ldl >&5 conftest.c: In function 'main': conftest.c:45:5: warning: implicit declaration of function 'OPENSSL_init_crypto' [-Wimplicit-function-declaration] OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_LOAD_CONFIG, NULL); ^ conftest.c:45:25: error: 'OPENSSL_INIT_ENGINE_ALL_BUILTIN' undeclared (first use in this function) OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_LOAD_CONFIG, NULL); ^ conftest.c:45:25: note: each undeclared identifier is reported only once for each function it appears in conftest.c:45:59: error: 'OPENSSL_INIT_LOAD_CONFIG' undeclared (first use in this function) OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_LOAD_CONFIG, NULL); ^ configure:5842: $? = 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.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #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 | #include | #include | int main() | { | ENGINE* eg; | const EVP_MD* EVP_GOST_34_11; | | /* Initialise OpenSSL */ | OpenSSL_add_all_algorithms(); | | /* Load engines */ | #if OPENSSL_VERSION_NUMBER < 0x10100000L | ENGINE_load_builtin_engines(); | #else | OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_LOAD_CONFIG, NULL); | #endif | | /* Initialise the GOST engine */ | eg = ENGINE_by_id("gost"); | if (eg == NULL) | return 1; | if (ENGINE_init(eg) <= 0) | return 1; | | /* better than digest_gost */ | EVP_GOST_34_11 = ENGINE_get_digest(eg, NID_id_GostR3411_94); | if (EVP_GOST_34_11 == NULL) | return 1; | | /* from the openssl.cnf */ | if (ENGINE_register_pkey_asn1_meths(eg) <= 0) | return 1; | if (ENGINE_ctrl_cmd_string(eg, | "CRYPT_PARAMS", | "id-Gost28147-89-CryptoPro-A-ParamSet", | 0) <= 0) | return 1; | | return 0; | } | | configure:5849: result: Cannot find GOST engine configure:5851: error: OpenSSL library has no GOST 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='-O2 -pipe -march=native -Wall' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPPUNIT_CFLAGS_set= ac_cv_env_CPPUNIT_CFLAGS_value= ac_cv_env_CPPUNIT_LIBS_set= ac_cv_env_CPPUNIT_LIBS_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='-O2 -pipe -march=native' 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_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_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_new=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/lib/portage/python3.4/ebuild-helpers/xattr/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 ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__std_cpp11=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/work/softhsm-2.2.0/missing aclocal-1.15' 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.2.0-r1/work/softhsm-2.2.0/missing autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/work/softhsm-2.2.0/missing autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/work/softhsm-2.2.0/missing automake-1.15' 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='-O2 -pipe -march=native -Wall -pedantic -Wall -Wextra' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS=' -I/usr/local/include' CPPUNIT_CFLAGS='' CPPUNIT_LIBS='' 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='-O2 -pipe -march=native -Wall -Wextra -std=c++11' 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='1' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBOBJS='' LIBS='-L/usr/local/lib -lcrypto -ldl' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/work/softhsm-2.2.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='' P11KIT_PATH='' PACKAGE='softhsm' PACKAGE_BUGREPORT='' PACKAGE_NAME='SoftHSM' PACKAGE_STRING='SoftHSM 2.2.0' PACKAGE_TARNAME='softhsm' PACKAGE_URL='' PACKAGE_VERSION='2.2.0' PATH_SEPARATOR=':' PKGCONFIG='' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/usr/lib64/pkgconfig' RANLIB='' SED='' SET_MAKE='' SHELL='/bin/sh' SQLITE3='' SQLITE3_INCLUDES='' SQLITE3_LIBS='' STRIP='' VERSION='2.2.0' VERSION_INFO='2:2: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='' WITH_P11KIT_FALSE='' WITH_P11KIT_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='' default_softhsm2_lib='' docdir='/usr/share/doc/softhsm-2.2.0-r1' 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='/usr/share/doc/softhsm-2.2.0-r1/html' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r1/work/softhsm-2.2.0/install-sh' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var/lib' 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.2.0" #define PACKAGE_STRING "SoftHSM 2.2.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "softhsm" #define VERSION "2.2.0" #define HAVE_CXX11 1 #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