From: Lyle Johnson Date: 2002-12-21T10:17:15+09:00 Subject: Re: FXRuby and OS X 10.2 (Re: ANN: FXRuby-1.0.17 Now Available) Mark Wilson wrote: > I upgraded yesterday to Mac OS X 10.2.3 and to Ruby 1.6.8 preview 4 > (12/19/02). I successfully installed FOX (following the instructions at > http://www.fifthplanet.net/cgi-bin/wiki.pl?Mac_OS_X ). I have not been > successful in installing FXRuby-1.0.17. The setup process exits with > the following: > > cc -dynamic -bundle -undefined suppress -flat_namespace > -L/usr/local/lib -L/usr/X11R6/lib > -L/usr/local/lib/ruby/1.6/powerpc-darwin6.3 -L/usr/local/lib -o > fox.bundle librb.o core_wrap.o dialogs_wrap.o FXRbApp.o FXRbDataTarget.o > FXRuby.o icons_wrap.o image_wrap.o impl.o layout_wrap.o markfuncs.o > mdi_wrap.o opengl_wrap.o ui_wrap.o -lFOX -lGLU -lGL -lX11 -lXext -lz > -lstdc++ -ldl -lobjc > ld: can't locate file for: -lFOX > make: *** [fox.bundle] Error 1 > setup failed > 'system make' failed > try 'ruby install.rb --help' for usage Did you perhaps install the FOX library to some non-standard directory (by specifying a "--prefix" option to FOX's configure script)? The error message means that the linker (ld) can't find the FOX library that you built and installed previously. According to the output you've shown, it is looking in the following directories: /usr/local/lib /usr/X11R6/lib /usr/local/lib/ruby/1.6/powerpc-darwin6.3 By default, the FOX library gets installed to /usr/local/lib. If you specified a different installation directory, that's OK too, but you need to tell the FXRuby build script about it by specifying the --with-fox-include and --with-fox-lib options, as shown here: http://www.fxruby.org/doc/build.html Hope this helps, Lyle