gem install mongrel error?? help

L

Li Yu

gem install mongrel
Updating metadata for 39 gems from 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
 
L

Luis Lavena

gem install mongrel
Updating metadata for 39 gems fromhttp://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


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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top