Hello,
I’m trying to compile from source the version 6.22 in a Debian 10 stable, cmake 3.13.4 and gcc 8.3.0. The cmake configuration was created without errors. During the compilation I get this error:
CMake Error at /home/jose/Codes/root-6.20/build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake:16 (message):
Command failed: 2
‘make’
See also
/home/jose/Codes/root-6.20/build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log
make[2]: *** [CMakeFiles/XROOTD.dir/build.make:112: XROOTD-prefix/src/XROOTD-stamp/XROOTD-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:174: CMakeFiles/XROOTD.dir/all] Error 2
It continues and then
[ 62%] Built target OPENSSL
make: *** [Makefile:152: all] Error 2
The log file says:
/home/jose/Codes/root-6.20/build/XROOTD-prefix/src/XROOTD/src/XrdSec/XrdSecProtect.cc:42:10: fatal error: openssl/sha.h: No such file or directory
#include “openssl/sha.h”
^~~~~~~~~~~~~~~
compilation terminated.
How could I solve the problem?
Thank you!!
Jose