From owner-freebsd-questions Sun Aug 15 22:32:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from vulcan.addy.com (vulcan.addy.com [207.239.68.7]) by hub.freebsd.org (Postfix) with ESMTP id C25EA14F10 for ; Sun, 15 Aug 1999 22:32:20 -0700 (PDT) (envelope-from francisco@natserv.com) Received: from your-name (freyes.static.inch.com [207.240.212.43]) by vulcan.addy.com (8.8.5/8.6.12) with SMTP id BAA20141 for ; Mon, 16 Aug 1999 01:32:15 -0400 (EDT) Message-Id: <199908160532.BAA20141@vulcan.addy.com> From: "Francisco Reyes" To: "FreeBSD questions" Date: Mon, 16 Aug 1999 01:31:46 -0400 Reply-To: "Francisco Reyes" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.1998) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: MySQL port fails with "cannot open makefile" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 15 Aug 1999 23:23:44 -0400, Francisco Reyes wrote: After sending the message below I did "man make" and found about the "-d d" option. I tried that and the part before make fails is: Searching for /etc/make.conf...Looking for "/etc/make.conf"...Caching 22:54:59 Aug 14, 1999 for /etc/make.conf Searching for /etc/make.conf...Looking for "/etc/make.conf"...got it (in mtime cache) Searching for Makefile...failed. Searching for Makefile.../usr/share/mk...failed. make: cannot open Makefile. *** Error code 2 >I am trying to install MySQL 3.22 from the ports and it fails >with "cannot open makefile" > >Netmax FreeBSD 2.2.7 >Running make from "/usr/ports/mysql322-server" > >ns1# head -5 Makefile ># ports collection makefile for: MySQL-server ># Version required: v3.22.x ># Date created: 26 Jan 1998 ># Whom: Josh Tiefenbach > > >head /usr/share/mk/bsd.port.mk >#-*- mode: Fundamental; tab-width: 4; -*- ># ex:ts=4 ># ># $Id: bsd.port.mk,v 1.302 1999/01/20 01:55:05 asami Exp $ ># $NetBSD: $ ># ># bsd.port.mk - 940820 Jordan K. Hubbard. ># This file is in the public domain. > >I have applied the 227upgrade.tgz > >I have built several other ports without problems so I am not >sure if it is a problem with the port or if there is a file in >Netmax which is either missing or in a different directory than >in a regular FreeBSD build. > >How does one troubleshoot a port? Is there a way to see which >part in the makefile it is running as to see which is the make >file that it can not open? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message