From: Markus Kolb Date: 2006-04-02T19:28:44+09:00 Subject: Re: Compile requirements of Ruby and Extensions Timothy Goddard wrote: > Ruby seems to have very few dependencies. On my ruby 1.8.4 / linux > system it seems to require openssl for ruby itself and readline, zlib, > ncurses and gdbm for the standard libraries and other tools. Obviously > different platforms may have alternatives to these libraries instead. > But that is not the end. Tk needs libtk,libtcl... It tries to find and link with e.g. libtermcap and I don't know if it is bad or ok if this fails. Then I think there are replacements in Ruby script if some libs are missing. These script replacements are of course slower in execution as the binary code. Shouldn't the make test check if the compilation was successful? I've done a small C-file patch and lib/ruby/1.8/(arch)/socket.so got not build. The make all, make install and make test doesn't abort. So I don't know if everything is in place after make install. Or if it could happen that anytime in the future I use some feature and Ruby misses a file to do its work. Or if my build is fine or it could be done better. It would be a very simple work for developers during development to note the libs they try to link with. Then I am missing --enable/disable-features in configure.