Hi,
A few weeks ago I tried to install fxruby, went grey, ended up installing fink and darwinports, lost more hair and ended up completely trashing Ruby on my (wife's) system here.
Thanks to some good advice on this list (yes, I brought 'Learning unix on OSX Tiger - good book btw), I was able to get ruby up again.
Which brings us to today, when I decided to try fxruby again.
Agghhh... still no joy, but this time, before I mess thing up I though I'd ask for some advice.
All I've tried this far is installing via gem. Here's the result:
mac:~/Documents sharon$ sudo gem install fxruby
Select which gem to install for your platform (universal-darwin8.0)
1. fxruby 1.6.11 (ruby)
2. fxruby 1.6.11 (mswin32)
3. fxruby 1.6.10 (mswin32)
4. fxruby 1.6.10 (ruby)
5. Skip this gem
6. Cancel installation
> 1
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install fxruby
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... no
checking for XShmQueryVersion() in -lXext... yes
checking for XFindContext() in -lX11... yes
checking for glXCreateContext() in -lGL... yes
checking for gluNewQuadric() in -lGLU... yes
creating Makefile
make
gcc -I. -I. -I/usr/local/lib/ruby/1.8/universal-darwin8.0 -I. -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.6 -I/opt/local/include/fox-1.6 -I/opt/local/include/fxscintilla -fno-common -g -O2 -fno-common -pipe -fno-common -O0 -Iinclude -DWITH_FXSCINTILLA -DHAVE_FOX_1_6 -arch i386 -c librb.c
<snip a few hundred lines>
cc -dynamic -bundle -undefined suppress -flat_namespace -arch i386 -L"/usr/local/lib" -L"/usr/local/lib" -L"/usr/X11R6/lib" -o fox16.bundle librb.o core_wrap.o dc_wrap.o dialogs_wrap.o frames_wrap.o fx3d_wrap.o FXRbApp.o FXRbDataTarget.o FXRbGLViewer.o FXRuby.o iconlist_wrap.o icons_wrap.o image_wrap.o impl.o label_wrap.o layout_wrap.o list_wrap.o markfuncs.o mdi_wrap.o menu_wrap.o scintilla_wrap.o table_wrap.o text_wrap.o treelist_wrap.o ui_wrap.o unregisterOwnedObjects.o -lruby -lfxscintilla -lFOX-1.6 -lGLU -lGL -lX11 -lXext -ljpeg -lz -lpng -lstdc++ -lpthread -ldl -lobjc
/usr/bin/ld: can't locate file for: -lfxscintilla
collect2: ld returned 1 exit status
make: *** [fox16.bundle] Error 1
Where do I go from here?
Cheers,
Dave