Hi!
Actually your installation has failed, but unfortunately gem doesn''t
notice that the compilation failed and pretends everything is ok.
I guess it has something to do with your build environment on that
machine. What does ''gcc --version'' give you on that box? What
exact Ruby
version do you have? Were you able to install other gems containing
native extensions (i.e., Mongrel, Hpricot, RMagick)?
Jens
On Wed, Jul 11, 2007 at 04:01:31AM +0200, Dan Wick
wrote:> I''ve been trying to install Ferret on RedHat 7.3, Ruby 1.8 (let me
know
> if more details would be helpful) using the gem install. I''ve
tried
> every version >10 and it installs, but I get errors:
>
> Building native extensions. This could take a while...
> In file included from q_filtered_query.c:1:
> search.h:683: array size missing in ''comparables''
> make: *** [q_filtered_query.o] Error 1
> In file included from q_filtered_query.c:1:
> search.h:683: array size missing in ''comparables''
> (Yes, I get it twice.)
>
> It then goes on to successfully install, but when I go to test in the
> Ruby console I get an error:
>
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> ''gem_original_require'': no such file to load --
ferret_ext (LoadError)
>
> Any ideas on what might be going on? I''ve had it running on Win32
> locally, but I can''t get it going on my staging server.
>
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
>
--
Jens Kr?mer
webit! Gesellschaft f?r neue Medien mbH
Schnorrstra?e 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
kraemer at webit.de | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa