opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
740 stars 335 forks source link

Config Error #714

Open Flyslinger2 opened 1 year ago

Flyslinger2 commented 1 year ago

[root@localhost SoftHSMv2-develop]# ./configure --disable-non-paged-memory --enable-ecc --enable-64bit --enable-fips --enable-gost --enable-eddsa --disable-visibility --with-crypto-backend openssl --with-openssl=/usr/bin/ --with-objectstore-backend-db SQLite3 --with-sqlite3=/usr/local/bin/ configure: WARNING: you should use --build, --host, --target configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: sysconfdir set to /etc configure: localstate set to /var checking for openssl-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for openssl-g++... no checking for openssl-c++... no checking for openssl-gpp... no checking for openssl-aCC... no checking for openssl-CC... no checking for openssl-cxx... no checking for openssl-cc++... no checking for openssl-cl.exe... no checking for openssl-FCC... no checking for openssl-KCC... no checking for openssl-RCC... no checking for openssl-xlC_r... no checking for openssl-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for openssl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking if we can compile in 64-bit mode... yes checking if we can run 64-bit programs... yes checking whether g++ supports C++11 features by default... yes checking for dlopen... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for FIPS 140-2 mode... yes checking for crypto backend... Unknown configure: error: Crypto backend yes not supported. Use openssl or botan.

dengert commented 1 year ago

--with-openssl=PATH Specify prefix of path of OpenSSL You are pointing at the /usr/bin which only has the openssl application. Try /usr to find /usr/lib and /usr/include

totti0858 commented 11 months ago

please use "--with-crypto-backend=openssl" instead of use the command "--with-crypto-backend openssl"