Compiling ruby-fltk

trying to install ruby-fltk and it bombs. i’m running debian and think i have
all the -dev packages required installed.

any suggestions? here’s my output (looks to me that there are too many no’s in
the config stage so something is off):

ruby extconf.rb
checking for fltk-config… no
checking for X11/X.h… yes
checking for main() in -lX11… yes
checking for main() in -lXext… yes
checking for X11/Xlocale.h… yes
checking for _Xsetlocale()… no
checking for setlocale()… no
checking for main() in -lGL… yes
checking for main() in -lGLU… yes
checking for main() in -lfltk… yes
checking for main() in -lfltk_gl… no
checking for fl_set_xic_focus__FP9Fl_Widgetiiiiii() in -lfltk… no
checking for FL/fl_utf8.h… no
checking for main() in -ljpeg… yes
checking for main() in -lpng… yes
checking for main() in -lz… yes
checking for FL/Fl.H… yes
checking for main() in -lfltk… yes
checking for main() in -lfltk_forms… no
checking for main() in -lfltk_images… no
checking for main() in -lruby… no
checking for rb_hash_delete()… no
checking for FL_IMAGE_3… no
checking for FL_INPUT_COPY_1… no
checking for FL_PIXMAP_ALLOC_DATA… no
checking for FL_WIDGET_IMAGE… no
checking for FL_READ_IMAGE… no
checking for FL_FILE_CHOOSER_FILTER_VALUE… no
checking for FL_WIDGET_TOOLTIP… no
checking for FL_TOOLTIP_TEXTCOLOR… no
checking for FL_FILE_CHOOSER_NEWBUTTON… no
checking for FL_FILE_CHOOSER_PREVIEWBUTTON… no
checking for FL_LOCK… no
checking for FL_EVENT_DX… no
checking for FL_DND… no
checking for FL_MOUSEWHEEL… no
checking for FL/Fl_Wizard.H… no
checking for FL/Fl_File_Chooser.H… no
checking for FL/Fl_Text_Buffer.H… no
checking for FL/Fl_Text_Editor.H… no
checking for FL/Fl_Text_Display.H… no
checking for FL/Fl_Help_View.H… no
checking for FL/Fl_Help_Dialog.H… no
checking for FL/Fl_Tooltip.H… no
checking for FL/Fl_Check_Browser.H… no
checking for FL/Fl_Progress.H… no
creating Makefile

make
g++ -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.6/i686-linux -I.
-I/usr/local/include -DHAVE_X11_X_H -DHAVE_X11_XLOCALE_H -DHAVE_FL_FL_H
-I/usr/local/include -I/usr/X11R6/include -I/usr/include -DUSE_GL -DUSE_JPEG
-DUSE_PNG -DUSE_Z -c -o fltk.o fltk.cc
fltk.cc: In function VALUE rb_fltk_inactive(long unsigned int, long unsigned int)': fltk.cc:1057: implicit declaration of function int fl_inactive(…)’
fltk.cc: In function VALUE rb_fltk_contrast(long unsigned int, long unsigned int, long unsigned int)': fltk.cc:1062: implicit declaration of function int fl_contrast(…)’
make: *** [fltk.o] Error 1

thanks,
transami

At Tue, 10 Dec 2002 20:14:53 +0900,

any suggestions? here’s my output (looks to me that there are too many no’s in
the config stage so something is off):

One of the solutions is to comment out the functions such as rb_fltk_contrast().
Another solution is to install fltk-1.1.x. Maybe the problem have been fixed in
the cvs version of ruby-fltk.

···


Takaaki Tateishi ttate@kt.jaist.ac.jp