Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 10:26:53 -0400 (EDT)
From:      Vivek Khera <khera@kciLink.com>
To:        "Art Neilson, WH7N" <art@pilikia.net>
Cc:        stable@freebsd.org, ports@freebsd.org
Subject:   Re: lsof-4.49.3 on FreeBSD 3.5-STABLE
Message-ID:  <14682.2861.129077.336976@onceler.kcilink.com>
In-Reply-To: <3.0.6.32.20000627183123.00ba4ec0@pilikia.net>
References:  <3.0.6.32.20000627183123.00ba4ec0@pilikia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "ANW" == Art Neilson, WH7N <art@pilikia.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14682.2861.129077.336976>