dbTalk Databases Forums  

DB-4.4.20.NC - Missing Header File ["exception.h"]

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss DB-4.4.20.NC - Missing Header File ["exception.h"] in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DiskMan
 
Posts: n/a

Default DB-4.4.20.NC - Missing Header File ["exception.h"] - 03-19-2006 , 01:05 AM






AlphaPC 164SX
Kernel-2.6.13.4
Compaq C 6.5.9
Binutils-2.16.0.9
Make-3.80

db-4.4.20.NC:
cxx: Error: ./db_cxx.h, line 61: could not open source file "exception.h"
#include <exception.h>
----------------------^
cxx: Error: ./db_cxx.h, line 1031: not a class or struct name
class _exported DbException : public __DB_STD(exception)
-------------------------------------^

Does anyone have any idea how to fix this problem? If so, feel free to let
me in on it... Will L G



Reply With Quote
  #2  
Old   
agorrod@gmail.com
 
Posts: n/a

Default Re: DB-4.4.20.NC - Missing Header File ["exception.h"] - 03-27-2006 , 05:46 PM






This is generally a result of HAVE_CXX_STDHEADERS not being set
correctly.

The problem can generally be remedied by adding -DHAVE_CXX_STDHEADERS
to the CPPFLAGS environment variable.

Use a command like:
% CPPFLAGS=-DHAVE_CXX_STDHEADERS ../dist/configure --enable-cxx [other
options]

I hope this helps,
Alex


Reply With Quote
  #3  
Old   
DiskMan
 
Posts: n/a

Default Re: DB-4.4.20.NC - Missing Header File ["exception.h"] - 03-27-2006 , 08:42 PM



I'll give that a shot and see what happens...Keep you posted, Will L G

<agorrod (AT) gmail (DOT) com> wrote

Quote:
This is generally a result of HAVE_CXX_STDHEADERS not being set
correctly.

The problem can generally be remedied by adding -DHAVE_CXX_STDHEADERS
to the CPPFLAGS environment variable.

Use a command like:
% CPPFLAGS=-DHAVE_CXX_STDHEADERS ../dist/configure --enable-cxx [other
options]

I hope this helps,
Alex




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.