Steve Tuckner wrote:
> 
> When you built FXRuby did you follow Lyles advice? (see below):
> 
> All I can suggest is:
> 
>   1. Change to the build directory for FXRuby;
> 
>   2. Type 'ruby install.rb clean' to clean out the build files;
> 
>   3. Type 'ruby install.rb config [... options ...]'
>      to configure the build, and be *sure* to pass in the
>      '--with-fxscintilla-include' and '--with-fxscintilla-lib'
>      options.
> 
>   4. Type 'ruby install.rb setup' to kick off the build.
>      As a sanity check, be sure that '-DWITH_FXSCINTILLA'
>      appears among flags being passed to the compiler.
> 
>   5. When it's done, re-install by typing 'ruby install.rb install'.
> 
> Steve Tuckner

Yes, I did all these steps.  Unfortunately, I did step 3 with 1.6.8 by
mistake instead of 1.8.0 - D'oh!

I went back and did it all again with 1.8.0.  However, now I get:

>/opt/bin/ruby scintilla-test.rb 
ld.so.1: /opt/bin/ruby: fatal: relocation error: file
/opt/lib/ruby/site_ruby/1.8/sparc-solaris2.9/fox.so: symbol
Init_scintilla: referenced symbol not found
Killed

Ok - I seem to recall having ld issues when I built FOX and FXRuby, so I
made sure that /usr/ccs/bin is pointing to GNU's ld instead and rebuilt
FXRuby (again).

root@sp5wd-b1-/home/djberge/local/modules/ruby/FXRuby-1.0.22/examples-563>/opt/bin/ruby
scintilla-test.rb 
/opt/lib/ruby/site_ruby/1.8/sparc-solaris2.9/fox.so: [BUG] Segmentation
fault
ruby 1.8.0 (2003-03-03) [sparc-solaris2.9]
Abort (core dumped)

I went back and rebuilt FXScintilla with GNU ld (and then FXRuby).  Same
problem.

Any ideas?

Regards,

Dan