Forum: Ferret Frustrating Ferret

Posted by Amir Z. (amir_z)
on 2012-05-24 13:19
I stuck in search element problem. I am trying to install ferret on my
window 7. But tried a lot but couldn't succeed.

I ran following command to install the ferret gem.

gem install ferret
gem install ferret --version (all versions)
gem install ferret -v 0.11.5
gem install ferret -v 0.11.6
gem install ferret -v 0.11.8.4
gem install ferret -v=0.11.6 --platform mswin32

I also changed the devkit, got a updated kit and change requisite path
in fstub

But couldn't succeed. Always it gives me following error
ERROR:  Error installing ferret:
        ERROR: Failed to build gem native extension.

        c:/RailsInstaller/Ruby1.9.2/bin/ruby.exe extconf.rb
creating Makefile

make
c:/RailsInstaller/Ruby1.9.2/bin/ruby -e "puts 'EXPORTS',
'Init_ferret_ext'"  > f
erret_ext-i386-mingw32.def
.
.
.
.
.
.
ferret.c:297:22: error: 'struct RString' has no member named 'len'
make: *** [ferret.o] Error 1


Gem files will remain installed in
c:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9
.1/gems/ferret-0.11.6 for inspection.
Results logged to
c:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ferret-0.
11.6/ext/gem_make.out

Please help me.

Any help or suggestion is appreciable.

Thanks
Amir
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.