amavisd-new does not compile because of db42

Helmut Schneider jumper99 at gmx.de
Thu Jun 10 19:15:25 UTC 2010


Hi,

I cannot compile amavisd-new because db42 is not recognized as already
installed:

http://www.freebsd.org/cgi/query-pr.cgi?pr=147718

As stated in the (unfortunately closed) PR I already removed all
packages and tried from scratch but it still fails.

The point is that the following ports also depending on db42 compile
successfully:

# pkg_info -R db42-4.2.52_5
Information for db42-4.2.52_5:

Required by:
apache-2.2.15_9
apr-ipv6-devrandom-gdbm-db42-ldap24-1.4.2.1.3.9_1
cacti-0.8.7f
joomla15-1.5.18
nagios-3.2.1
pecl-pdflib-2.1.8
php5-5.3.2_1
php5-ctype-5.3.2_1
php5-filter-5.3.2_1
php5-gd-5.3.2_1
php5-json-5.3.2_1
php5-mysql-5.3.2_1
php5-session-5.3.2_1
php5-snmp-5.3.2_1
php5-sockets-5.3.2_1
php5-xml-5.3.2_1
php5-zlib-5.3.2_1
typo3-4.3.3_1
wordpress-mu-2.9.2,2
#

Anyone an idea what to do to fix it? Unlike stated in the PR
amavisd-new also fails when trying to compile it manually:

# env make depends -DWITH_BDB -DWITH_SNMP -DWITH_POF -DWITH_RAR
-DWITH_UNRAR -DWITH_UNARJ -DWITH_NOMARCH -DWITH_UNZOO -DWITH_TNEF
===>   amavisd-new-2.6.4_6,1 depends on shared library: db-4.2.2 - not
found
===>    Verifying install for db-4.2.2 in /usr/ports/databases/db42
===>  Installing for db42-4.2.52_5
===>   Generating temporary packing list
===>  Checking if databases/db42 already installed
===>   db42-4.2.52_5 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of databases/db42
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/databases/db42.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
#

E.g. apr1 correctly identifies db42:

# env make -DWITH_BDB
cd /usr/ports/devel/apr1 && make config;
[...]
===>   apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1 depends on shared
library: db-4.2.2 - found
[...]
#

Thanks, Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn



More information about the freebsd-ports mailing list