Fails to compile (FreeBSD-9.3-RELEASE):
--> You have to install development tools first. Which development tools? Or is it a bug?
Code:
extconf.rb: Entering directory `src'
extconf.rb:48: Use RbConfig instead of obsolete and deprecated Config.
checking for db_version() in -ldb-4.8... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
.....
/usr/local/lib/ruby/1.9/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/local/lib/ruby/1.9/mkmf.rb:461:in `try_link0'
from /usr/local/lib/ruby/1.9/mkmf.rb:476:in `try_link'
from /usr/local/lib/ruby/1.9/mkmf.rb:619:in `try_func'
from /usr/local/lib/ruby/1.9/mkmf.rb:845:in `block in have_library'
from /usr/local/lib/ruby/1.9/mkmf.rb:790:in `block in checking_for'
from /usr/local/lib/ruby/1.9/mkmf.rb:284:in `block (2 levels) in postpone'
from /usr/local/lib/ruby/1.9/mkmf.rb:254:in `open'
from /usr/local/lib/ruby/1.9/mkmf.rb:284:in `block in postpone'
from /usr/local/lib/ruby/1.9/mkmf.rb:254:in `open'
from /usr/local/lib/ruby/1.9/mkmf.rb:280:in `postpone'
from /usr/local/lib/ruby/1.9/mkmf.rb:789:in `checking_for'
from /usr/local/lib/ruby/1.9/mkmf.rb:840:in `have_library'
from extconf.rb:93:in `block (3 levels) in <main>'
from extconf.rb:90:in `each'
from extconf.rb:90:in `block (2 levels) in <main>'
from extconf.rb:89:in `loop'
from extconf.rb:89:in `block in <main>'
from extconf.rb:87:in `catch'
from extconf.rb:87:in `<main>'
extconf.rb: Leaving directory `src'
--> You have to install development tools first. Which development tools? Or is it a bug?