From owner-freebsd-questions@FreeBSD.ORG Sun Dec 20 15:28:27 2009 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 3F2781065670 for ; Sun, 20 Dec 2009 15:28:27 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 173C58FC13 for ; Sun, 20 Dec 2009 15:28:26 +0000 (UTC) Received: (qmail 14547 invoked from network); 20 Dec 2009 15:28:26 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Dec 2009 15:28:26 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 06BBE5082D; Sun, 20 Dec 2009 10:28:19 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 61D521CC3D; Sun, 20 Dec 2009 10:28:19 -0500 (EST) From: Lowell Gilbert To: Robin Becker References: <4B2A2023.5050607@chamonix.reportlab.co.uk> Date: Sun, 20 Dec 2009 10:28:18 -0500 In-Reply-To: <4B2A2023.5050607@chamonix.reportlab.co.uk> (Robin Becker's message of "Thu, 17 Dec 2009 12:12:19 +0000") Message-ID: <44y6kxvf59.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List , apache@freebsd.org Subject: Re: binary package dependencies 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: Sun, 20 Dec 2009 15:28:27 -0000 Robin Becker writes: > I would like to know how to use self compiled ports made with make > install together with the packages which can be downloaded with > pkg_add -r .... > > I'm in the process of upgrading an old freebsd 6.0 server to 8.0 and > have decided to try and use apache22. > > For various reasons I built the apache22 server using ports (mainly to > force usage of a particular BSDB). Then added subversion also using > ports. > > After setting up the new apache to act as an svn source and getting > that working I decided to add viewvc. > > Rather stupidly I used pkg_add -r viewvc which seemed to work. > > However, my apache setup stopped working. After much faffing about I > learned that the pkg_add -r viewvc had also installed another version > of apache (a 2.0 version). All my apachectl commands were directed at > the 2.0 version and my edits to the httpd.conf were bing entirely > ignored. > > Somehow I had naively assumed that apache20 and apache22 were > incompatible and could not simultaneously be installed. Did the binary > package load ignore all conflicts? What's the proper way to approach > these issues. Looking in the apache20 Makefile I see it conflicts with > earlier apache, but how can it conflict with a later one? I think that it should. As I read it, apache22 registers a conflict with apache20, but the reverse is not true. If you had installed them in the other order, it would've refused to install. apache20 is the default, so the official package was built depending on that. I think this should be entered as a bug, but I'm not quite positive... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/