[reSIProcate] DB4.2 location

Daniel Pocock daniel at readytechnology.co.uk
Thu Jun 22 10:24:54 CDT 2006


I've downloaded resip from SVN onto a freshly installed Debian system 
last week, and tried to compile.

The compile breaks at repro/BerkeleyDb.cxx as db4/db_cxx.h is not found.

I checked on my system and (after installing libdb4.2++-dev) found that 
db_cxx.h is in /usr/include

I have previously been able to compile an older version of resip without 
any issues on another Debian system with the same file locations.

Manually changing the include statement fixes the compile.  Is this 
something for the configure script to detect/fix?

main/repro/BerkeleyDb.hxx:

#if !defined(RESIP_BERKELEYDB_HXX)
#define RESIP_BERKELEYDB_HXX

#ifdef WIN32
#include <db_cxx.h>
#elif HAVE_CONFIG_H
#include "config.hxx"
#include DB_HEADER
//#elif defined(__APPLE__)
//#include <db42/db_cxx.h>
#else
#include<db4/db_cxx.h>
#endif




More information about the resiprocate-devel mailing list