[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem install mongrel error?? help

Li Yu

12/29/2007 6:58:00 AM

gem install mongrel
Updating metadata for 39 gems from http://gems.rub...
.......................................
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
--
Posted via http://www.ruby-....

1 Answer

Luis Lavena

12/29/2007 8:19:00 AM

0

On Dec 29, 3:57 am, Li Yu <79962...@qq.com> wrote:
> gem install mongrel
> Updating metadata for 39 gems fromhttp://gems.rub...
> ......................................
> 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.