LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > lsapi not compatible with ruby 1.9.1 ?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2009, 04:24 AM
Grzegorz Derebecki Grzegorz Derebecki is offline
Senior Member
 
Join Date: Jun 2007
Posts: 92
Default lsapi not compatible with ruby 1.9.1 ?

/opt/ruby19/bin/ruby extconf.rb install ruby-lsapi
checking for main() in -lsocket... no
creating Makefile

make
gcc -I. -I/opt/ruby19/include/ruby-1.9.1/i386-darwin10.2.0 -I/opt/ruby19/include/ruby-1.9.1/ruby/backward -I/opt/ruby19/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -o lsapilib.o -c lsapilib.c
gcc -I. -I/opt/ruby19/include/ruby-1.9.1/i386-darwin10.2.0 -I/opt/ruby19/include/ruby-1.9.1/ruby/backward -I/opt/ruby19/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -o lsruby.o -c lsruby.c
In file included from lsruby.c:3:
/opt/ruby19/include/ruby-1.9.1/ruby/backward/util.h:2:2: warning: #warning use "ruby/util.h" instead of bare "util.h"
lsruby.c: In function 'lsapi_write':
lsruby.c:257: error: 'struct RString' has no member named 'ptr'
lsruby.c:257: error: 'struct RString' has no member named 'len'
lsruby.c: In function 'lsapi_puts_ary':
lsruby.c:310: error: 'struct RArray' has no member named 'len'
lsruby.c:312: error: 'struct RArray' has no member named 'ptr'
lsruby.c:313: warning: implicit declaration of function 'rb_inspecting_p'
lsruby.c: In function 'lsapi_puts':
lsruby.c:341: warning: implicit declaration of function 'rb_protect_inspect'
lsruby.c:349: error: 'struct RString' has no member named 'ptr'
lsruby.c:349: error: 'struct RString' has no member named 'len'
lsruby.c: In function 'lsapi_gets':
lsruby.c:413: error: 'struct RString' has no member named 'len'
lsruby.c: In function 'lsapi_read':
lsruby.c:458: error: 'struct RString' has no member named 'len'
make: *** [lsruby.o] Error 1
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:45 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.