From owner-freebsd-apache@FreeBSD.ORG Sun Oct 30 16:21:39 2005 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73D0616A41F for ; Sun, 30 Oct 2005 16:21:39 +0000 (GMT) (envelope-from jondowd@jondowd.com) Received: from ego.mind.net (ego.mind.net [69.9.129.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 079D543D4C for ; Sun, 30 Oct 2005 16:21:38 +0000 (GMT) (envelope-from jondowd@jondowd.com) Received: from [192.168.1.101] ([66.241.85.189]) by ego.mind.net (8.12.11/8.12.11) with ESMTP id j9UGLbHp048043 for ; Sun, 30 Oct 2005 08:21:38 -0800 (PST) (envelope-from jondowd@jondowd.com) Message-ID: <43650133.8050803@jondowd.com> Date: Sun, 30 Oct 2005 09:21:55 -0800 From: Jon Dowd on Sun64sara User-Agent: Debian Thunderbird 1.0.2 (X11/20050603) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-apache@freebsd.org References: <43645A07.70102@jondowd.com> <20051030092026.GA5730@goofy.cultdeadsheep.org> In-Reply-To: <20051030092026.GA5730@goofy.cultdeadsheep.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pkg_add -r mod_php5 conflicts with apache-2.0.53_1 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 16:21:39 -0000 Dear Clem and others, Thank you for the explanation of why using pkg_add didn't work, however, I don't know how to "use ports tree and not packages." nor "... build your packages set." I will spend some time in the handbook to see if I can learn how, but if someone would care to write back, it would be appreciated. Sincerely, -- Jon Dowd jondowd@jondowd.com http://samsara.mind.net/wall.html Server on the Wall Clement Laforet wrote: >On Sat, Oct 29, 2005 at 10:28:39PM -0700, Jon Dowd on Sun64sara wrote: >Hi, > > >>Pardon me asking what might be an "answer is available elsewhere", >>simple question, but I'm quite new to FreeBSD and I searched the >>archives of this list without finding a solution to my problem. >> >>I have installed Apache2 and am successfully serving pages for several >>domains. I want to add PHP (and MySQL) but my efforts result in the >>following error: >> >># pkg_add -r mod_php5 >>Fetching >>ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/mod_php5.tbz... >>Done. >>Fetching >>ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/apache-1.3.33_1.tbz... >>Done. >>pkg_add: package 'apache-1.3.33_1' conflicts with apache-2.0.53_1 >>pkg_add: please use pkg_delete first to remove conflicting package(s) or >>-f to force installation >>pkg_add: pkg_add of dependency 'apache-1.3.33_1' failed! >> >>I bet it's really easy... Hope you can tell me how, or point me in the >>right direction. >> >> > >It's a limitation of our packages management. Our build process is a >per port build, so default options applies. Since default apache >version is 1.3.x, all ports which don't depend explicitly on apache2 >are build for apache 1.3 , PHP is one on them. To support package for >php (4|5) for apache 2 we need to add more than 130 ports where >WITH_APACHE2 is defined (we have to duplicate all php and their >extensions ports). We don't plan to support this. >To install apache 2 + php you have to use ports tree and not packages. >You can also build your packages set. > >clem > >