issue installing remine 2.0
Added by Valerio De Minico over 12 years ago
Hi,
i'm installing Redmine 2.0 for the first time...
When I execute
C:\redmine-2.0.0>gem install json -v '1.7.3'
this is the result:
Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb creating Makefile make generating parser-i386-mingw32.def compiling parser.c cc1.exe: error: unrecognized command line option "-Wno-missing-field-initializer s" make: *** [parser.o] Error 1 Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.7. 3 for inspection. Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.7.3/ext/json/ext/pa rser/gem_make.out
i'm a newbie of ruby so I can't fix the problem... :)
Thanks.
Valerio.
Replies (4)
RE: issue installing remine 2.0
-
Added by Etienne Massip over 12 years ago
Why do you gem install json
??
RE: issue installing remine 2.0
-
Added by Valerio De Minico over 12 years ago
No, I try to install redmine with:
C:\redmine-2.0.0>bundle install --without development test postgresql sqlite
and after other modules' installation, it fails with:
Installing json (1.7.3) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension . C:/Ruby193/bin/ruby.exe extconf.rb creating Makefile make generating parser-i386-mingw32.def compiling parser.c cc1.exe: error: unrecognized command line option "-Wno-missing-field-initializers" make: *** [parser.o] Error 1 Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.7.3 for inspection.
any idea?
Thanks.
Valerio.
RE: issue installing remine 2.0
-
Added by Etienne Massip over 12 years ago
It went fine for me, MRI 1.9.3p194, rubyGems 1.8.23.
Try to update one of these or your DevKit installation?
RE: issue installing remine 2.0
-
Added by Valerio De Minico over 12 years ago
Yes, the problem was the DevKit installation. After upgrading it works fine...
Thank you.