From owner-freebsd-questions@FreeBSD.ORG Fri Sep 21 13:53:54 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5A5116A41A for ; Fri, 21 Sep 2007 13:53:54 +0000 (UTC) (envelope-from aliyaharbouri@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 315F913C469 for ; Fri, 21 Sep 2007 13:53:53 +0000 (UTC) (envelope-from aliyaharbouri@gmail.com) Received: by ug-out-1314.google.com with SMTP id a2so641841ugf for ; Fri, 21 Sep 2007 06:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=McST7Bs8Lm8WAQ7ZAX53SAHSUzYEKdPSsfAYI490ZmY=; b=hAeQ0/EBdacKmVQJIapjgTYHHJOJFCwpzu4BoHu4qX+KFjxa0o2oQClk2SdGCcO/0yrc3ao02iGVHCOR3g/a00JIUSGaTGqWhsJRMLynARZpTAh5UZ5S8gAgLEwtoTKHb90fPKa8UMBjtB4hjl/sEwg8cCOHuYWa1z7xe++/Ldk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UUFaeK/xP5aLDpRpEZ/NRZwj2qo1doNwu2tUQ4OWmIkYMclF/I6geeS2qvDn/0IDgBaTGD1XPZL1J0NJtoEZJS24d0YTvEryHHMpNWtcrJazaJjaR/AKng2TpCv/Il5IFdZFfaJcYfYipzLnmUSSSl+AJ//URK3DdC/zW/oYQ7Q= Received: by 10.66.221.18 with SMTP id t18mr2005933ugg.1190382832699; Fri, 21 Sep 2007 06:53:52 -0700 (PDT) Received: by 10.67.91.14 with HTTP; Fri, 21 Sep 2007 06:53:52 -0700 (PDT) Message-ID: Date: Fri, 21 Sep 2007 06:53:52 -0700 From: "Aliya Harbouri" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Apache22 Port can't find Berkeley DB. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 13:53:54 -0000 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