dbalmain / ferret

Ferret: the extensible information retrieval library for ruby.
http://ferret.davebalmain.com
MIT License
279 stars 59 forks source link

native extensions fail to build under Ruby 1.9.2 on AMD64 #4

Open todd-a-jacobs opened 13 years ago

todd-a-jacobs commented 13 years ago

Attempting to install ferret 0.11.6 under Ruby 1.9.2 on AMD64 fails to install the gem, and results in the following errors:

/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
creating Makefile

make
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_french.o -c stem_UTF_8_french.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o hash.o -c hash.c
hash.c:13:26: warning: initialization discards qualifiers from pointer target type
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o hashset.o -c hashset.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_porter.o -c stem_ISO_8859_1_porter.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o posh.o -c posh.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_wildcard.o -c q_wildcard.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stopwords.o -c stopwords.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_norwegian.o -c stem_ISO_8859_1_norwegian.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o r_utils.o -c r_utils.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o multimapper.o -c multimapper.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_swedish.o -c stem_ISO_8859_1_swedish.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o r_store.o -c r_store.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o store.o -c store.c
store.c: In function ‘is_read_string_safe’:
store.c:349:27: warning: variable ‘res’ might be clobbered by ‘longjmp’ or ‘vfork’
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_russian.o -c stem_UTF_8_russian.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o ram_store.o -c ram_store.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_german.o -c stem_UTF_8_german.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o sort.o -c sort.c
sort.c: In function ‘sort_field_to_s’:
sort.c:106:18: warning: assignment discards qualifiers from pointer target type
sort.c:109:18: warning: assignment discards qualifiers from pointer target type
sort.c:112:18: warning: assignment discards qualifiers from pointer target type
sort.c:115:18: warning: assignment discards qualifiers from pointer target type
sort.c:118:18: warning: assignment discards qualifiers from pointer target type
sort.c:121:18: warning: assignment discards qualifiers from pointer target type
sort.c:124:18: warning: assignment discards qualifiers from pointer target type
sort.c: In function ‘sort_to_s’:
sort.c:966:7: warning: assignment discards qualifiers from pointer target type
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o search.o -c search.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o filter.o -c filter.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o api.o -c api.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_dutch.o -c stem_ISO_8859_1_dutch.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_english.o -c stem_ISO_8859_1_english.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_prefix.o -c q_prefix.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_spanish.o -c stem_UTF_8_spanish.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_italian.o -c stem_UTF_8_italian.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_spanish.o -c stem_ISO_8859_1_spanish.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_ISO_8859_1_french.o -c stem_ISO_8859_1_french.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_portuguese.o -c stem_UTF_8_portuguese.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_term.o -c q_term.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_dutch.o -c stem_UTF_8_dutch.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o except.o -c except.c
except.c:28:37: warning: initialization discards qualifiers from pointer target type
except.c:29:29: warning: initialization discards qualifiers from pointer target type
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_norwegian.o -c stem_UTF_8_norwegian.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o fs_store.o -c fs_store.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_multi_term.o -c q_multi_term.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_filtered_query.o -c q_filtered_query.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_match_all.o -c q_match_all.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o compound_io.o -c compound_io.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_const_score.o -c q_const_score.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o priorityqueue.o -c priorityqueue.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o stem_UTF_8_swedish.o -c stem_UTF_8_swedish.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o document.o -c document.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o term_vectors.o -c term_vectors.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_parser.o -c q_parser.c
src/q_parser.y: In function ‘get_phrase_q’:
src/q_parser.y:775:12: warning: variable ‘q’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:776:5: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
y.tab.c: In function ‘yyparse’:
y.tab.c:1313:5: warning: variable ‘yychar’ might be clobbered by ‘longjmp’ or ‘vfork’
y.tab.c:1325:7: warning: variable ‘yyerrstatus’ might be clobbered by ‘longjmp’ or ‘vfork’
y.tab.c:1346:17: warning: variable ‘yyssp’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:151:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:152:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:153:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:155:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:176:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:177:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:178:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:179:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:180:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:181:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:182:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:183:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:184:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:185:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:186:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y:187:7: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
src/q_parser.y: In function ‘qp_get_bad_query’:
src/q_parser.y:977:5: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o q_fuzzy.o -c q_fuzzy.c
gcc -I. -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long  -fPIC -D_FILE_OFFSET_BITS=64  -o r_index.o -c r_index.c
In file included from r_index.c:3:0:
/home/codegnome/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward/st.h:2:2: warning: #warning use "ruby/st.h" instead of bare "st.h"
r_index.c: In function ‘frt_te_each’:
r_index.c:768:17: error: ‘struct RArray’ has no member named ‘len’
r_index.c:769:30: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:778:21: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:779:21: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c: In function ‘frt_tde_each’:
r_index.c:1043:17: error: ‘struct RArray’ has no member named ‘len’
r_index.c:1044:30: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1048:21: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1049:21: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c: In function ‘frt_tde_to_json’:
r_index.c:1096:20: warning: assignment discards qualifiers from pointer target type
r_index.c:1099:20: warning: assignment discards qualifiers from pointer target type
r_index.c:1104:20: warning: assignment discards qualifiers from pointer target type
r_index.c:1107:20: warning: assignment discards qualifiers from pointer target type
r_index.c: In function ‘frt_get_tv_term’:
r_index.c:1218:34: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1222:27: error: ‘struct RArray’ has no member named ‘len’
r_index.c: In function ‘frt_get_tv’:
r_index.c:1245:25: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1248:23: error: ‘struct RArray’ has no member named ‘len’
r_index.c:1255:31: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1258:29: error: ‘struct RArray’ has no member named ‘len’
r_index.c: In function ‘frt_iw_init’:
r_index.c:1384:5: warning: passing argument 2 of ‘store->exists’ discards qualifiers from pointer target type
r_index.c:1384:5: note: expected ‘char *’ but argument is of type ‘const char *’
r_index.c: In function ‘frt_hash_to_doc_i’:
r_index.c:1442:23: warning: assignment discards qualifiers from pointer target type
r_index.c:1461:50: error: ‘struct RArray’ has no member named ‘len’
r_index.c:1462:61: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1463:71: error: ‘struct RString’ has no member named ‘len’
r_index.c:1468:64: error: ‘struct RString’ has no member named ‘len’
r_index.c:1473:63: error: ‘struct RString’ has no member named ‘len’
r_index.c: In function ‘frt_get_doc’:
r_index.c:1501:45: error: ‘struct RArray’ has no member named ‘len’
r_index.c:1502:56: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1503:67: error: ‘struct RString’ has no member named ‘len’
r_index.c:1509:13: warning: passing argument 2 of ‘df_add_data’ discards qualifiers from pointer target type
document.h:26:18: note: expected ‘char *’ but argument is of type ‘const char *’
r_index.c:1514:47: error: ‘struct RString’ has no member named ‘len’
r_index.c:1520:46: error: ‘struct RString’ has no member named ‘len’
r_index.c: In function ‘frt_iw_add_readers’:
r_index.c:1600:11: error: ‘struct RArray’ has no member named ‘len’
r_index.c:1601:25: error: ‘struct RArray’ has no member named ‘len’
r_index.c:1604:9: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1604:9: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1607:45: error: ‘struct RArray’ has no member named ‘len’
r_index.c: In function ‘frt_lazy_df_load’:
r_index.c:1956:30: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:1958:30: error: ‘struct RArray’ has no member named ‘len’
r_index.c: In function ‘frt_get_lazy_doc’:
r_index.c:2041:24: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:2042:24: error: ‘struct RArray’ has no member named ‘len’
r_index.c: In function ‘frt_ir_init’:
r_index.c:2118:44: error: ‘struct RArray’ has no member named ‘len’
r_index.c:2122:33: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c: In function ‘frt_ir_get_norms_into’:
r_index.c:2238:24: error: ‘struct RString’ has no member named ‘len’
r_index.c:2242:33: error: ‘struct RString’ has no member named ‘len’
r_index.c: In function ‘frt_get_doc_range’:
r_index.c:2385:20: error: ‘struct RArray’ has no member named ‘ptr’
r_index.c:2386:20: error: ‘struct RArray’ has no member named ‘len’
r_index.c: In function ‘frt_ir_get_doc’:
r_index.c:2415:26: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
r_index.c:2415:26: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
make: *** [r_index.o] Error 1
gamecreature commented 13 years ago

Workaround for this issue is to use another gem:
gem install sdsykes-ferret

blackwinter commented 13 years ago

you should try version 0.11.8 which includes the fixes by @sdsykes. it has not been released on rubygems.org, but you can build the gem yourself or install it from our gem server at http://prometheus-app.uni-koeln.de/rubygems/.