I got the below error on installation:

Building native extensions.  This could take a while...
cc1: error: unrecognized command line option "-fno-stack-protector"
make: *** [analysis.o] Error 1
cc1: error: unrecognized command line option "-fno-stack-protector"
make: *** [analysis.o] Error 1
ruby extconf.rb install ferret
creating Makefile

make
gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.8.1
-I/usr/local/lib/ruby/1.8/i686-darwin8.8.1 -I.  -fno-common -g -O2 -pipe
-fno-common -fno-stack-protector -fno-common -D_FILE_OFFSET_BITS=64  -c
analysis.c

make install
gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.8.1
-I/usr/local/lib/ruby/1.8/i686-darwin8.8.1 -I.  -fno-common -g -O2 -pipe
-fno-common -fno-stack-protector -fno-common -D_FILE_OFFSET_BITS=64  -c
analysis.c

make clean
Successfully installed ferret-0.11.1
Installing ri documentation for ferret-0.11.1...
Installing RDoc documentation for ferret-0.11.1...

then I get this when I try and run my rails app:

/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)
        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.1/lib/ferret.rb:25
        from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in
`gem_original_require'
        from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in
`require'

-Mike

David Balmain wrote:
> Hey guys,
> 
> Just released Ferret 0.11.1. Hopefully this will fix *most* of the
> problems people were having. Now that I know gcc hides stack overflows
> on Ubuntu because -fstack-protector is set, I won't get caught by that
> one again. Anyone know any other gotchas I should be aware of on
> Ubuntu.
> 
> Please try the new version and let me know if you are still having
> problems with it. I have until the end of the week to work on Ferret
> as much as I need to so I'd like to deal with as many issues as
> possible within that time.
> 
> Cheers,
> Dave

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to