无法安装 octocatalog-diff
Can't install octocatalog-diff
我正在尝试 运行:
gem install octocatalog-diff -v 1.5.2
(因为更高版本需要 ruby 2.2.0)。
这是我收到的错误:
Building native extensions. This could take a while...
ERROR: Error installing octocatalog-diff:
ERROR: Failed to build gem native extension.
.
.
.
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
CMake Error at src/CMakeLists.txt:167 (MESSAGE):
Unable to autodetect a usable HTTPS backend.Please pass the backend name
explicitly (-DUSE_HTTPS=backend)
虽然我已经安装了 openssl 并且在我的用户路径中。
尝试安装 ruby-devel、cmake、gcc
我错过了什么?
以防万一有人偶然发现这个问题,这里的解决方案是安装 openssl-devel 包:
yum install openssl-devel
这帮我解决了。
我正在尝试 运行:
gem install octocatalog-diff -v 1.5.2
(因为更高版本需要 ruby 2.2.0)。 这是我收到的错误:
Building native extensions. This could take a while...
ERROR: Error installing octocatalog-diff:
ERROR: Failed to build gem native extension.
.
.
.
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
CMake Error at src/CMakeLists.txt:167 (MESSAGE):
Unable to autodetect a usable HTTPS backend.Please pass the backend name
explicitly (-DUSE_HTTPS=backend)
虽然我已经安装了 openssl 并且在我的用户路径中。 尝试安装 ruby-devel、cmake、gcc
我错过了什么?
以防万一有人偶然发现这个问题,这里的解决方案是安装 openssl-devel 包:
yum install openssl-devel
这帮我解决了。