On 2007-02-27, at 16:02, 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.

Great stuff Dave.
My fairly standard Debian box fails on gem install too.

ruby extconf.rb install ferret
creating Makefile

make
gcc -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux 
-I.  -fPIC -Wall -g -fno-strict-aliasing -O2  -fPIC -fno-stack-protector 
-fno-common -D_FILE_OFFSET_BITS=64  -c q_multi_term.c
cc1: error: unrecognized option `-fno-stack-protector'
make: *** [q_multi_term.o] Error 1


For the record
# gcc --v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared 
--enable-__cxa_atexit --with-system-zlib --enable-nls 
--without-included-gettext --enable-clocale=gnu --enable-debug 
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc 
i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)

Sam

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

Reply via email to