As per the compilation error, can you also copy-paste the contents of /usr/local/root-6.22.02-build/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log please?
Note that unless you have a special reason for compiling ROOT from source, you can install ROOT 6.22.02 on Mac 10.15 without compiling following one of the installation methods mentioned at https://root.cern/install .
Also see this post about embedding code in forum posts.
Hi Enrico,
thanks for your answer.
Here is the content of the log:
[I] No git repository info found. Trying to interpret VERSION_INFO
[I] src/XrdVersion.hh successfully generated
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [src/libXrdHttpUtils.1.0.0.dylib] Error 1
make[4]: *** [src/CMakeFiles/XrdHttpUtils.dir/all] Error 2
make[3]: *** [all] Error 2
...skipping...
[ 0%] Built target XrdVersion.hh
[ 18%] Built target XrdUtils
[ 21%] Built target XrdCrypto
[ 37%] Built target XrdServer
[ 37%] Linking CXX shared library libXrdHttpUtils.dylib
~
Thanks Axel!
I have successfully installed ROOT 6.22.02 with the binary distribution ( root_v6.22.02.macosx64-10.15-clang110.pkg
as suggested by Enrico.
Though I would like to know, for my personal knoledge, what went wrong with the other installation channel (the source distribution) and how to work it out. Please let me know if you figure it out.
Cheers,
Serena
Good to hear you got your ROOT set up! I, too, would like to understand what went wrong! I will ping the Xrootd people in a couple of days (and so can you); we can follow their reaction at the github link above.