From: Daniel Berger Date: 2002-11-09T01:53:20+09:00 Subject: Re: Fox, Solaris 2.9 problem "lyle@knology.net" wrote: > > #if defined(HAVE_ALLOCA_H) && !defined(__GNUC__) > #include > #endif > > to this: > > #if defined(HAVE_ALLOCA_H) > #include > #endif > > which basically says, "if you've got an header file, include it > unconditionally". Then try to pick up the compile of FXRuby where it left > off and see what happens. > > Hope this gives you something to go on, > > Lyle We're getting closer. Making this change got me through the installation. Now I'm having problems with the tests: root@sp5wd-b1-/usr/local/FXRuby-1.0.14/tests-590>/opt/sfw/bin/ruby TC_FXButton.rb /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/error.rb:35: warning: escaped terminator '"' inside string interpolation /opt/sfw/lib/ruby/site_ruby/1.7/sparc-solaris2.9/fox.so: ld.so.1: /opt/sfw/bin/ruby: fatal: relocation error: file /opt/sfw/lib/ruby/site_ruby/1.7/sparc-solaris2.9/fox.so: symbol _ZN16FXProgressDialog9metaClassE: referenced symbol not found - /opt/sfw/lib/ruby/site_ruby/1.7/sparc-solaris2.9/fox.so (LoadError) from TC_FXButton.rb:3 Loaded suite TC_FXButton /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class Started... /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class /opt/sfw/lib/ruby/site_ruby/1.7/test/unit/ui/util/procwrapper.rb:26: warning: Object#type is deprecated; use Object#class Finished in 0.002416 seconds. 0 runs, 0 assertions, 0 failures, 0 errors I'm guessing I should be seeing a widget of some kind at this point, but no luck. Am I looking at rebuilding Fox with different ld options? I don't remember now if I ended up using GNU's ld or Sun's ld. Regards, Dan PS - heh - "0 failures" :-P