From: "dklein (Dmitri Klein)" Date: 2021-12-22T18:54:17+00:00 Subject: [ruby-core:106770] [CommonRuby Feature#18422] Installing fluentd on Solaris 10 by Ruby gems with error message: "ERROR: Failed to build gem native extension" Issue #18422 has been reported by dklein (Dmitri Klein). ---------------------------------------- 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 * Author: dklein (Dmitri Klein) * Status: Open * 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: