cryptonomex/graphene is no longer maintained any more...
Today when I was building graphene I got the following warning and error during brew link --force openssl
and cmake .
procedures respectly:
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
and
CMake Error at /usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/FindOpenSSL.cmake:390 (find_package_handle_standard_args)
libraries/fc/CMakeLists.txt:141 (find_package)
The first was a well-known issue, brew not linking openssl deliberately due to security stuff. However this led to the second error - cmake could not find openssl.
It's easy to resolve this issue by export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
before cmake .
but I just wonder why such a error case should be occurred, so I found in this link came across the same issue with me and replied that cryptonomex/graphene is no longer maintained.
Okay... a tiresome experience...
New developers pls move to bitshares/bitshares-core repo.