failed when install dependencies during my first redmine installation
Added by python shell 5 days ago
I am installing redmine in my Windows 10 PC, with no administration rights.
I install ruby in my home directory and tried redmine 6(placed as ~/redmine) and redmine 5(placed as ~/redmine5), I tried Ruby 3.3.8(installed in ~/Ruby33) and Ruby 3.2.8(in ~/Ruby32) from https://rubyinstaller.org/ .
I met several fails when I hit 'bundle install', error messages likely to be:
Installing websocket-driver 0.8.0 with native extensions 0 [main] locale (19804) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (19396) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (24736) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (24792) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (22312) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (26576) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (23972) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (25456) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (26120) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (25276) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (24220) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (5280) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (25392) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (20572) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (9608) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1
I have sqlserver 13.0.4604 installed locally, and I enabled DB's user login, and I can login via sqlcmd. But I am afraid I haven't go so far to check db connection.
I guess this is caused by msys, but I can find locale.exe and make.exe in the specified path, and I cannot figure what is the reason and how to solve it.
I run script/about but get nothing:
C:\Users\kxchen\redmine5>script/about Script started, output log file is '/about'. sh-5.2$
If any information is missing, I'd like to provide.
Replies (1)
RE: failed when install dependencies during my first redmine installation
-
Added by python shell 1 day ago
I try to install without development and test, like this:
C:\Users\kxchen\redmine>bundle install --without development test
The installation met error when install io-console:
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development test'`, and stop using this flag Fetching gem metadata from https://rubygems.org/......... Fetching rake 13.2.1 Installing rake 13.2.1 Fetching benchmark 0.4.0 Fetching base64 0.2.0 Fetching bigdecimal 3.1.9 Fetching connection_pool 2.5.3 Fetching drb 2.2.3 Fetching securerandom 0.4.1 Installing benchmark 0.4.0 Installing base64 0.2.0 Installing bigdecimal 3.1.9 with native extensions Fetching rack 3.1.15 Installing connection_pool 2.5.3 Installing racc 1.8.1 with native extensions Installing rack 3.1.15 Installing securerandom 0.4.1 Installing drb 2.2.3 Fetching useragent 0.16.11 Installing date 3.4.1 with native extensions Installing useragent 0.16.11 Fetching prettyprint 0.2.0 Installing prettyprint 0.2.0 Fetching erb 5.0.1 Fetching stringio 3.1.7 Installing erb 5.0.1 with native extensions Installing stringio 3.1.7 with native extensions Fetching io-console 0.8.0 Installing io-console 0.8.0 with native extensions 0 [main] locale (16848) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (24680) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (5080) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (14732) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] locale (16636) C:\Users\kxchen\Ruby32\msys64\usr\bin\locale.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (21388) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (14368) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (16424) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (23288) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (18356) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (8956) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (21872) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1 0 [main] make (15104) C:\Users\kxchen\Ruby32\msys64\usr\bin\make.exe: *** fatal error - add_item ("\??\C:\Users\kxchen\Ruby32\msys64", "/", ...) failed, errno 1
and met bunch error messages, here is some lines from it.
Fetching rackup 2.2.1 Installing rackup 2.2.1 Fetching net-smtp 0.4.0.1 Installing net-smtp 0.4.0.1 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Users/kxchen/Ruby32/lib/ruby/gems/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal C:/Users/kxchen/Ruby32/bin/ruby.exe extconf.rb checking for __builtin_clz()... yes checking for __builtin_clzl()... yes checking for __builtin_clzll()... yes checking for float.h... yes checking for math.h... yes checking for stdbool.h... yes checking for stdlib.h... yes checking for x86intrin.h... yes checking for _lzcnt_u32() in x86intrin.h... no checking for _lzcnt_u64() in x86intrin.h... no checking for intrin.h... yes checking for __lzcnt() in intrin.h... no checking for __lzcnt64() in intrin.h... no checking for _BitScanReverse() in intrin.h... yes checking for _BitScanReverse64() in intrin.h... yes checking for labs() in stdlib.h... yes checking for llabs() in stdlib.h... yes checking for finite() in math.h... yes checking for isfinite() in math.h... no checking for ruby/atomic.h... yes checking for ruby/internal/has/builtin.h... yes checking for ruby/internal/static_assert.h... yes checking for rb_rational_num() in ruby.h... yes checking for rb_rational_den() in ruby.h... yes checking for rb_complex_real() in ruby.h... yes checking for rb_complex_imag() in ruby.h... yes checking for rb_opts_exception_p() in ruby.h... yes checking for rb_category_warn() in ruby.h... yes checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... yes creating Makefile current directory: C:/Users/kxchen/Ruby32/lib/ruby/gems/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal make DESTDIR\= sitearchdir\=./.gem.20250603-16496-47eby1 sitelibdir\=./.gem.20250603-16496-47eby1 clean