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) |