From: Lyle Johnson Date: 2002-12-28T09:52:29+09:00 Subject: Re: Installing Fox, FXRuby and fxscintilla Daniel Carrera wrote: > I've spent weeks just trying to get any of the dependencies to install. Weeks? > Fox requires the libstdc++-libc6.1-2.so.3 library. Now matter were I > look, I just haven't been able to find it. The ones that I have are > libstdc++-libc6.1-1.so.2 and libstdc++-libc6.2-2.so.3. If you're building from source, FOX doesn't depend on any particular version of the standard C++ library. If you're installing it from an RPM it would presumably have a dependency on whatever version of libstdc++ it was built against on the RPM packager's machine. For example, if the packager built a FOX RPM on Red Hat Linux 8.0 it probably wouldn't work on earlier versions of Red Hat Linux, or for other Linux distributions that happen to use RPMs (such as Mandrake). Since you're talking about dependencies on particular versions of libstdc++, am I correct to assume that you're trying to install an RPM that you found somewhere, and that rpm is complaining about that dependency? > There are some RPMs that seem very outdated. After installing those, > neither FXRuby nor fxscintilla will compile. I usually keep up-to-date RPMs for Red Hat Linux 8.0 here: http://sourceforge.net/project/showfiles.php?group_id=3372 but some other sources for RPMs/DEBs can be found here: http://www.fifthplanet.net/cgi-bin/wiki.pl?Download I didn't build any of those other RPMs or DEBs so I can't comment on their reliability, etc. > Since I truly don't know what to do, could anyone offer a suggestion? To sidestep the issue of binary incompatibilities for this RPM or that RPM, I would just go straight to the source (literally). Download the latest source tarballs for fox-1.0, FXRuby-1.0 and FXScintilla-1.x. Start by getting a working FOX installation before moving on to FXScintilla (which would be step 2) or FXRuby (step 3). For most *recent* Linux distributions this usually just involves: tar xzf fox-1.0.29.tar.gz cd fox-1.0.29 ./configure --with-opengl=opengl make make install and then running some of the test programs (in the fox-1.0.29/tests subdirectory) to make sure things are working. Do not proceed past this step until you're satisfied that things are OK. Once that's working, move on to the FXScintilla build. Again, if you have a good FOX installation this should just involve the usual: tar xzf fxscintilla-1.49.tar.gz cd fxscintilla-1.49 ./configure make make install I am not the FXScintilla developer/maintainer, but I think Gilles still has a little test program somewhere in there that you can run to see if it's working. The last step is to build FXRuby. For most cases (under Linux) this should involve: tar xzf FXRuby-1.0.17.tar.gz cd FXRuby-1.0.17 ruby install.rb config -- \ --with-fxscintilla-include=/usr/local/include/fxscintilla \ --with-fxscintilla-lib=/usr/local/lib ruby install.rb setup ruby install.rb install If you leave out the '--with-fxscintilla-xxx' options it will *not* build FXScintilla support into FXRuby and as a result FreeRIDE will not work. I will probably change this for the next FXRuby release, so that it snoops around a little to try to automatically detect the presence of FXScintilla in a few likely places -- but for now you have to manually configure those directories as shown. Hope this helps, Lyle