From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 04:14:35 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 3D5CA37B409 for ; Sun, 10 Aug 2003 04:14:35 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2077443FA3 for ; Sun, 10 Aug 2003 04:14:29 -0700 (PDT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 81611 invoked from network); 10 Aug 2003 11:14:25 -0000 Received: from unknown (HELO chuck.cultdeadsheep.org) (192.168.0.12) by goofy.cultdeadsheep.org with SMTP; 10 Aug 2003 11:14:25 -0000 Date: Sun, 10 Aug 2003 04:15:24 +0200 From: Clement Laforet To: Dan Nelson Message-Id: <20030810041524.4de00c9c.sheepkiller@cultdeadsheep.org> In-Reply-To: <20030810011104.GE43222@dan.emsphone.com> References: <000a01c35eab$141588c0$5500000a@skullbook> <20030809221438.360003ad.sheepkiller@cultdeadsheep.org> <000c01c35ec2$28ff1d20$5500000a@skullbook> <20030810002015.37cdfc24.sheepkiller@cultdeadsheep.org> <20030810011104.GE43222@dan.emsphone.com> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd5.1) X-Face: ._cVVRDn#-2((lnfi^P7CoD4htI$4+#G/G)!w|,}H5yK~%(3-C.JlEYbOjJGFwJkt*7N^%z jYeu[;}]}F"3}l5R'l"X0HbvT^D\Q&%deCo)MayY`);TO Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: mikael.karlsson@saunalahti.fi 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 11:14:35 -0000 On Sat, 9 Aug 2003 20:11:05 -0500 Dan Nelson wrote: > > Luckily the client packages are small (under 1MB), so it's not a major > problem if both 3.23 and 4.0 get installed. These ports are conflicting. that's the problem :) > 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. The ports handles it right, the problem is only in dependencies list. [root@chuck|(909)| admin]# pkg_add -r ../All/mysql-server-4.0.14.tbz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/mysql-server-4.0.14.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/p5-DBI-1.37.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/mysql-client-4.0.14.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/../All/p5-DBD-mysql-2.1026_1.tbz... Done. all is ok. Because the port set 4.0 by default : .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client .else .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14) LIB_DEPENDS= mysqlclient.14:${PORTSDIR}/databases/mysql41-client .else LIB_DEPENDS= mysqlclient.12:${PORTSDIR}/databases/mysql40-client .endif .endif and now the big question is why index consider MySQL