Ticket #351 (new defect)
Ruby 1.9.1 Compatible
| Reported by: | anonymous | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
ferret doesn't install with ruby 1.9.1 :
uilding native extensions. This could take a while... ERROR: Error installing ferret:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby19 extconf.rb install ferret creating Makefile
make gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o analysis.o -c analysis.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o api.o -c api.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o array.o -c array.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o bitvector.o -c bitvector.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o compound_io.o -c compound_io.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o document.o -c document.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o except.o -c except.c gcc -I. -I/usr/local/include/ruby19-1.9.1/i386-darwin9.6.0 -I/usr/local/include/ruby19-1.9.1/ruby/backward -I/usr/local/include/ruby19-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -o ferret.o -c ferret.c ferret.c: In function ‘rs2s’: ferret.c:165: error: ‘struct RString’ has no member named ‘ptr’ ferret.c:165: error: ‘struct RString’ has no member named ‘ptr’ ferret.c: In function ‘nstrdup’: ferret.c:172: error: ‘struct RString’ has no member named ‘len’ ferret.c: In function ‘frt_field’: ferret.c:183: warning: return discards qualifiers from pointer target type ferret.c: In function ‘frt_term_to_s’: ferret.c:297: error: ‘struct RString’ has no member named ‘len’ ferret.c:297: error: ‘struct RString’ has no member named ‘len’ make: *** [ferret.o] Error 1
