Hi:
I just installed fox-1.0.11 via ports on FreeBSD and
all worked will. I then downloaded FXRuby-1.0.11 from
sourceforge and installed but it soon failed with
the error listed below:
c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o FXRuby.o FXRuby.cpp
FXRuby.cpp: In function void FXRbGcMark(void *)': FXRuby.cpp:186: passing
void *’ to argument 1 of `rb_gc_mark(long unsigned int)’ lacks a cast
*** Error code 1
Stop in /usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox.
setup failed
’system make’ failed
try ‘ruby install.rb --help’ for usage
Can someone tell me why this failed.
Thanks
Jim
PS The full set of events are listed below.
-> ruby install.rb config
install.rb: entering config phase…
—> lib
—> lib/fox
<— lib/fox
<— lib
—> ext
—> ext/fox
/usr/local/bin/ruby /usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox/extconf.rb
checking for sys/time.h… yes
checking for signal.h… yes
checking for png_create_read_struct() in -lpng… yes
checking for deflate() in -lz… yes
checking for jpeg_mem_init() in -ljpeg… yes
checking for TIFFSetErrorHandler() in -ltiff… yes
checking for XShmQueryVersion() in -lXext… yes
checking for XFindContext() in -lX11… yes
checking for glXCreateContext() in -lGL… no
checking for gluNewQuadric() in -lGLU… no
creating Makefile
—> ext/fox/include
<— ext/fox/include
<— ext/fox
<— ext
install.rb: config done.
jfreeze@rabbit (‘tty’) ~/installs/bsd/ruby/FXRuby-1.0.11 38 -> ruby install.rb setup
install.rb: entering setup phase…
—> lib
—> lib/fox
<— lib/fox
<— lib
—> ext
—> ext/fox
make
cc -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o librb.o librb.c
c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o core_wrap.o core_wrap.cpp
c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o dialogs_wrap.o dialogs_wrap.cpp
c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o FXRbApp.o FXRbApp.cpp
c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o FXRbDataTarget.o FXRbDataTarget.cpp
c++ -fPIC -O -pipe -fPIC -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/i386-freebsd4 -I/usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include -I/usr/local/include/fox -c -o FXRuby.o FXRuby.cpp
FXRuby.cpp: In function void FXRbGcMark(void *)': FXRuby.cpp:186: passing
void *’ to argument 1 of `rb_gc_mark(long unsigned int)’ lacks a cast
*** Error code 1
Stop in /usr/home/jfreeze/installs/bsd/ruby/FXRuby-1.0.11/ext/fox.
setup failed
’system make’ failed
try ‘ruby install.rb --help’ for usage
···
–
Jim Freeze
If only I had something clever to say for my comment…