Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 06:53:52 -0700
From:      "Aliya Harbouri" <aliyaharbouri@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Apache22 Port can't find Berkeley DB.
Message-ID:  <dec0591d0709210653l59b18dddw2a5ff04db4caf382@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!

When I ran an upgrade to the Ports tree using the "portsnap" tool

  portsnap fetch update

I saw an available update available to /usr/ports/www/apache22, but it
was immediately followed with an error,

  IGNORED
  Unknown Berkeley DB version

in the console output.

Other ports eventually get updated, but apache22 seems to get skipped
as a result.

It took me a bit to figure out that the "IGNORE" is coming from the
Port's "Makefile.modules",

	IGNORE=     "Unknown Berkeley DB version"

I've read online about use of "/usr/ports/Mk/bsd.database.mk" &
"/etc/make.conf" for build configuration, and have added

 USE_BDB
 WITH_BDB_HIGHEST=true
 WITH_BDB_VER=46
 BDB_LIB_DIR=/usr/local/lib/db46
 BDB_INCLUDE_DIR=/usr/local/include/db46

to make.conf.  If I grok this stuff correctly, Ports should now find &
use BDB, version 46.

Good news! This seems to make all other Ports generally happy.  They
seem to find/use BDB like I intend.

But the apache22 Port still doesn't update, because of the "Unknown"
BDB version.

Is there some additional Ports-magic that I'm missing here?

Ali



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dec0591d0709210653l59b18dddw2a5ff04db4caf382>