I want to install Gollum in my MacOS Big Sur
I already follow the instruction on Github. My Ruby and gem version is as follows
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
gem 3.2.3
When I write sudo bundle install, I found the error message in the log below :
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 13.0.6
Using concurrent-ruby 1.1.10
Using racc 1.6.0
Using public_suffix 5.0.0
Using rack 2.2.4
Using regexp_parser 2.5.0
Using childprocess 4.1.0
Using crass 1.0.6
Using execjs 2.8.1
Using ffi 1.15.5
Using json 2.6.2
Using github-markup 4.0.1
Using mime-types 1.25.1
Using rouge 3.30.0
Using unf_ext 0.0.8.2
Using builder 3.2.4
Using bundler 2.2.3
Using matrix 0.4.2
Using mini_mime 1.1.2
Using stringio 3.0.2
Using rb-fsevent 0.11.2
Using ruby2_keywords 0.0.5
Using tilt 2.0.11
Using multi_json 1.15.0
Using therubyrhino_jar 1.7.8
Using useragent 0.16.10
Using webrick 1.7.0
Using metaclass 0.0.4
Using ruby-progressbar 1.11.0
Using power_assert 2.0.1
Using rubyzip 2.3.2
Using websocket 1.2.9
Using shoulda-context 1.2.2
Using i18n 1.12.0
Using tzinfo 2.0.5
Using addressable 2.8.1
Using rack-test 0.6.3
Using gemojione 4.3.3
Using rb-inotify 0.10.1
Using rack-protection 2.2.2
Using nokogiri 1.13.8 (arm64-darwin)
Fetching rugged 1.1.1
Using sprockets 3.7.2
Using unf 0.1.4
Using psych 4.0.4
Using sass-listen 4.0.0
Using mustermann 2.0.2
Using therubyrhino 2.1.2
Using mocha 1.8.0
Using test-unit 3.3.9
Using uglifier 4.2.0
Using rdoc 6.4.0
Using sass 3.7.4
Using sinatra 2.2.2
Using sprockets-helpers 1.4.0
Using minitest 5.16.3
Using ansi 1.5.0
Using rexml 3.2.5
Using mustache 0.99.8
Using activesupport 7.0.3.1
Using twitter-text 1.14.7
Using xpath 3.2.0
Using loofah 2.18.0
Using octicons 12.1.0
Using kramdown 2.4.0
Using mustache-sinatra 1.0.1
Using rss 0.2.9
Using sinatra-contrib 2.2.2
Using minitest-reporters 1.3.8
Using selenium-webdriver 4.4.0
Using capybara 3.37.1
Using kramdown-parser-gfm 1.1.0
Using shoulda-matchers 3.1.3
Using shoulda 3.6.0
Installing rugged 1.1.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/rugged-1.1.1/ext/rugged
/Users/fendy/.rvm/rubies/ruby-3.0.0/bin/ruby -I /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0 -r ./siteconf20220904-7725-ezc495.rb extconf.rb
checking for gmake... yes
checking for cmake... yes
checking for pkg-config... yes
-- The C compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC - Success
-- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC
-- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_NSEC
-- Performing Test HAVE_STRUCT_STAT_NSEC - Success
-- Performing Test IS_WALL_SUPPORTED
-- Performing Test IS_WALL_SUPPORTED - Success
-- Performing Test IS_WEXTRA_SUPPORTED
-- Performing Test IS_WEXTRA_SUPPORTED - Success
-- Performing Test IS_WDOCUMENTATION_SUPPORTED
-- Performing Test IS_WDOCUMENTATION_SUPPORTED - Success
-- Performing Test IS_WNO_DOCUMENTATION_DEPRECATED_SYNC_SUPPORTED
-- Performing Test IS_WNO_DOCUMENTATION_DEPRECATED_SYNC_SUPPORTED - Success
-- Performing Test IS_WNO_MISSING_FIELD_INITIALIZERS_SUPPORTED
-- Performing Test IS_WNO_MISSING_FIELD_INITIALIZERS_SUPPORTED - Success
-- Performing Test IS_WSTRICT_ALIASING_SUPPORTED
-- Performing Test IS_WSTRICT_ALIASING_SUPPORTED - Success
-- Performing Test IS_WSTRICT_PROTOTYPES_SUPPORTED
-- Performing Test IS_WSTRICT_PROTOTYPES_SUPPORTED - Success
-- Performing Test IS_WDECLARATION_AFTER_STATEMENT_SUPPORTED
-- Performing Test IS_WDECLARATION_AFTER_STATEMENT_SUPPORTED - Success
-- Performing Test IS_WSHIFT_COUNT_OVERFLOW_SUPPORTED
-- Performing Test IS_WSHIFT_COUNT_OVERFLOW_SUPPORTED - Success
-- Performing Test IS_WUNUSED_CONST_VARIABLE_SUPPORTED
-- Performing Test IS_WUNUSED_CONST_VARIABLE_SUPPORTED - Success
-- Performing Test IS_WUNUSED_FUNCTION_SUPPORTED
-- Performing Test IS_WUNUSED_FUNCTION_SUPPORTED - Success
-- Performing Test IS_WINT_CONVERSION_SUPPORTED
-- Performing Test IS_WINT_CONVERSION_SUPPORTED - Success
-- Performing Test IS_WFORMAT_SUPPORTED
-- Performing Test IS_WFORMAT_SUPPORTED - Success
-- Performing Test IS_WFORMAT_SECURITY_SUPPORTED
-- Performing Test IS_WFORMAT_SECURITY_SUPPORTED - Success
-- Performing Test IS_WMISSING_DECLARATIONS_SUPPORTED
-- Performing Test IS_WMISSING_DECLARATIONS_SUPPORTED - Success
-- Looking for futimens
-- Looking for futimens - found
-- Checking prototype qsort_r for HAVE_QSORT_R_BSD
-- Checking prototype qsort_r for HAVE_QSORT_R_BSD - True
-- Checking prototype qsort_r for HAVE_QSORT_R_GNU
-- Checking prototype qsort_r for HAVE_QSORT_R_GNU - False
-- Looking for qsort_s
-- Looking for qsort_s - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- Found Security /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Security.framework
-- Looking for SSLCreateContext in /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Security.framework
-- Looking for SSLCreateContext in /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Security.framework - found
-- Found CoreFoundation /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/CoreFoundation.framework
-- Found PCRE: /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libpcre.tbd
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Performing Test IS_WNO_UNUSED_FUNCTION_SUPPORTED
-- Performing Test IS_WNO_UNUSED_FUNCTION_SUPPORTED - Success
-- Performing Test IS_WNO_IMPLICIT_FALLTHROUGH_SUPPORTED
-- Performing Test IS_WNO_IMPLICIT_FALLTHROUGH_SUPPORTED - Success
-- http-parser version 2 was not found or disabled; using bundled 3rd-party sources.
-- Performing Test IS_WIMPLICIT_FALLTHROUGH_1_SUPPORTED
-- Performing Test IS_WIMPLICIT_FALLTHROUGH_1_SUPPORTED - Failed
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- Checking for module 'libssh2'
-- Package 'libssl', required by 'libssh2', not found
-- LIBSSH2 not found. Set CMAKE_PREFIX_PATH if it is installed outside of the default search path.
-- Checking for module 'heimdal-gssapi'
-- No package 'heimdal-gssapi' found
-- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES)
-- Found GSS.framework /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/GSS.framework
-- Looking for iconv_open
-- Looking for iconv_open - not found
-- Found Iconv: -L/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/lib -liconv
-- Enabled features:
* nanoseconds, whether to use sub-second file mtimes and ctimes
* tracing, tracing support
* threadsafe, threadsafe support
* HTTPS, using SecureTransport
* SHA, using CollisionDetection
* regex, using bundled PCRE
* http-parser, http-parser support (bundled)
* zlib, using system zlib
* ntlmclient, NTLM authentication support for Unix
* iconv, iconv encoding conversion support
-- Disabled features:
* debugpool, debug pool allocator
* SSH, SSH transport support
* SPNEGO, SPNEGO authentication support
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/rugged-1.1.1/vendor/libgit2/build
-- /opt/local/bin/gmake
checking for -lgit2... yes
checking for git2.h... yes
creating Makefile
current directory: /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/rugged-1.1.1/ext/rugged
make "DESTDIR=" clean
/Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems.rb:281:in `find_spec_for_exe': can't find gem make (>= 0.a) with executable make (Gem::GemNotFoundException)
from /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems.rb:300:in `activate_bin_path'
from /Users/fendy/.rvm/gems/ruby-3.0.0/bin/make:23:in `<main>'
current directory: /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/rugged-1.1.1/ext/rugged
make "DESTDIR="
/Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems.rb:281:in `find_spec_for_exe': can't find gem make (>= 0.a) with executable make (Gem::GemNotFoundException)
from /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems.rb:300:in `activate_bin_path'
from /Users/fendy/.rvm/gems/ruby-3.0.0/bin/make:23:in `<main>'
make failed, exit code 1
Gem files will remain installed in /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/rugged-1.1.1 for inspection.
Results logged to /Users/fendy/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/extensions/arm64-darwin-20/3.0.0/rugged-1.1.1/gem_make.out
An error occurred while installing rugged (1.1.1), and Bundler cannot continue.
Make sure that `gem install rugged -v '1.1.1' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
gollum was resolved to 5.3.0, which depends on
gollum-lib was resolved to 5.2, which depends on
gollum-rugged_adapter was resolved to 1.1.2, which depends on
rugged
I already read the stackoverflow topic here but it seems different problem with mine. I think my problem is to find the appropriate gem of ruby which I can not figure it out which one. Therefore I would like to ask this question, perhaps someone here has already encounter and solve similar problem.
Thank you
Aucun commentaire:
Enregistrer un commentaire