Created
September 4, 2018 23:15
-
-
Save bwann/cbe5775471cc554a788e23fa7053f461 to your computer and use it in GitHub Desktop.
Chef gem install rugged 0.27.0 failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cca47713 g1]# /opt/chef/embedded/bin/gem install /root/g1/rugged-0.27.0.gem -q --no-rdoc --no-ri | |
checking for pkg-config... yes | |
-- cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/opt/chef/embedded/bin/$(RUBY_BASE_NAME) | |
--with-sha1dc | |
--without-sha1dc | |
--use-system-libraries | |
extconf.rb:21:in `sys': ERROR: 'cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo ' failed (RuntimeError) | |
from extconf.rb:83:in `block (2 levels) in <main>' | |
from extconf.rb:80:in `chdir' | |
from extconf.rb:80:in `block in <main>' | |
from extconf.rb:77:in `chdir' | |
from extconf.rb:77:in `<main>' | |
To see why this extension failed to compile, please check the mkmf.log which can be found here: | |
/opt/chef/embedded/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0/rugged-0.27.0/mkmf.log | |
/opt/chef/embedded/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0/rugged-0.27.0/mkmf.log: | |
... | |
... | |
"cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo " | |
-- The C compiler identification is GNU 4.8.5 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
... | |
... | |
... | |
-- 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:180 (MESSAGE): | |
Asked for OpenSSL TLS backend, but it wasn't found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment