From owner-freebsd-ports@FreeBSD.ORG Thu Feb 23 22:57:25 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C87116A420 for ; Thu, 23 Feb 2006 22:57:25 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D36243D48 for ; Thu, 23 Feb 2006 22:57:24 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id t5so132085wxc for ; Thu, 23 Feb 2006 14:57:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DDiSnalybAVXt41Ni2GIKWetHeKdWyOMY96aHEBRwU/j/tG33CzVyeRI15NV5HzZeCupOZ3prHiex/QHMefiB8eDbW6PKdo06OoS6eGZcOaBNV9tXc3CdwzG36LTEkg0sPXnjaZaLqZUZfiUgNe9DLftdwpxFrsFBlwsQ6vfc8Y= Received: by 10.70.67.9 with SMTP id p9mr2609614wxa; Thu, 23 Feb 2006 14:57:21 -0800 (PST) Received: by 10.70.31.17 with HTTP; Thu, 23 Feb 2006 14:57:21 -0800 (PST) Message-ID: <790a9fff0602231457v5ddf417buc295f1854aeb3d7a@mail.gmail.com> Date: Thu, 23 Feb 2006 16:57:21 -0600 From: "Scot Hetzel" To: "Derrick Edwards" In-Reply-To: <200602231439.54804.dantavious@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200602231439.54804.dantavious@comcast.net> Cc: freebsd-ports@freebsd.org, ale@freebsd.org Subject: Re: MySQL problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 22:57:25 -0000 On 2/23/06, Derrick Edwards wrote: > Hi, > I continue to have this problem. I can not install any ports that require= d > MySQL. I have deinstalled MySQL and I continue getting the same couple of > errors. > > /usr/ports/databases/mysql51-server]# make install clean > =3D=3D=3D> mysql-server-5.1.6_1 cannot install: the port wants mysql51-c= lient and > you try to install mysql5-client.. > *** Error code 1 > > Stop in /usr/ports/databases/mysql51-server. > > > [root@mail /usr/ports/mail/postfix-current]# make install clean > =3D=3D=3D> postfix-2.3.20060207,2 cannot install: unknown MySQL version:= 5. > *** Error code 1 > If you set WITH_MYSQL_VER, what is it's value? Do you set WANT_MYSQL_VER? If you do, don't as that variable is only to be set by the ports maintainer, when a port can only use a specific version. The variable you should be setting is the WITH_MYSQL_VER instead. Do you have mysql5?-client installed? According to Mk/bsd.database.mk: # Setting/finding MySQL version we want. .if exists(${LOCALBASE}/bin/mysql) _MYSQL_VER!=3D=09${LOCALBASE}/bin/mysql --version | \ ${SED} -e 's/.*Distrib \([0-9]\)\.\([0-9]*\).*/\1\2/' .endif Gets the current version of the installed MySQL client. If you run this command on your system, what value do you get. More than likely you have either WITH_MYSQL_VER or WANT_MYSQL_VER set to 5, where it should have been set to 50. But since you now want to install MySQL 5.1, WITH_MYSQL_VER should now be set to 51, and WANT_MYSQL_VER should not be set. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.