# Help installing ferret gem on Mandriva 2010 linux

**URL:** <https://www.ruby-forum.com/t/help-installing-ferret-gem-on-mandriva-2010-linux/186942>\
**Category:** Ferret\
**Created:** [April 14, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/help-installing-ferret-gem-on-mandriva-2010-linux/186942 "2010-04-14T17:27:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [April 14, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/help-installing-ferret-gem-on-mandriva-2010-linux/186942/1 "2010-04-14T17:27:08Z")

</div>

Having trouble installing ferret gem in RoR in Mandriva Linux 2010.

I get the following error when trying to install:

[root@localhost ironmantis7x]# gem install ferret  
Building native extensions. This could take a while…  
ERROR: Error installing ferret:  
ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb  
creating Makefile

make  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c helper.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
q\_boolean.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c posh.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
stem\_ISO\_8859\_1\_german.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
q\_prefix.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
stem\_UTF\_8\_french.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
stem\_UTF\_8\_danish.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
r\_store.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
stem\_UTF\_8\_italian.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c sort.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
r\_search.c  
r\_search.c: In function â€˜frt\_td\_to\_sâ€™:  
r\_search.c:202: warning: format â€˜%ldâ€™ expects type â€˜long intâ€™, but  
argument 3 has type â€˜intâ€™  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c except.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
stem\_UTF\_8\_german.c  
gcc -I. -I/usr/lib/ruby/1.8/i586-linux -I/usr/lib/ruby/1.8/i586-linux  
-I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -O2 -g -pipe -Wformat  
-Werror=format-security -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -march=i586 -mtune=generic  
-fasynchronous-unwind-tables -fPIC -D\_FILE\_OFFSET\_BITS=64 -c global.c  
global.c: In function â€˜vstrfmtâ€™:  
global.c:307: error: format not a string literal and no format arguments  
make: \*\*\* [global.o] Error 1

Gem files will remain installed in  
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.6 for inspection.  
Results logged to  
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.6/ext/gem\_make.out

Is there a known fix for this? I am trying to install ferret 0.11.6.  
I am running the following:  
gem 1.3.5  
rails 2.3.5  
ruby 1.8.7

and these are my installed gems:

\*\*\* LOCAL GEMS \*\*\*

actionmailer (2.3.5, 2.3.4, 1.3.3)  
actionpack (2.3.5, 2.3.4, 1.13.3)  
actionwebservice (1.2.6, 1.2.3)  
activerecord (2.3.5, 2.3.4, 1.15.3)  
activeresource (2.3.5, 2.3.4)  
activesupport (2.3.5, 2.3.4, 1.4.2)  
dependencies (0.0.8)  
rack (1.0.1)  
rails (2.3.5, 2.3.4, 1.2.3)  
rake (0.8.3)  
thor (0.13.3)  
will\_paginate (2.3.12)

Any help is greatly appreciated!!

ironmantis7x
