Hi guys,
I’m very new to the RoR. So please be kind to me…
I’m having problems with ferret installation in rubygems.
I’m on:
ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32]
Rails 2.3.8
and i’m running windows 7 x64
When i enter ‘gem install ferret --version 0.11.6’, it returns this
error:
Building native extensions. This could take a while…
ERROR: Error installing ./ferret-0.11.6.gem:
ERROR: Failed to build gem native extension.
C:/Ruby191/bin/ruby.exe extconf.rb
creating Makefile
make
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o analysis.o -c analysis.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o api.o -c api.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o array.o -c array.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o bitvector.o -c bitvector.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o compound_io.o -c compound_io.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o document.o -c document.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o except.o -c except.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o ferret.o -c ferret.c
ferret.c: In function rs2s': ferret.c:165: error: structure has no member named
ptr’
ferret.c:165: error: structure has no member named ptr' ferret.c: In function
nstrdup’:
ferret.c:172: error: structure 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: structure has no member named
len’
ferret.c:297: error: structure has no member named `len’
make: *** [ferret.o] Error 1
Gem files will remain installed in
C:/Ruby191/lib/ruby/gems/1.9.1/gems/ferret-0.
11.6 for inspection.
Results logged to
C:/Ruby191/lib/ruby/gems/1.9.1/gems/ferret-0.11.6/ext/gem_make
.out
please help me out… I would very appreciate it
Many thanks in advance