Set up gcc environment - 3.3 Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ldb Writing Makefile for BerkeleyDB::Locks cp Locks.pm blib/lib/BerkeleyDB/Locks.pm /export/home/cpanrun/build/5.10.0/bin/perl /export/home/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /export/home/cpanrun/build/5.10.0/lib/ExtUtils/typemap Locks.xs > Locks.xsc && mv Locks.xsc Locks.c Please specify prototyping behavior for Locks.xs (see perlxs manual) gcc -c -I/root/src/db-4.1.24.NC -I/root/src/db-4.1.24.NC/dist -I/root/src/db-4.1.24.NC/include -I/root/src/db-4.1.24.NC/include_auto -D_REENTRANT -DPRIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -O -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/export/home/cpanrun/build/5.10.0/lib/CORE" Locks.c Locks.xs:5:23: db_config.h: No such file or directory Locks.xs:24:25: dist/db_int.h: No such file or directory Locks.xs:25:27: dbinc/db_page.h: No such file or directory Locks.xs:26:28: dbinc/db_shash.h: No such file or directory Locks.xs:27:24: dbinc/lock.h: No such file or directory Locks.xs:28:22: dbinc/mp.h: No such file or directory Locks.xs:29:33: dbinc_auto/clib_ext.h: No such file or directory Locks.xs:37: error: parse error before "DB_ENV" Locks.xs:37: warning: no semicolon at end of struct or union Locks.xs:42: error: parse error before '}' token Locks.xs:42: warning: data definition has no type or storage class Locks.xs:44: error: parse error before '*' token Locks.xs:44: warning: data definition has no type or storage class Locks.xs:61: error: parse error before '*' token Locks.xs: In function `db_lock': Locks.xs:63: error: `DB_LOCKTAB' undeclared (first use in this function) Locks.xs:63: error: (Each undeclared identifier is reported only once Locks.xs:63: error: for each function it appears in.) Locks.xs:63: error: parse error before ')' token Locks.xs:64: error: `lockoffset' undeclared (first use in this function) Locks.xs: At top level: Locks.xs:68: error: parse error before '*' token Locks.xs:68: error: parse error before '*' token Locks.xs: In function `db_lock_u': Locks.xs:69: error: `u_int32_t' undeclared (first use in this function) Locks.xs:69: error: parse error before "ndx" Locks.xs:71: error: `DB_LOCKTAB' undeclared (first use in this function) Locks.xs:71: error: `lt' undeclared (first use in this function) Locks.xs:72: error: `DB_LOCKREGION' undeclared (first use in this function) Locks.xs:72: error: `lrp' undeclared (first use in this function) Locks.xs:73: error: `DB_LOCKOBJ' undeclared (first use in this function) Locks.xs:73: error: `lobj' undeclared (first use in this function) Locks.xs:73: error: `op' undeclared (first use in this function) Locks.xs:77: error: `dbenv' undeclared (first use in this function) Locks.xs:78: error: `lockoffset' undeclared (first use in this function) Locks.xs:80: error: `u_int8_t' undeclared (first use in this function) Locks.xs:80: error: parse error before ')' token Locks.xs:80: error: parse error before ')' token Locks.xs:80: error: dereferencing pointer to incomplete type Locks.xs:80: error: parse error before ')' token Locks.xs:85: error: `ndx' undeclared (first use in this function) Locks.xs:86: error: parse error before ')' token Locks.xs:88: error: parse error before ')' token Locks.xs:90: error: `lock' undeclared (first use in this function) Locks.xs:91: error: dereferencing pointer to incomplete type Locks.xs:92: error: dereferencing pointer to incomplete type Locks.xs:88: error: label `op' used but not defined Locks.xs:94: error: break statement not within loop or switch Locks.xs: At top level: Locks.xs:97: warning: parameter names (without types) in function declaration Locks.xs:97: warning: data definition has no type or storage class Locks.xs:99: error: parse error before "if" Locks.xs: In function `XS_BerkeleyDB__Locks__waiters': Locks.xs:110: error: `u_int32_t' undeclared (first use in this function) Locks.xs:110: error: parse error before "i" Locks.xs:114: error: `DB_LOCKTAB' undeclared (first use in this function) Locks.xs:114: error: `lt' undeclared (first use in this function) Locks.xs:115: error: `DB_LOCKREGION' undeclared (first use in this function) Locks.xs:115: error: `lrp' undeclared (first use in this function) Locks.xs:116: error: `DB_LOCKER' undeclared (first use in this function) Locks.xs:116: error: `lip' undeclared (first use in this function) Locks.xs:118: error: `DB_LOCKOBJ' undeclared (first use in this function) Locks.xs:118: error: `lobj' undeclared (first use in this function) Locks.xs:128: error: `dbenv' undeclared (first use in this function) Locks.xs:128: error: called object is not a function Locks.xs:146: error: `i' undeclared (first use in this function) Locks.xs:147: error: `__db_locker' undeclared (first use in this function) Locks.xs:150: error: `__db_lock' undeclared (first use in this function) Locks.xs:150: warning: assignment makes pointer from integer without a cast Locks.xs:153: error: `locker_links' undeclared (first use in this function) Locks.xs:153: warning: assignment makes pointer from integer without a cast Locks.xs:155: error: dereferencing pointer to incomplete type Locks.xs:155: error: `DB_LSTAT_HELD' undeclared (first use in this function) Locks.xs:159: error: `u_int8_t' undeclared (first use in this function) Locks.xs:159: error: parse error before ')' token Locks.xs:160: error: parse error before ')' token Locks.xs:160: error: dereferencing pointer to incomplete type Locks.xs:161: error: parse error before ')' token Locks.xs:164: warning: assignment makes pointer from integer without a cast Locks.xs:167: error: `links' undeclared (first use in this function) Locks.xs:168: warning: assignment makes pointer from integer without a cast Locks.xs:177: error: dereferencing pointer to incomplete type Locks.xs:183: error: dereferencing pointer to incomplete type Locks.xs: In function `XS_BerkeleyDB__Locks__properties': Locks.xs:202: error: parse error before "dbenv" Locks.xs:203: error: `DB_LOCK' undeclared (first use in this function) Locks.xs:209: error: `dbenv' undeclared (first use in this function) Locks.xs:209: error: called object is not a function Locks.xs:216: error: `lock' undeclared (first use in this function) Locks.xs:219: error: dereferencing pointer to incomplete type Locks.xs:221: error: dereferencing pointer to incomplete type Locks.xs:223: error: dereferencing pointer to incomplete type Locks.xs:227: error: dereferencing pointer to incomplete type Locks.xs: In function `XS_BerkeleyDB__Locks__release': Locks.xs:238: error: parse error before "dbenv" Locks.xs:239: error: `DB_LOCK' undeclared (first use in this function) Locks.xs:243: error: `dbenv' undeclared (first use in this function) Locks.xs:243: error: called object is not a function Locks.xs:250: error: `lock' undeclared (first use in this function) make: *** [Locks.o] Error 1