# Gem install mongrel error? help

**URL:** <https://www.ruby-forum.com/t/gem-install-mongrel-error-help/124496>\
**Category:** Ruby\
**Created:** [December 29, 2007, 7:57am UTC](https://www.ruby-forum.com/t/gem-install-mongrel-error-help/124496 "2007-12-29T07:57:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liyu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba9def/32.png) [@liyu](https://www.ruby-forum.com/u/liyu)\
**Post date:** [December 29, 2007, 7:57am UTC](https://www.ruby-forum.com/t/gem-install-mongrel-error-help/124496/1 "2007-12-29T07:57:58Z")

</div>

gem install mongrel  
Updating metadata for 39 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
…  
complete  
Building native extensions. This could take a while…  
ERROR: Error installing mongrel:  
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install mongrel  
checking for main() in -lc… yes  
creating Makefile

make  
gcc -I. -I/usr/local/include/ruby-1.9.0/i686-linux  
-I/usr/local/include/ruby-1.9.0 -I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -g -O2  
-o http11\_parser.o -c http11\_parser.c  
gcc -I. -I/usr/local/include/ruby-1.9.0/i686-linux  
-I/usr/local/include/ruby-1.9.0 -I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -g -O2  
-o http11.o -c http11.c  
http11.c: In function â€˜http\_fieldâ€™:  
http11.c:77: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:77: error: â€˜struct RStringâ€™ has no member named â€˜lenâ€™  
http11.c: In function â€˜header\_doneâ€™:  
http11.c:172: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:172: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:172: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:174: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:176: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:177: error: â€˜struct RStringâ€™ has no member named â€˜lenâ€™  
http11.c: In function â€˜HttpParser\_executeâ€™:  
http11.c:298: error: â€˜struct RStringâ€™ has no member named â€˜ptrâ€™  
http11.c:299: error: â€˜struct RStringâ€™ has no member named â€˜lenâ€™  
make: \*\*\* [http11.o] Error 1

Gem files will remain installed in  
/usr/local/lib/ruby/gems/1.9.0/gems/mongrel-1.1.3 for inspection.  
Results logged to  
/usr/local/lib/ruby/gems/1.9.0/gems/mongrel-1.1.3/ext/http11/gem\_make.out

---

<div class="post-metadata">

**Author:** ![liyu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba9def/32.png) [@liyu](https://www.ruby-forum.com/u/liyu)\
**Post date:** [December 29, 2007, 9:20am UTC](https://www.ruby-forum.com/t/gem-install-mongrel-error-help/124496/2 "2007-12-29T09:20:50Z")

</div>

On Dec 29, 3:57 am, Li Yu [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> creating Makefile
> 
> make  
> gcc -I. -I/usr/local/include/ruby-1.9.0/i686-linux  
> -I/usr/local/include/ruby-1.9.0 -I. -D\_FILE\_OFFSET\_BITS=64 -fPIC -g -O2

Stop right there.

There is no Mongrel compatible with Ruby 1.9.0.  
Currently there is no release plan about it, but we are working on  
this subject.  
Official word: unsupported.

I guess you will try to install rails after mongrel, so I suggest to  
get back to 1.8.6 and stick there.

1.9.0 is a development release.
