# An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue

**URL:** <https://www.ruby-forum.com/t/an-error-occurred-while-installing-jk-ferret-0-11-8-3-and-bundler-cannot-continue/228288>\
**Category:** Rails\
**Created:** [April 16, 2013, 9:22pm UTC](https://www.ruby-forum.com/t/an-error-occurred-while-installing-jk-ferret-0-11-8-3-and-bundler-cannot-continue/228288 "2013-04-16T21:22:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanna](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f17d59/32.png) [@kanna](https://www.ruby-forum.com/u/kanna)\
**Post date:** [April 16, 2013, 9:22pm UTC](https://www.ruby-forum.com/t/an-error-occurred-while-installing-jk-ferret-0-11-8-3-and-bundler-cannot-continue/228288/1 "2013-04-16T21:22:50Z")

</div>

\*Hi guys…

i got this type of error when i configured Gemfile

then what to do?\*

gem “thinking-sphinx”  
gem ‘ferret’

Updating git://github.com/mark-moseley/linecache  
Fetching gem metadata from [https://rubygems.org/](https://rubygems.org/)…  
Fetching gem metadata from [https://rubygems.org/](https://rubygems.org/)…  
Resolving dependencies…  
Using rake (10.0.3)  
Using ClothRed (0.4.1)  
Using RedCloth (4.2.9)  
Using i18n (0.6.1)  
Using multi\_json (1.6.1)  
Using activesupport (3.2.9)  
Using builder (3.0.4)  
Using activemodel (3.2.9)  
Using erubis (2.7.0)  
Using journey (1.0.4)  
Using rack (1.4.5)  
Using rack-cache (1.2)  
Using rack-test (0.6.2)  
Using hike (1.2.1)  
Using tilt (1.3.3)  
Using sprockets (2.2.2)  
Using actionpack (3.2.9)  
Using mime-types (1.21)  
Using polyglot (0.3.3)  
Using treetop (1.4.12)  
Using mail (2.4.4)  
Using actionmailer (3.2.9)  
Using arel (3.0.2)  
Using tzinfo (0.3.35)  
Using activerecord (3.2.9)  
Using activeresource (3.2.9)  
Installing jk-ferret (0.11.8.3)  
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native  
extension  
.

```
c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb

```

creating Makefile

make  
generating ferret\_ext-i386-mingw32.def  
compiling analysis.c  
compiling array.c  
compiling bitvector.c  
bitvector.c: In function ‘frt\_bv\_eq’:  
bitvector.c:54:5: warning: ISO C90 forbids mixed declarations and code  
compiling BZLIB\_blocksort.c  
compiling BZLIB\_bzlib.c  
compiling BZLIB\_compress.c  
compiling BZLIB\_crctable.c  
compiling BZLIB\_decompress.c  
compiling BZLIB\_huffman.c  
compiling BZLIB\_randtable.c  
compiling compound\_io.c  
compound\_io.c: In function ‘cmpdi\_read\_i’:  
compound\_io.c:136:9: warning: unknown conversion type character ‘l’ in  
format  
compound\_io.c:136:9: warning: unknown conversion type character ‘l’ in  
format  
compound\_io.c:136:9: warning: too many arguments for format  
compound\_io.c: In function ‘cw\_copy\_file’:  
compound\_io.c:325:9: warning: unknown conversion type character ‘l’ in  
format  
compound\_io.c:325:9: warning: too many arguments for format  
compound\_io.c:334:9: warning: unknown conversion type character ‘l’ in  
format  
compound\_io.c:334:9: warning: unknown conversion type character ‘l’ in  
format  
compound\_io.c:334:9: warning: too many arguments for format  
compiling document.c  
compiling except.c  
except.c:23:37: warning: initialization discards qualifiers from pointer  
target  
type  
except.c:24:29: warning: initialization discards qualifiers from pointer  
target  
type  
compiling ferret.c  
compiling field\_index.c  
field\_index.c: In function ‘string\_handle\_term’:  
field\_index.c:237:23: warning: operation on ‘index-\>values’ may be  
undefined  
compiling filter.c  
compiling fs\_store.c  
fs\_store.c: In function ‘fso\_seek\_i’:  
fs\_store.c:252:9: warning: unknown conversion type character ‘l’ in  
format  
fs\_store.c:252:9: warning: format ‘%s’ expects type ‘char \*’, but  
argument  
4 has  
type ‘long long int’  
fs\_store.c:252:9: warning: too many arguments for format  
fs\_store.c: In function ‘fsi\_seek\_i’:  
fs\_store.c:306:9: warning: unknown conversion type character ‘l’ in  
format  
fs\_store.c:306:9: warning: format ‘%s’ expects type ‘char \*’, but  
argument  
4 has  
type ‘long long int’  
fs\_store.c:306:9: warning: too many arguments for format  
fs\_store.c: In function ‘fsi\_length\_i’:  
fs\_store.c:322:5: warning: implicit declaration of function ‘fstati64’  
fs\_store.c: In function ‘fs\_store\_new’:  
fs\_store.c:431:17: warning: unused variable ‘stt’  
compiling global.c  
global.c: In function ‘frt\_vstrfmt’:  
global.c:190:23: warning: assignment discards qualifiers from pointer  
target typ  
e  
global.c: In function ‘signal\_to\_string’:  
global.c:412:14: error: ‘SIGBUS’ undeclared (first use in this function)  
global.c:412:14: note: each undeclared identifier is reported only once  
for  
each  
function it appears in  
global.c: In function ‘frt\_init’:  
global.c:436:22: error: storage size of ‘action’ isn’t known  
global.c:443:5: warning: implicit declaration of function ‘sigemptyset’  
global.c:446:5: error: storage size of ‘\_\_old’ isn’t known  
global.c:446:5: warning: implicit declaration of function ‘sigaction’  
global.c:446:5: warning: unused variable ‘\_\_old’  
global.c:447:5: error: storage size of ‘\_\_old’ isn’t known  
global.c:447:5: warning: unused variable ‘\_\_old’  
global.c:448:5: error: storage size of ‘\_\_old’ isn’t known  
global.c:448:5: warning: unused variable ‘\_\_old’  
global.c:449:5: error: storage size of ‘\_\_old’ isn’t known  
global.c:449:5: error: ‘SIGBUS’ undeclared (first use in this function)  
global.c:449:5: warning: unused variable ‘\_\_old’  
global.c:450:5: error: storage size of ‘\_\_old’ isn’t known  
global.c:450:5: warning: unused variable ‘\_\_old’  
global.c:436:22: warning: unused variable ‘action’  
make: \*\*\* [global.o] Error 1

Gem files will remain installed in  
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9  
.1/gems/jk-ferret-0.11.8.3 for inspection.  
Results logged to  
c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jk-ferret  
-0.11.8.3/ext/gem\_make.out  
An error occurred while installing jk-ferret (0.11.8.3), and Bundler  
cannot  
continue.  
Make sure that `gem install jk-ferret -v '0.11.8.3'` succeeds before  
bundling.

---

<div class="post-metadata">

**Author:** ![kanna](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f17d59/32.png) [@kanna](https://www.ruby-forum.com/u/kanna)\
**Post date:** [April 16, 2013, 9:47pm UTC](https://www.ruby-forum.com/t/an-error-occurred-while-installing-jk-ferret-0-11-8-3-and-bundler-cannot-continue/228288/2 "2013-04-16T21:47:22Z")

</div>

On 16 April 2013 20:20, kanna [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Installing jk-ferret (0.11.8.3)  
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native  
> extension

Googling for  
jk-ferret  
gave this link [1] but you’re not going to like it.

Colin

[1]  
[http://stackoverflow.com/questions/5600876/how-do-i-install-acts-as-ferret-in-windows-xp](http://stackoverflow.com/questions/5600876/how-do-i-install-acts-as-ferret-in-windows-xp)
