From owner-freebsd-stable Wed Jun 28 7:27: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id 6B56B37B93A; Wed, 28 Jun 2000 07:26:54 -0700 (PDT) (envelope-from khera@kciLink.com) Received: from onceler.kcilink.com (onceler.kciLink.com [204.117.82.2]) by kci.kciLink.com (Postfix) with ESMTP id 37C25E8D2; Wed, 28 Jun 2000 10:26:53 -0400 (EDT) Received: (from khera@localhost) by onceler.kcilink.com (8.9.3/8.9.3) id KAA95615; Wed, 28 Jun 2000 10:26:53 -0400 (EDT) (envelope-from khera@kci.kcilink.com) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14682.2861.129077.336976@onceler.kcilink.com> Date: Wed, 28 Jun 2000 10:26:53 -0400 (EDT) To: "Art Neilson, WH7N" Cc: stable@freebsd.org, ports@freebsd.org Subject: Re: lsof-4.49.3 on FreeBSD 3.5-STABLE In-Reply-To: <3.0.6.32.20000627183123.00ba4ec0@pilikia.net> References: <3.0.6.32.20000627183123.00ba4ec0@pilikia.net> X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "ANW" == Art Neilson, WH7N writes: ANW> lsof make blows up under 3.5-STABLE as shown below. has anyone else ANW> stumbled across this?? This is probably better discussed in the ports mailing list... You missed the part of the build that goes like this: ===> Configuring for lsof-4.49.3 Unknown FreeBSD release: 3.5-STABLE Assuming FreeBSD 2.x ./Configure: /usr/sbin/sysctl: not found Which obviously will make for a very bad set of assumptions. The following patch to the lsof Configure script fixes it. I'll send-pr this now as well. --- Configure.orig Wed Jun 28 10:21:23 2000 +++ Configure Wed Jun 28 10:24:01 2000 @@ -830,6 +830,9 @@ 3.4*) LSOF_VERS=340 ;; + 3.5*) + LSOF_VERS=350 + ;; 4.0*) LSOF_VERS=400 ;; @@ -900,7 +903,7 @@ LSOF_CFGF="$LSOF_CFGF -DHASVMLOCKH" fi # } ;; - 300|310|320|330|340) + 300|310|320|330|340|350) LSOF_CFGL="-lkvm" if test -r ${LSOF_INCLUDE}/nfs/rpcv2.h # { then To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message