From owner-freebsd-ports Mon Feb 21 20: 8:42 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 9633737B629; Mon, 21 Feb 2000 20:08:38 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id 6F4A99B17; Mon, 21 Feb 2000 23:08:22 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 62D2FBA1D; Mon, 21 Feb 2000 23:08:22 -0500 (EST) Date: Mon, 21 Feb 2000 23:08:22 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: "Julian C. Dunn" Cc: jedgar@freebsd.org, freebsd-ports@freebsd.org Subject: Re: ports/16687: p5-Mysql building problem due to missing errmsg In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 21 Feb 2000, Julian C. Dunn wrote: > [I sent this two weeks ago but some reason it never got through to you -- > didn't bounce, though] > > On 13-Feb-2000 Chris D. Faulhaber wrote: > > On a fresh install of mysql322-server using the current port (BTW, > > errmsg.h is installed from mysql322-client, which is a dependency of > > mysql322-server): > > > > $FreeBSD: ports/databases/mysql322-server/Makefile,v 1.72 2000/01/25 > > 14:34:35 dirk Exp $ > > $FreeBSD: ports/databases/mysql322-client/Makefile,v 1.62 1999/08/25 > > 05:21:19 obrien Exp $ > > > > jedgar@earth:~$ ls /usr/local/include/mysql > > dbug.h m_string.h my_list.h mysql.h mysqld_error.h > > errmsg.h my_config.h my_pthread.h mysql_com.h raid.h > > m_ctype.h my_global.h my_sys.h mysql_version.h > > jedgar@earth:~$ > > > > Are you seeing something different using the port? > > Okay, here's what I believe happened. The mysql322-server port checks for > the existence of the mysql binary, as evidence as to whether or not the > client is installed. Since I had the client installed from a previous > build of mysqlxxx-server, when I rebuilt the server, it didn't attempt to > rebuild the dependency. I just built the client by hand and it correctly > installed the errmsg.h file, as well as the other headers. > > So what do you suggest as a fix, if any? Have the makefile check for the > version of -client before building -server? > Yes, I replied, stating the suggested fix would be to install the updated mysql322-client port...since the older versions of the mysql ports apparently didn't have all the headers required for the current p5-Mysql port. Although we could check for the correct version of mysql (not sure exactly which ones are ok), I don't think it's unreasonable to expect a reasonably recent version is installed (esp. with the recent security holes found). If this fixes the problem, I would like to close the PR; if not, we need to investigate further. ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message