View Single Post
  #8 (permalink)  
Old 11-21-2005, 11:37 AM
marcmac marcmac is offline
Zimbra Employee
 
Posts: 2,103
Default bdb

gcc -c -I/usr/local/BerkeleyDB/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_O$BerkeleyDB.xs:68:16: error: db.h: No such file or directory


Looks like it can't find db.h - should be in /opt/zimbra/sleepycat/include.

Try this:

BERKELEYDB_INCLUDE=/opt/zimbra/sleepycat/include BERKELEYDB_LIB=/opt/zimbra/sleepycat/lib perl -MCPAN -e 'install "BerkeleyDB"'

(That's all one line, in the bash shell, as root)
Reply With Quote