Отправляет email-рассылки с помощью сервиса Sendsay

perl + BerkeleyDB

Не могу поставить BerkeleyDB

Что делаю:

make clean
perl Makefile.PL
make

При мэйкинге вылетает такая бурда:

BerkeleyDB.xs:2798: structure has no member named `stat'
BerkeleyDB.xs:2803: request for member `qs_magic' in something not a
structure or union
BerkeleyDB.xs:2804: request for member `qs_version' in something not a
structure or union
BerkeleyDB.xs:2809: request for member `qs_nrecs' in something not a
structure or union
BerkeleyDB.xs:2811: request for member `qs_pages' in something not a
structure or union
BerkeleyDB.xs:2812: request for member `qs_pagesize' in something not a
structure or union
BerkeleyDB.xs:2813: request for member `qs_pgfree' in something not a
structure or union
BerkeleyDB.xs:2814: request for member `qs_re_len' in something not a
structure or union
BerkeleyDB.xs:2815: request for member `qs_re_pad' in something not a
structure or union
BerkeleyDB.xs:2818: request for member `qs_start' in something not a
structure or union
BerkeleyDB.xs:2820: request for member `qs_first_recno' in something not a
structure or union
BerkeleyDB.xs:2821: request for member `qs_cur_recno' in something not a
structure or union
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_db_close':
BerkeleyDB.xs:2846: structure has no member named `txn'
BerkeleyDB.xs:2852: too many arguments to function
BerkeleyDB.c:3704: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common__db_cursor':
BerkeleyDB.xs:2886: `DBC' undeclared (first use in this function)
BerkeleyDB.xs:2886: `cursor' undeclared (first use in this function)
BerkeleyDB.xs:2892: `DB_RMW' undeclared (first use in this function)
BerkeleyDB.xs:2895: structure has no member named `cursor'
BerkeleyDB.xs:2895: structure has no member named `txn'
BerkeleyDB.xs:2899: structure has no member named `cursor'
BerkeleyDB.xs:2901: structure has no member named `txn'
BerkeleyDB.xs:2901: structure has no member named `txn'
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common__db_join':
BerkeleyDB.xs:2948: `DBC' undeclared (first use in this function)
BerkeleyDB.xs:2948: `join_cursor' undeclared (first use in this function)
BerkeleyDB.xs:2949: `cursor_list' undeclared (first use in this function)
BerkeleyDB.xs:2950: syntax error before `count'
BerkeleyDB.xs:2953: `count' undeclared (first use in this function)
BerkeleyDB.xs:2955: syntax error before `)'
BerkeleyDB.xs:2956: `i' undeclared (first use in this function)
BerkeleyDB.xs:2962: structure has no member named `cursor'
BerkeleyDB.xs:2968: structure has no member named `join'
BerkeleyDB.xs:2973: structure has no member named `cursor'
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_byteswapped':
BerkeleyDB.xs:3060: structure has no member named `get_byteswapped'
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_status':
BerkeleyDB.c:4088: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_partial_set':
BerkeleyDB.xs:3138: `DB_DBT_PARTIAL' undeclared (first use in this
function)
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_partial_clear':
BerkeleyDB.xs:3154: `DB_DBT_PARTIAL' undeclared (first use in this
function)
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_del':
BerkeleyDB.c:4329: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:4342: structure has no member named `txn'
BerkeleyDB.c:4342: warning: passing arg 3 of pointer to function makes
integer from pointer without a cast
BerkeleyDB.c:4342: too many arguments to function
BerkeleyDB.c:4344: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_get':
BerkeleyDB.c:4395: `DB_OPFLAGS_MASK' undeclared (first use in this
function)
BerkeleyDB.c:4395: `DB_SET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:4398: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:4407: `DB_GET_BOTH' undeclared (first use in this function)
BerkeleyDB.c:4413: structure has no member named `flags'
BerkeleyDB.c:4414: structure has no member named `dlen'
BerkeleyDB.c:4415: structure has no member named `doff'
BerkeleyDB.xs:3196: structure has no member named `flags'
BerkeleyDB.xs:3196: structure has no member named `dlen'
BerkeleyDB.xs:3196: structure has no member named `doff'
BerkeleyDB.xs:3198: structure has no member named `txn'
BerkeleyDB.xs:3198: warning: passing arg 4 of pointer to function makes
integer from pointer without a cast
BerkeleyDB.xs:3198: too many arguments to function
BerkeleyDB.c:4430: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_pget':
BerkeleyDB.c:4473: `DB_OPFLAGS_MASK' undeclared (first use in this
function)
BerkeleyDB.c:4473: `DB_SET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:4476: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:4485: `DB_GET_BOTH' undeclared (first use in this function)
BerkeleyDB.c:4491: structure has no member named `flags'
BerkeleyDB.c:4492: structure has no member named `dlen'
BerkeleyDB.c:4493: structure has no member named `doff'
BerkeleyDB.c:4510: `DB_GET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:4515: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_put':
BerkeleyDB.c:4559: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:4574: structure has no member named `flags'
BerkeleyDB.c:4575: structure has no member named `dlen'
BerkeleyDB.c:4576: structure has no member named `doff'
BerkeleyDB.xs:3245: structure has no member named `txn'
BerkeleyDB.xs:3245: warning: passing arg 4 of pointer to function makes
integer from pointer without a cast
BerkeleyDB.xs:3245: too many arguments to function
BerkeleyDB.c:4586: `DB_OPFLAGS_MASK' undeclared (first use in this
function)
BerkeleyDB.c:4586: `DB_APPEND' undeclared (first use in this function)
BerkeleyDB.c:4589: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_key_range':
BerkeleyDB.c:4633: `DB_OPFLAGS_MASK' undeclared (first use in this
function)
BerkeleyDB.c:4633: `DB_SET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:4636: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:4668: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_db_fd':
BerkeleyDB.xs:3293: too many arguments to function
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_sync':
BerkeleyDB.c:4739: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Common__Txn':
BerkeleyDB.xs:3317: structure has no member named `txn'
BerkeleyDB.xs:3317: structure has no member named `txn'
BerkeleyDB.xs:3321: structure has no member named `txn'
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_truncate':
BerkeleyDB.c:4837: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Common_associate':
BerkeleyDB.c:4902: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Cursor__c_close':
BerkeleyDB.xs:3440: structure has no member named `cursor'
BerkeleyDB.xs:3440: structure has no member named `cursor'
BerkeleyDB.c:5018: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Cursor__DESTROY':
BerkeleyDB.xs:3455: structure has no member named `cursor'
BerkeleyDB.xs:3455: structure has no member named `cursor'
BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_status':
BerkeleyDB.c:5079: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_c_del':
BerkeleyDB.c:5116: structure has no member named `cursor'
BerkeleyDB.c:5116: structure has no member named `cursor'
BerkeleyDB.c:5118: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_c_get':
BerkeleyDB.c:5159: `DB_OPFLAGS_MASK' undeclared (first use in this
function)
BerkeleyDB.c:5159: `DB_SET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:5162: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:5171: `DB_GET_BOTH' undeclared (first use in this function)
BerkeleyDB.c:5177: structure has no member named `flags'
BerkeleyDB.c:5178: structure has no member named `dlen'
BerkeleyDB.c:5179: structure has no member named `doff'
BerkeleyDB.xs:3496: structure has no member named `flags'
BerkeleyDB.xs:3496: structure has no member named `dlen'
BerkeleyDB.xs:3496: structure has no member named `doff'
BerkeleyDB.c:5191: structure has no member named `cursor'
BerkeleyDB.c:5191: structure has no member named `cursor'
BerkeleyDB.c:5192: `DB_GET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:5194: `DB_JOIN_ITEM' undeclared (first use in this function)
BerkeleyDB.c:5197: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_c_pget':
BerkeleyDB.c:5239: `DB_OPFLAGS_MASK' undeclared (first use in this
function)
BerkeleyDB.c:5239: `DB_SET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:5242: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:5251: `DB_GET_BOTH' undeclared (first use in this function)
BerkeleyDB.c:5257: structure has no member named `flags'
BerkeleyDB.c:5258: structure has no member named `dlen'
BerkeleyDB.c:5259: structure has no member named `doff'
BerkeleyDB.c:5274: `DB_GET_RECNO' undeclared (first use in this function)
BerkeleyDB.c:5282: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_c_put':
BerkeleyDB.c:5325: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.c:5340: structure has no member named `flags'
BerkeleyDB.c:5341: structure has no member named `dlen'
BerkeleyDB.c:5342: structure has no member named `doff'
BerkeleyDB.c:5350: structure has no member named `cursor'
BerkeleyDB.c:5350: structure has no member named `cursor'
BerkeleyDB.c:5352: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_c_count':
BerkeleyDB.c:5400: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__TxnMgr__txn_begin':
BerkeleyDB.xs:3574: `txn' undeclared (first use in this function)
BerkeleyDB.xs:3575: `p_id' undeclared (first use in this function)
BerkeleyDB.xs:3581: structure has no member named `txn'
BerkeleyDB.xs:3589: structure has no member named `Env'
BerkeleyDB.xs:3594: structure has no member named `txn'
BerkeleyDB.c: In function `XS_BerkeleyDB__TxnMgr_status':
BerkeleyDB.c:5504: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__TxnMgr_txn_checkpoint':
BerkeleyDB.c:5591: structure has no member named `Env'
BerkeleyDB.c:5593: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__TxnMgr_txn_stat':
BerkeleyDB.xs:3655: `DB_TXN_STAT' undeclared (first use in this function)
BerkeleyDB.xs:3665: structure has no member named `Env'
BerkeleyDB.xs:3670: request for member `st_time_ckp' in something not a
structure or union
BerkeleyDB.xs:3671: request for member `st_last_txnid' in something not a
structure or union
BerkeleyDB.xs:3672: request for member `st_maxtxns' in something not a
structure or union
BerkeleyDB.xs:3673: request for member `st_naborts' in something not a
structure or union
BerkeleyDB.xs:3674: request for member `st_nbegins' in something not a
structure or union
BerkeleyDB.xs:3675: request for member `st_ncommits' in something not a
structure or union
BerkeleyDB.xs:3676: request for member `st_nactive' in something not a
structure or union
BerkeleyDB.c: In function `XS_BerkeleyDB__Txn_status':
BerkeleyDB.c:5696: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.xs: In function `XS_BerkeleyDB__Txn__DESTROY':
BerkeleyDB.xs:3718: structure has no member named `txn'
BerkeleyDB.c: In function `XS_BerkeleyDB__Txn_txn_prepare':
BerkeleyDB.c:5787: structure has no member named `txn'
BerkeleyDB.c:5789: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Txn__txn_commit':
BerkeleyDB.c:5835: structure has no member named `txn'
BerkeleyDB.c:5837: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Txn__txn_abort':
BerkeleyDB.c:5872: structure has no member named `txn'
BerkeleyDB.c:5874: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Txn__txn_discard':
BerkeleyDB.c:5922: warning: pointer/integer type mismatch in conditional
expression
BerkeleyDB.c: In function `XS_BerkeleyDB__Txn_txn_id':
BerkeleyDB.c:5953: structure has no member named `txn'
BerkeleyDB.xs: In function `XS_BerkeleyDB___tiedHash_FIRSTKEY':
BerkeleyDB.xs:3817: `DBC' undeclared (first use in this function)
BerkeleyDB.xs:3817: `cursor' undeclared (first use in this function)
BerkeleyDB.xs:3830: structure has no member named `cursor'
BerkeleyDB.xs:3831: structure has no member named `cursor'
BerkeleyDB.xs:3831: structure has no member named `txn'
BerkeleyDB.xs:3832: structure has no member named `cursor'
BerkeleyDB.xs:3834: structure has no member named `cursor'
BerkeleyDB.xs:3836: structure has no member named `cursor'
BerkeleyDB.xs:3836: structure has no member named `cursor'
BerkeleyDB.xs:3836: `DB_FIRST' undeclared (first use in this function)
BerkeleyDB.xs:3840: `DB_NOTFOUND' undeclared (first use in this function)
BerkeleyDB.xs:3841: structure has no member named `cursor'
BerkeleyDB.xs:3841: structure has no member named `cursor'
BerkeleyDB.xs:3842: structure has no member named `cursor'
BerkeleyDB.xs: In function `XS_BerkeleyDB___tiedHash_NEXTKEY':
BerkeleyDB.xs:3861: structure has no member named `flags'
BerkeleyDB.xs:3863: structure has no member named `cursor'
BerkeleyDB.xs:3863: structure has no member named `cursor'
BerkeleyDB.xs:3863: `DB_NEXT' undeclared (first use in this function)
BerkeleyDB.xs:3866: `DB_NOTFOUND' undeclared (first use in this function)
BerkeleyDB.xs:3867: structure has no member named `cursor'
BerkeleyDB.xs:3867: structure has no member named `cursor'
BerkeleyDB.xs:3868: structure has no member named `cursor'
BerkeleyDB.xs: In function `boot_BerkeleyDB':
BerkeleyDB.xs:3896: `DB_VERSION_MAJOR' undeclared (first use in this
function)
BerkeleyDB.xs:3897: `DB_VERSION_MINOR' undeclared (first use in this
function)
BerkeleyDB.xs:3897: `DB_VERSION_PATCH' undeclared (first use in this
function)
BerkeleyDB.xs:3913: `db_recno_t' undeclared (first use in this function)
BerkeleyDB.xs:3914: structure has no member named `flags'
*** Error code 1

Я подозреваю, что у меня стоит криво perl.
Потому как я его несколько раз переставлял, в конце концов нашел свою
ошибку в процессе установки.
Все вродеб стало хорошо, но при установке SpamAssassin перл ругался на
отсутствие файлов.
Я нашел, где они лежали ( /usr/libdata/perl/5.005003 ) и оттуда их
скопировал в папку, где собсно perl искал эти файлы.
SpamAssassin поставился.

Подскажите, как поправить то, что я наворотил плз.

FreeBSD 4.10
perl 5.8.5 (хотелось бы так думать)
BerkeleyDB 0.26


С уважением,
Антонов Александр

Ответить   aanton***@w*****.ru Fri, 28 Jan 2005 21:01:35 +0300 (#307034)