I have found very little information about this problem on the net, so i
thought someone here might be able to help me.
I am running mac os x 10.4 on a powerbook and have installed ruby 1.8.6
and
was trying to get ferret to work, without any success.
Here is exactly what i did and what happened:
$ sudo gem install ferret
Updating metadata for 125 gems from http://gems.rubyforge.org
…
…
complete
Building native extensions. This could take a while…
Successfully installed ferret-0.11.6
1 gem installed
Installing ri documentation for ferret-0.11.6…
Installing RDoc documentation for ferret-0.11.6…
$ ruby ferret_test.rb
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret_ext.bundle:
Failed to load
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret_ext.bundle
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' from /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret.rb:25 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
gem_original_require’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require’
from ferret_test.rb:2
The ferret_test.rb includes the following lines:
require ‘rubygems’
require ‘ferret’
include Ferret
The ferret_ext.bundle file does exist but i am guessing it might not
have
been properly compiled. I opened it afterwards and it contains some
error
message that seem to not belong there.
I do have gcc (4.0.1) and make etc. installed. The Powerbook is
obviously
not an intel mac but in the .bundle-file i found this, i am not sure if
that
helps to find out what the problem is:
*ERROR: POSH double precision floating point serialization failed.
Please
report this to [email protected]!
OS:…MacOS X
CPU:…Intel 386+
endian:…little
ptr size:…32-bits
64-bit ints…yes
floating point…enabled
compiler…Gnu GCC
Please help!
Patrick