Ticket #351 (new defect)

Opened 12 months ago

Last modified 7 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

Changed 12 months ago by anonymous

  • summary changed from Ruby 1.9.1 Compatbile to Ruby 1.9.1 Compatible

Changed 9 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/

Changed 7 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.

Add/Change #351 (Ruby 1.9.1 Compatible)

Author


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


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from somebody. Next status will be 'new'
The owner will change from somebody to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.