here's the output ... I recon it's probably gcc3.1 that won't compile openoffice at all... cc1plus: warning: changing search order for system directory "/usr/lib/gcc-lib/athlon-pc-linux-gnu/3.1/include" cc1plus: warning: as it has already been specified as a non-system directory cc1plus: warning: changing search order for system directory "/usr/include" cc1plus: warning: as it has already been specified as a non-system directory In file included from ../cxx/cxx_app.cpp:20: /usr/include/db_cxx.h:254: `db_timeout_t' was not declared in this scope /usr/include/db_cxx.h:254: parse error before `,' token /usr/include/db_cxx.h:334: `db_timeout_t' was not declared in this scope /usr/include/db_cxx.h:334: parse error before `,' token /usr/include/db_cxx.h:405: `DB_PREPLIST' was not declared in this scope /usr/include/db_cxx.h:405: `preplist' was not declared in this scope /usr/include/db_cxx.h:405: parse error before `,' token /usr/include/db_cxx.h:706: parse error before `{' token /usr/include/db_cxx.h:713: parse error before `private' /usr/include/db_cxx.h:720: destructors must be member functions /usr/include/db_cxx.h:723: ISO C++ forbids declaration of `DbLogc' with no type /usr/include/db_cxx.h:724: syntax error before `&' token ../cxx/cxx_app.cpp: In member function `int DbEnv::set_lk_max_lockers(unsigned int)': ../cxx/cxx_app.cpp:358: `struct __db_env' has no member named `set_lk_max_lockers' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_lk_max_locks(unsigned int)': ../cxx/cxx_app.cpp:359: `struct __db_env' has no member named `set_lk_max_locks' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_lk_max_objects(unsigned int)': ../cxx/cxx_app.cpp:360: `struct __db_env' has no member named `set_lk_max_objects' ../cxx/cxx_app.cpp: At global scope: ../cxx/cxx_app.cpp:362: no `int DbEnv::set_mutexlocks(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_mutexlocks(int)': ../cxx/cxx_app.cpp:362: `struct __db_env' has no member named `set_mutexlocks' ../cxx/cxx_app.cpp: At global scope: ../cxx/cxx_app.cpp:430: no `int DbEnv::set_pageyield(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp:441: no `int DbEnv::set_panicstate(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp:452: no `int DbEnv::set_region_init(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp:462: no `int DbEnv::set_server(char*, long int, long int, unsigned int)' member function declared in class `DbEnv' make: *** [cxx_app.lo] Error 1 dmake: Error code 2, while making './unxlngi4.pro/misc/build/so_built' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/berkeleydb dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 58, Exitcode 255 !!! Build failed! !!! emerge aborting on /usr/portage/app-office/openoffice/openoffice-1.0.0-r1.ebuild .
*** Bug 4362 has been marked as a duplicate of this bug. ***
After moving the db_cxx.h header file out of /usr/include, I was able to successfully build OpenOffice r1. Everything looks great. If someone experiences berkleydb errors, I would recommend this as a first attempt at resolution.
fixed in 1.0.1