From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 18:11:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ED1B37B401 for ; Sat, 9 Aug 2003 18:11:09 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D76E43FE9 for ; Sat, 9 Aug 2003 18:11:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h7A1B5uY031834; Sat, 9 Aug 2003 20:11:05 -0500 (CDT) (envelope-from dan) Date: Sat, 9 Aug 2003 20:11:05 -0500 From: Dan Nelson To: Clement Laforet Message-ID: <20030810011104.GE43222@dan.emsphone.com> References: <000a01c35eab$141588c0$5500000a@skullbook> <20030809221438.360003ad.sheepkiller@cultdeadsheep.org> <000c01c35ec2$28ff1d20$5500000a@skullbook> <20030810002015.37cdfc24.sheepkiller@cultdeadsheep.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030810002015.37cdfc24.sheepkiller@cultdeadsheep.org> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: Mikael Karlsson cc: freebsd-questions@freebsd.org Subject: Re: mysql-server-4.0.10 package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 01:11:09 -0000 In the last episode (Aug 10), Clement Laforet said: > On Sun, 10 Aug 2003 01:04:07 +0300 > "Mikael Karlsson" wrote: > > I'm trying to install MySQL-server-4.0.10 package in 4.8 release as > > it says right there under Requires: at this link > > http://www.freebsd.org/cgi/ports.cgi?query=mysql&stype=name&release=4.8-RELEASE%2Fi386#mysql-server-4.0.10 > > that it REQUIRES both 3.23.55 and 4.0.10 mysql-clients and when I > > try to install it both are installed along as dependencies! I'm not > > really interested in compiling the port even if it only requires > > one client. > > In fact, it's a nasty building related problem :-) When you build > mysql-server-4.x, p5-DBD-mysql is compiled with the current version > of mysql-client, by performing a simple test on MySQL libs, if no > libs are install, default is 3.23. The main problem with this, is > that, when the packages is built, depedencies are not built, but > install via packages, then you have a nasty conflict. Luckily the client packages are small (under 1MB), so it's not a major problem if both 3.23 and 4.0 get installed. Doesn't the port build handle this right? mysql40-client is listed before p5-DBD-mysql in RUN_DEPENDS, so ideally bsd.port.mk should be able to build and install the 4.0 client, then just use that for the p5-DBD-mysql build. -- Dan Nelson dnelson@allantgroup.com