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

За 2005-01-29

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 2005-01-29 19:23:34 (#307034)

Re: Интерфейс 2

Вкомпилен-ли он у тебя в ядро?
а так-же man slattach

PodolyakaVitaly wrote:

>Здравствуйте.
>
>Не совсем корректно задал вопрос в первый раз.
>Операционка FreeBSD 5.3
>Возникла проблема. Не могу назначить адрес на интерфейс
> sl0.Выдаёт ошибку , что интерфейс не существует. Не подскажете как
> победить эту проблему.
> Дело в том, что когда я даю команду ifconfig , например в 4.10 или
> 4.11 , товыдаётся список доступных сетевых интерфейсов куда входит и sl0 ,
>ppp0. Такого не наблюдается в версии 5.3 .Вот собственно почему и
>возник такой вопрос. Вероятно могут существовать множество ключей в
>ifconfig спомощью которых можно создать интерфейс, но я их ненашёл.
>Если вы знаете то подскажите пожалуйста.
>Заранее благодарен
>
>

   2005-01-29 17:16:11 (#306979)

Re: Интерфейс 2

Здравствуйте, PodolyakaVitaly.

Вы писали 29 января 2005 г., 13:34:07:

P> Здравствуйте.

P> Не совсем корректно задал вопрос в первый раз.
P> Операционка FreeBSD 5.3
P> Возникла проблема. Не могу назначить адрес на интерфейс
P> sl0.Выдаёт ошибку , что интерфейс не существует. Не подскажете как
P> победить эту проблему.
P> Дело в том, что когда я даю команду ifconfig , например в 4.10 или
P> 4.11 , товыдаётся список доступных сетевых интерфейсов куда входит и sl0
,
P> ppp0. Такого не наблюдается в версии 5.3 .Вот собственно почему и
P> возник такой вопрос. Вероятно могут существовать множество ключей в
P> ifconfig спомощью которых можно создать интерфейс, но я их ненашёл.
P> Если вы знаете то подскажите пожалуйста.
P> Заранее благодарен

просили же ifconfig в студию, Вы не читаете ответов?

а вообще в 5.3 поменяли названия устройств. Так, что я думаю, нужно смореть документацию
по
ядру.

   "Kanogin A.A." 2005-01-29 17:15:59 (#306978)

Re: выбор MTA

Вот уже больше года как не знаю проблем с Exim. Просто Рулез. Настроил
виртуальные домены, соответственно юзеры виртуальные. Всякие ограничения
на объем ящиков для кадого юзера, макс. количиство получателей для
каждого юзера и.т.д.
Очень гибкий MTA, всем советую. Если есть какие вопросы по нему, могу
подсказать.

ilca wrote:

>Подскажите, что поставить в качестве МТА на небольшой сервер. Нужна
>аутентификация для SMTP и POP3, пытался поставить qmail но видать сия
>задача мне не посилам
>
>

   2005-01-29 17:14:46 (#306977)

Интерфейс 2

Здравствуйте.

Не совсем корректно задал вопрос в первый раз.
Операционка FreeBSD 5.3
Возникла проблема. Не могу назначить адрес на интерфейс
sl0.Выдаёт ошибку , что интерфейс не существует. Не подскажете как
победить эту проблему.
Дело в том, что когда я даю команду ifconfig , например в 4.10 или
4.11 , товыдаётся список доступных сетевых интерфейсов куда входит и sl0 ,
ppp0. Такого не наблюдается в версии 5.3 .Вот собственно почему и
возник такой вопрос. Вероятно могут существовать множество ключей в
ifconfig спомощью которых можно создать интерфейс, но я их ненашёл.
Если вы знаете то подскажите пожалуйста.
Заранее благодарен

   2005-01-29 13:34:49 (#306876)

вопрос про сантехнику

Предлагают UltraSPARC-IIi 440 МГц. Описание тут:

http://ru.sun.com/iso/products/workstations/ultra10/specifications.html

Это архетиктура - sparc или sparc64?
Поднимется ли на нем FreeBSD?

Если нет, то есть ли у кого-нибудь опыт работы с OpenBSD на таком оборудовании?

Запустится ли на нем vmware под, скажем, openbsd?

   2005-01-29 10:39:01 (#306815)

sgml документация

Как "красиво" в консоли freebsd читать доки которые лежат
например /usr/doc/ru_RU.KOI8-R/books/faq/book.sgml
?

--
Kuzik V.Andrew (spm)kuz***@c*****.ua,(gsm)380675329075,(icq)345641182
Если что, я хороший, они плохие. :)
Не так страшен тибетский танк, как его просветленный экипаж
**В среднем по госпиталю, с учетом восемнадцати трупов, температура нормальная.

   2005-01-29 00:00:40 (#306654)