[reSIProcate] db_cxx.h location on Debian

Daniel Pocock daniel at readytechnology.co.uk
Fri Aug 4 11:01:30 CDT 2006



I've noticed on Debian that db_cxx.h is in /usr/include rather than 
/usr/include/db4

This causes the compile to break in repro/BerkeleyDb.cxx

Below is the code for including db_cxx.h

Should the configure script be used to detect this path correctly?

#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