FXRuby install problem revisited
From:
Thomas Rivas trivas7@rawbw.com
Reply-To:
trivas7@rawbw.com
Date:
Thursday 09 January 2003 11:13:47 am
Groups:
comp.lang.ruby
no references
Hi, Rubistas–
According to FXRuby doc ‘list of things that can go wrong’ during the build
I ran into the one having to do with Ruby headers:
[/usr/lib/ruby/site_ruby/FXRuby-1.0.17] ruby install.rb setup
install.rb: entering setup phase…
—> lib
—> lib/fox
<— lib/fox
<— lib
—> ext
—> ext/fox
make
g++ -fPIC -O3 -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-stren
gth-reduce -O0 -Iinclude -DWITH_FXSCINTILLA -I. -I/usr/lib/ruby/1.6/i58
6-linux-gnu -I/usr/lib/ruby/site_ruby/FXRuby-1.0.17/ext/fox -I/usr/inclu
de -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla
-I/usr/local/include/fox -c -o FXRuby.o FXRuby.cpp
cc1plus: warning: changing search order for system directory “/usr/inclu
de”
cc1plus: warning: as it has already been specified as a non-system dir
ectory
/usr/lib/ruby/1.6/i586-linux-gnu/intern.h: In function void FXRbGcMark( void*)': /usr/lib/ruby/1.6/i586-linux-gnu/intern.h:193: too many arguments to fun ction
void rb_gc_mark()’
FXRuby.cpp:300: at this point in file
make: *** [FXRuby.o] Error 1
setup failed
‘system make’ failed
Where do I find the Ruby include files to "change the declaration for
rb_thread_wait_for() in intern.h to read:
···
void rb_thread_wait_for(struct timeval);
and change the declaration for rb_gc_mark() in intern.h to read:
void rb_gc_mark(VALUE);"? Thanks.