[sf-perl] BerkeleyDB.pm on Mac OS X

Vicki Brown vlb at cfcl.com
Sat Dec 30 00:16:17 PST 2006


At 00:09 -0800 12/30/2006, Vicki Brown wrote:
> Are we doing something unbelievably stupid?

Well, yes and no. Is it unbelievably stupid to believe that the people who
write the installation code talk to each other  or test things?

Grumble.

Inside the db-4.5.20/perl/BerkeleyDB/config.in file are these  lines:

  # 1. Where is the file db.h?
  ...
  INCLUDE = /usr/local/BerkeleyDB/include
  ...
  # 2. Where is libdb?
  ...
  LIB     = /usr/local/BerkeleyDB/lib

They look pretty good... except for the fact that the BDB make installed
everything under
   /usr/local/BerkeleyDB.4.5
and no, it didn't bother with a symlink.

Once I'd made that link
     /usr/local/BerkeleyDB -> /usr/local/BerkeleyDB.4.5

the build ran very quickly and without errors.

Grumble. Swear. Curse. Groan.

Sigh.
-- 
- Vicki

     ZZZ 
  zzZ                   San Francisco Bay Area, CA
 z  |\     _,,,---,,_   Books, Cats, Tech  
zz /,`.-'`'    -.  ;-;;,_  http://cfcl.com/vlb
  |,4-  ) )-,_. ,\ ( `'-'  http://cfcl.com/vlb/weblog
 '---''(_/--'  `-'\_)      http://vlb.typepad.com/commentary/


More information about the SanFrancisco-pm mailing list