Ruby 2.2.1 w/ Rails 4 - lsapi broken!

#1
Guys... We need rails support. What's going on!? This is keeping our customers down currently.

root@alpha [/usr/local/lsws/fcgi-bin]# gem install ruby-lsapi
Building native extensions. This could take a while...
ERROR: Error installing ruby-lsapi:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150404-23939-1vpsrmp.rb extconf.rb
checking for main() in -lsocket... no
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling lsapilib.c
lsapilib.c: In function âLSAPI_Accept_râ:
lsapilib.c:1251: warning: dereferencing type-punned pointer will break strict-aliasing rules
lsapilib.c: In function âLSAPI_ReqBodyGetLine_râ:
lsapilib.c:1394: warning: comparison of unsigned expression < 0 is always false
lsapilib.c: In function âLSAPI_ReadReqBody_râ:
lsapilib.c:1438: warning: comparison of unsigned expression < 0 is always false
lsapilib.c:1445: warning: comparison between signed and unsigned integer expressions
lsapilib.c:1452: warning: comparison between signed and unsigned integer expressions
lsapilib.c: In function âLSAPI_Write_râ:
lsapilib.c:1510: warning: comparison between signed and unsigned integer expressions
lsapilib.c: In function âlsapi_acceptâ:
lsapilib.c:2413: warning: dereferencing type-punned pointer will break strict-aliasing rules
compiling lsruby.c
In file included from lsruby.c:7:
/usr/local/rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/ruby/backward/util.h:2:2: warning: #warning use "ruby/util.h" instead of bare "util.h"
lsruby.c: In function âlsapi_puts_aryâ:
lsruby.c:339: warning: implicit declaration of function ârb_inspecting_pâ
lsruby.c: In function âlsapi_putsâ:
lsruby.c:371: warning: implicit declaration of function ârb_protect_inspectâ
lsruby.c: In function âInit_lsapiâ:
lsruby.c:564: error: ârb_thread_selectâ undeclared (first use in this function)
lsruby.c:564: error: (Each undeclared identifier is reported only once
lsruby.c:564: error: for each function it appears in.)
lsruby.c:634: warning: assignment from incompatible pointer type
lsruby.c:644: warning: assignment from incompatible pointer type
lsruby.c:558: warning: unused variable âremove_envâ
make: *** [lsruby.o] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.2.1/gems/ruby-lsapi-4.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.2.1/extensions/x86_64-linux/2.2.0/ruby-lsapi-4.1/gem_make.out
root@alpha [/usr/local/lsws/fcgi-bin]# gem install ruby-lsapi
Building native extensions. This could take a while...
ERROR: Error installing ruby-lsapi:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.2.1/bin/ruby -r ./siteconf20150404-24769-rjm7l8.rb extconf.rb
checking for main() in -lsocket... no
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling lsapilib.c
lsapilib.c: In function âLSAPI_Accept_râ:
lsapilib.c:1251: warning: dereferencing type-punned pointer will break strict-aliasing rules
lsapilib.c: In function âLSAPI_ReqBodyGetLine_râ:
lsapilib.c:1394: warning: comparison of unsigned expression < 0 is always false
lsapilib.c: In function âLSAPI_ReadReqBody_râ:
lsapilib.c:1438: warning: comparison of unsigned expression < 0 is always false
lsapilib.c:1445: warning: comparison between signed and unsigned integer expressions
lsapilib.c:1452: warning: comparison between signed and unsigned integer expressions
lsapilib.c: In function âLSAPI_Write_râ:
lsapilib.c:1510: warning: comparison between signed and unsigned integer expressions
lsapilib.c: In function âlsapi_acceptâ:
lsapilib.c:2413: warning: dereferencing type-punned pointer will break strict-aliasing rules
compiling lsruby.c
In file included from lsruby.c:7:
/usr/local/rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/ruby/backward/util.h:2:2: warning: #warning use "ruby/util.h" instead of bare "util.h"
lsruby.c: In function âlsapi_puts_aryâ:
lsruby.c:339: warning: implicit declaration of function ârb_inspecting_pâ
lsruby.c: In function âlsapi_putsâ:
lsruby.c:371: warning: implicit declaration of function ârb_protect_inspectâ
lsruby.c: In function âInit_lsapiâ:
lsruby.c:564: error: ârb_thread_selectâ undeclared (first use in this function)
lsruby.c:564: error: (Each undeclared identifier is reported only once
lsruby.c:564: error: for each function it appears in.)
lsruby.c:634: warning: assignment from incompatible pointer type
lsruby.c:644: warning: assignment from incompatible pointer type
lsruby.c:558: warning: unused variable âremove_envâ
make: *** [lsruby.o] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.2.1/gems/ruby-lsapi-4.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.2.1/extensions/x86_64-linux/2.2.0/ruby-lsapi-4.1/gem_make.out
 
Top