[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106772] [CommonRuby Feature#18422] Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension"
From:
"kou (Kouhei Sutou)" <noreply@...>
Date:
2021-12-22 21:45:13 UTC
List:
ruby-core #106772
Issue #18422 has been updated by kou (Kouhei Sutou). Status changed from Open to Closed Ruby 2.0 isn't supported: https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-0-0-p648-released/ Could you use supported Ruby? ---------------------------------------- Feature #18422: Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension" https://bugs.ruby-lang.org/issues/18422#change-95475 * Author: dklein (Dmitri Klein) * Status: Closed * Priority: Normal ---------------------------------------- Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension": gem install fluentd -v '0.12.43' Building native extensions. This could take a while... ERROR: Error installing fluentd: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby2.0 extconf.rb checking for ruby/st.h... yes checking for st.h... yes checking for rb_str_replace() in ruby.h... yes checking for rb_intern_str() in ruby.h... yes checking for rb_sym2str() in ruby.h... no checking for rb_str_intern() in ruby.h... yes checking for rb_block_lambda() in ruby.h... yes checking for rb_hash_dup() in ruby.h... yes checking for rb_hash_clear() in ruby.h... yes creating Makefile make "DESTDIR=" compiling buffer.c cc: -W option with unknown program all *** Error code 1 The following command caused the error: /opt/SUNWspro/bin/cc -I. -I/opt/csw/include/ruby-2.0.0/i386-solaris2.10 -I/opt/csw/include/ruby-2.0.0/ruby/backward -I/opt/csw/include/ruby-2.0.0 -I. -DHAVE_RUBY_ST_H -DHAVE_ST_H -DHAVE_RB_STR_REPLACE -DHAVE_RB_INTERN_STR -DHAVE_RB_STR_INTERN -DHAVE_RB_BLOCK_LAMBDA -DHAVE_RB_HASH_DUP -DHAVE_RB_HASH_CLEAR -I/opt/csw/include -D_FILE_OFFSET_BITS=64 -KPIC -xO3 -xarch=pentium_pro -xchip=pentium_pro -KPIC -I.. -Wall -O3 -g -std=gnu99 -m32 -o buffer.o -c buffer.c make: Fatal error: Command failed for target `buffer.o' Gem files will remain installed in /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3 for inspection. Results logged to /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3/ext/msgpack/gem_make.out gem install fluentd -v '0.12.43' --debug .... Exception NoMethodError' at /opt/csw/lib/ruby/2.0.0/rubygems/package.rb:551 - undefined method readpartial' for #Gem::Package::TarReader::Entry:0x8547948 .... Exception `Errno::ENOENT' at /opt/csw/lib/ruby/2.0.0/fileutils.rb:1319 - No such file or directory - /opt/csw/lib/ruby/gems/2.0.0/gems/msgpack-1.3.3/lib/msgpack.rb ... -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>