Comments
-
Greg Hurrell
Thanks for the report. I'll get multiruby set up on this machine so I can do some test compiles against multiple versions of Ruby.
-
Greg Hurrell
I expect that compilation on 1.9 is fixed now.
While I was at it, I also preemptively applied a fix for compilation on old versions of Ruby like 1.8.5 as well.
Gonna test this presently with a few versions of Ruby, and hopefully will be able to mark as closed shortly.
-
anonymous
Still doesn't compile:
gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_RUBY_H -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -std=gnu99 -Wall -Wextra -Wno-unused-parameter -o ext.o -c ext.c gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_RUBY_H -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -std=gnu99 -Wall -Wextra -Wno-unused-parameter -o match.o -c match.c gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_RUBY_H -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -std=gnu99 -Wall -Wextra -Wno-unused-parameter -o matcher.o -c matcher.c matcher.c: In function ‘comp’: matcher.c:37: error: ‘struct RFloat’ has no member named ‘value’ matcher.c:38: error: ‘struct RFloat’ has no member named ‘value’ make: *** [matcher.o] Error 1
-
Greg Hurrell
Ok, tested on 1.9.1. The errors you reported above are now fixed, but found a couple others:
matcher.c:37: error: ‘struct RFloat’ has no member named ‘value’ matcher.c:38: error: ‘struct RFloat’ has no member named ‘value’
Will squish those and we'll be good to go.
-
Greg Hurrell
Ok, done. Marking as closed.
-
Greg Hurrell
Status changed:
- From: new
- To: closed
-
Greg Hurrell
The new release is out.
-
Greg Hurrell
Oops, accidentally deleted the following comment:
Still doesn't compile:
gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_RUBY_H -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -std=gnu99 -Wall -Wextra -Wno-unused-parameter -o ext.o -c ext.c gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_RUBY_H -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -std=gnu99 -Wall -Wextra -Wno-unused-parameter -o match.o -c match.c gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_RUBY_H -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -std=gnu99 -Wall -Wextra -Wno-unused-parameter -o matcher.o -c matcher.c matcher.c: In function ‘comp’: matcher.c:37: error: ‘struct RFloat’ has no member named ‘value’ matcher.c:38: error: ‘struct RFloat’ has no member named ‘value’ make: *** [matcher.o] Error 1
Looks like this is the issue I commented on earlier and fixed prior to the 0.2 release.
Add a comment
Comments are now closed for this issue.