Install ferret on windows

Hi!

I’m trying to install ferret on windows, so I chose
ferret-0.10.9-mswin32.gem from the download page, as it includes a
already pre-compiled ferret_ext.so (is that correct?) and I don’t have
any C compiler here. The gem installed it correctly, but the test didn’t
work. So I called these commands:
rake ext
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install

the first was aborted (missing nmake of course)
I copied the extconf.rb from the 0.10.11 distribution, as it was not
included. The 2nd command said “The C extensions could not be
installed”, the 3rd told me not to worry about that and the 4th seemed
to work fine.

After that the tests are running, but keep crashing with
C:/Ruby/lib/ruby/site_ruby/1.8/ferret/index.rb:125: [BUG] Segmentation
fault
ruby 1.8.2 (2004-12-25) [i386-mswin32]

Is that because this version is buggy or is there no other way than to
install a C compiler?

Thanks for your help.
hawe.

On 10/18/06, hawe [email protected] wrote:

Hi!

I’m trying to install ferret on windows, so I chose
ferret-0.10.9-mswin32.gem from the download page, as it includes a
already pre-compiled ferret_ext.so (is that correct?) and I don’t have
any C compiler here.

I think you’ll need to upgrade your version Ruby. It appears you have
1.8.2. Ferret is compiled against Onclick-Installer 1.8.4-20.

The gem installed it correctly, but the test didn’t
work.

So I called these commands:
rake ext
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install

These commands won’t work as you don’t have a C compiler.

Is that because this version is buggy or is there no other way than to
install a C compiler?

I’m not quite sure what you mean here about another way to install a C
compiler. If you want to compile Ferret yourself you’ll need to get
ahold of VC6 or possibly MingW but I recommend just upgrading Ruby and
using the precompiled gem.

Let me know if you are still having problems.

Cheers,
Dave

Thanks, that’s it…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs