You are not logged in.
Pages: 1
getting the following error when i run sudo gem install mongrel?
/usr/bin/ruby extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -o http11_parser.o -c http11_parser.c
gcc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -fPIC -march=x86-64 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -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:77: warning: left-hand operand of comma expression has no effect
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
anybody know how to fix this?
thanks.
Last edited by fcuk112 (2010-04-10 17:58:50)
Archlinux.Club launching soon! Sign up now @ http://archlinux.launchrock.com
Offline
I find this link. Is for Mac OS X but the steps are the same for Linux.
Offline
awesome, that worked. thanks very much for your help!
Archlinux.Club launching soon! Sign up now @ http://archlinux.launchrock.com
Offline
awesome, that worked. thanks very much for your help!
I'm glad that worked for you. Now you can mark the post as Solved
Offline
Pages: 1