Hi,
I’m trying to do the default “sudo gem install sequenceserver” on Redhat 6 and Ruby 1.8.7 but it fails with the below error:
[]# sudo gem install sequenceserver
Building native extensions. This could take a while…
ERROR: Error installing sequenceserver:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rbCreating Makefile for ruby version 1.8.7 on x86_64-linux <<<<<
creating Makefile
make
gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DUNIFY_FIXNUM_AND_BIGNUM=0 -DHAS_RSTRUCT=1 -DHAS_ENCODING_SUPPORT=0 -DHAS_RB_TIME_TIMESPEC=0 -DRUBY_VERSION_MAJOR=1 -DHAS_GC_GUARD=1 -DHAS_IVAR_HELPERS=0 -DHAS_ONIG=0 -DRUBY_RUBY -DNEEDS_UIO=1 -DHAS_TOP_LEVEL_ST_H=1 -DRUBY_VERSION_MICRO=7 -DHAS_DATA_OBJECT_WRAP=0 -DHAS_PROC_WITH_BLOCK=0 -DHAS_PRIVATE_ENCODING=0 -DRUBY_VERSION=1.8.7 -DHAS_BIGDECIMAL=1 -DHAS_NANO_TIME=0 -DHAS_TM_GMTOFF=0 -DRUBY_VERSION_MINOR=8 -DRUBY_TYPE=ruby -Wall -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC -c obj_load.c
obj_load.c: In function ‘end_element’:
obj_load.c:771: warning: implicit declaration of function ‘RSTRUCT_SET’
obj_load.c:810: error: ‘RUBY_T_FIXNUM’ undeclared (first use in this function)
obj_load.c:810: error: (Each undeclared identifier is reported only once
obj_load.c:810: error: for each function it appears in.)
make: *** [obj_load.o] Error 1
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ox-2.10.0 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/ox-2.10.0/ext/ox/gem_make.out
I have installed gcc, gcc-c++, make, ruby-devel, etc so not sure where the problem is.
Also, sudo gem install ox gives exactly the same error so I’m guessing it is dependency based.
Thanks!