Не могу из портов поставить postgrey.
при инсталяции выдает ошибку:su-2.05b# make WITH_BDB_VER=43 install
===> postgrey-1.24 needs perl 5.6.0 or higher, install lang/perl5.8 and try again.
*** Error code 1Stop in /usr/ports/mail/postgrey.
Ставил perl 5.6.2 и 5.8 не помогает :(
Ошибка та же.
>===> postgrey-1.24 needs perl 5.6.0 or higher, install lang/perl5.8 and try again.
>*** Error code 1
>
>Stop in /usr/ports/mail/postgrey.Такие проблемы обычно решаются обновлением дерева портов.
Но можно попробовать вот что:
# cd /usr/ports/mail/postgrey
# make all-depends-list
(установка этих завивимостей)
# make -DNO_IGNORE install
>>===> postgrey-1.24 needs perl 5.6.0 or higher, install lang/perl5.8 and try again.
>>*** Error code 1
>>
>>Stop in /usr/ports/mail/postgrey.
>
>Такие проблемы обычно решаются обновлением дерева портов.
>Но можно попробовать вот что:
># cd /usr/ports/mail/postgrey
># make all-depends-list
>(установка этих завивимостей)
># make -DNO_IGNORE install
после установки perl из портов, делали use.perl port?
>после установки perl из портов, делали use.perl port?Да, сделал как подсказали и все заработало =)
Только вот тут теперь засада :(make WITH_BDB_VER=43 install
===> Installing for postgrey-1.24
===> postgrey-1.24 depends on file: /usr/local/lib/perl5/site_perl/5.8.5/Net/Server.pm - found
===> postgrey-1.24 depends on file: /usr/local/lib/perl5/site_perl/5.8.5/IO/Multiplex.pm - found
===> postgrey-1.24 depends on file: /usr/local/lib/perl5/site_perl/5.8.5/mach/BerkeleyDB.pm - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.5/mach/BerkeleyDB.pm in /usr/ports/databases/p5-BerkeleyDB
===> p5-BerkeleyDB-0.29 is marked as broken: Doesn't build on FreeBSD 4.x.
*** Error code 1Stop in /usr/ports/databases/p5-BerkeleyDB.
*** Error code 1Stop in /usr/ports/mail/postgrey.
сделал как указано в /usr/ports/UPDATINGportupgrade -f `(pkg_info -R perl-5\* |tail +4; \
find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`потом
portupgrade -all
не помогло
>сделал как указано в /usr/ports/UPDATING
>
>portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
>find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
>| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*:
>//')|sort -u`
>
>потом
>
>portupgrade -all
>
>
>не помогло
Можно либо в ручную поставить p5-BerkeleyDB
либо подправь в /usr/ports/databases/p5-BerkeleyDB/Makefile
(закоментируй строки).if ${OSVERSION} < 500000
BROKEN= Doesn't build on FreeBSD 4.x
.endifИ как написано в Readme
***************************************************
FreeBSD Notes
-------------On FreeBSD 4.x through 6.x, the default db.h is for version 1. The build
will fail with an error similar to:BerkeleyDB.xs:74: #error db.h is from Berkeley DB 1.x - need at least
Berkeley DB 2.6.4Later versions of Berkeley DB are usually installed from ports.
The available versions can be found by running a find(1) command:% find /usr/local/include -name 'db.h'
/usr/local/include/db3/db.h
/usr/local/include/db4/db.h
/usr/local/include/db41/db.h
/usr/local/include/db42/db.h
/usr/local/include/db43/db.hThe desired version of the library must be specified on the command line or
via the config.in file. Make sure both values point to the same version:INCLUDE = /usr/local/include/db43
LIB = /usr/local/lib/db43
к написано в Readme
***************************************************