Modify

Ticket #351 (new defect)

Opened 18 months ago

Last modified 3 months ago

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

Attachments

Change History

comment:1 Changed 18 months ago by anonymous

  • Summary changed from Ruby 1.9.1 Compatbile to Ruby 1.9.1 Compatible

comment:2 Changed 14 months ago by John Leach

Stephen Sykes has done the work to port Ferret to 1.9. His gem is available here:

 http://pennysmalls.com/2009/03/24/ferret-on-ruby-191/

comment:3 Changed 12 months ago by John-Paul Harold

sudo gem1.9.1 install ferret still fails. I don't appear to be able to install any of the forks over on github either.

comment:4 Changed 5 months ago by anonymous

one year old ticket and nothing happend? how old is 1.9 now? even no hint or plan for ruby 1.9 posted so far...

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from somebody. Next status will be 'new'
The owner will be changed from somebody to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.