From: Joshua Ballanco Date: 2009-10-19T16:37:52+09:00 Subject: Re: can't compile bdb 0.6.5 on Mac OS X Snow Leopard (10.6.1) On Oct 18, 2009, at 11:53 PM, Jason Fr wrote: > I can see a bdb.bundle file installed: > cto@bigmac-2 (722) $ ls -l > opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin10/bdb.bundle > -rwxr-xr-x 2 root admin 218168 Oct 18 22:08 > opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin10/bdb.bundle /opt/local/lib/ruby/* directories are not in Ruby's library path by default. You'll have to add those directories to your RUBYLIB environment variable. > Just for kicks, I tried to download the bdb source after installing > the > port, and running ruby extconf.rb. It errors with "extconf.rb:90: > libdb > not found (RuntimeError)" Then "make" gives me this: > > cto@bigmac-2 (727) (master) $ make > make[1]: *** No rule to make target `ruby.h', needed by `bdb.o'. > Stop. After upgrading to SnowLeopard you need to reinstall the Developer Tools to get ruby.h and friends. Cheers, Josh