* using log directory 'd:/Rcompile/CRANpkg/local/2.9/RBerkeley.Rcheck' * using R version 2.9.1 (2009-06-26) * using session charset: ISO8859-1 * checking for file 'RBerkeley/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RBerkeley' version '0.7-0' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'RBerkeley' can be installed ... ERROR Installation failed. The installation logfile: * Installing *source* package 'RBerkeley' ... Using auto-selected zip options '' ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs making DLL ... make[1]: Entering directory `/cygdrive/d/Rcompile/CRANpkg/local/2.9/RBerkeley/src' gcc -I"d:/Rcompile/recent/R-29~1.1/include" -W -I/usr/local/BerkeleyDB.4.7/include -O3 -Wall -std=gnu99 -c cursor.c -o cursor.o cursor.c:6:16: error: db.h: No such file or directory cursor.c: In function 'rberkeley_db_cursor': cursor.c:16: error: 'DB' undeclared (first use in this function) cursor.c:16: error: (Each undeclared identifier is reported only once cursor.c:16: error: for each function it appears in.) cursor.c:16: error: 'dbp' undeclared (first use in this function) cursor.c:17: error: 'DBC' undeclared (first use in this function) cursor.c:17: error: 'dbc' undeclared (first use in this function) cursor.c:18: error: 'DB_TXN' undeclared (first use in this function) cursor.c:18: error: 'txnid' undeclared (first use in this function) cursor.c:20: error: 'u_int32_t' undeclared (first use in this function) cursor.c:20: error: expected ';' before 'flags' cursor.c:30: error: 'flags' undeclared (first use in this function) cursor.c:14: warning: unused parameter '_flags' cursor.c: In function 'rberkeley_dbcursor_close': cursor.c:41: error: 'DBC' undeclared (first use in this function) cursor.c:41: error: 'dbc' undeclared (first use in this function) cursor.c: In function 'rberkeley_dbcursor_count': cursor.c:59: error: 'DBC' undeclared (first use in this function) cursor.c:59: error: 'dbc' undeclared (first use in this function) cursor.c:60: error: 'db_recno_t' undeclared (first use in this function) cursor.c:60: error: expected ';' before 'countp' cursor.c:61: error: 'u_int32_t' undeclared (first use in this function) cursor.c:61: error: expected ';' before 'flags' cursor.c:64: error: 'flags' undeclared (first use in this function) cursor.c:64: error: expected ';' before 'INTEGER' cursor.c:70: error: 'countp' undeclared (first use in this function) cursor.c:75: error: expected ')' before 'countp' cursor.c:57: warning: unused parameter '_flags' cursor.c: In function 'rberkeley_dbcursor_del': cursor.c:81: error: 'DBC' undeclared (first use in this function) cursor.c:81: error: 'dbc' undeclared (first use in this function) cursor.c:82: error: 'u_int32_t' undeclared (first use in this function) cursor.c:82: error: expected ';' before 'flags' cursor.c:88: error: 'flags' undeclared (first use in this function) cursor.c:88: error: expected ';' before 'INTEGER' cursor.c:79: warning: unused parameter '_flags' cursor.c: In function 'rberkeley_dbcursor_dup': cursor.c:98: error: 'DBC' undeclared (first use in this function) cursor.c:98: error: 'dbc' undeclared (first use in this function) cursor.c:98: error: 'dbc2' undeclared (first use in this function) cursor.c:98: warning: left-hand operand of comma expression has no effect cursor.c:99: error: 'u_int32_t' undeclared (first use in this function) cursor.c:99: error: expected ';' before 'flags' cursor.c:105: error: 'flags' undeclared (first use in this function) cursor.c:105: error: expected ';' before 'INTEGER' cursor.c:96: warning: unused parameter '_flags' cursor.c: In function 'rberkeley_dbcursor_get': cursor.c:122: error: 'DBC' undeclared (first use in this function) cursor.c:122: error: 'dbc' undeclared (first use in this function) cursor.c:123: error: 'DBT' undeclared (first use in this function) cursor.c:123: error: expected ';' before 'key' cursor.c:124: error: 'u_int32_t' undeclared (first use in this function) cursor.c:124: error: expected ';' before 'flags' cursor.c:127: error: 'flags' undeclared (first use in this function) cursor.c:127: error: expected ';' before 'INTEGER' cursor.c:134: error: 'key' undeclared (first use in this function) cursor.c:135: error: 'data' undeclared (first use in this function) cursor.c:119: warning: unused parameter '_flags' cursor.c: In function 'rberkeley_dbcursor_put': cursor.c:231: error: 'DBC' undeclared (first use in this function) cursor.c:231: error: 'dbc' undeclared (first use in this function) cursor.c:232: error: 'DBT' undeclared (first use in this function) cursor.c:232: error: expected ';' before 'key' cursor.c:233: error: 'u_int32_t' undeclared (first use in this function) cursor.c:233: error: expected ';' before 'flags' cursor.c:236: error: 'flags' undeclared (first use in this function) cursor.c:236: error: expected ';' before 'INTEGER' cursor.c:237: error: 'DB_AFTER' undeclared (first use in this function) cursor.c:238: error: 'DB_BEFORE' undeclared (first use in this function) cursor.c:239: error: 'DB_CURRENT' undeclared (first use in this function) cursor.c:240: error: 'DB_KEYFIRST' undeclared (first use in this function) cursor.c:241: error: 'DB_KEYLAST' undeclared (first use in this function) cursor.c:242: error: 'DB_NODUPDATA' undeclared (first use in this function) cursor.c:249: error: 'key' undeclared (first use in this function) cursor.c:250: error: 'data' undeclared (first use in this function) cursor.c:229: warning: unused parameter '_flags' cursor.c: In function 'rberkeley_dbcursor_set_priority': cursor.c:266: error: 'DBC' undeclared (first use in this function) cursor.c:266: error: 'dbc' undeclared (first use in this function) cursor.c:267: error: 'DB_CACHE_PRIORITY' undeclared (first use in this function) cursor.c:267: error: expected ';' before 'priority' cursor.c:273: error: 'priority' undeclared (first use in this function) cursor.c:273: error: expected ';' before 'INTEGER' cursor.c:264: warning: unused parameter '_priority' cursor.c: In function 'rberkeley_dbcursor_get_priority': cursor.c:283: error: 'DBC' undeclared (first use in this function) cursor.c:283: error: 'dbc' undeclared (first use in this function) cursor.c:284: error: 'DB_CACHE_PRIORITY' undeclared (first use in this function) cursor.c:284: error: expected ';' before 'priority' cursor.c:291: error: 'priority' undeclared (first use in this function) cursor.c:297: error: 'DB_PRIORITY_VERY_LOW' undeclared (first use in this function) cursor.c:300: error: 'DB_PRIORITY_LOW' undeclared (first use in this function) cursor.c:303: error: 'DB_PRIORITY_DEFAULT' undeclared (first use in this function) cursor.c:306: error: 'DB_PRIORITY_HIGH' undeclared (first use in this function) cursor.c:309: error: 'DB_PRIORITY_VERY_HIGH' undeclared (first use in this function) make[1]: *** [cursor.o] Error 1 make[1]: Leaving directory `/cygdrive/d/Rcompile/CRANpkg/local/2.9/RBerkeley/src' ... done ERROR: compilation failed for package 'RBerkeley' * Removing 'd:/Rcompile/CRANpkg/lib/2.9/RBerkeley'