From owner-freebsd-ports Wed Jan 3 20:22:27 2001 From owner-freebsd-ports@FreeBSD.ORG Wed Jan 3 20:22:25 2001 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 1A8A637B400 for ; Wed, 3 Jan 2001 20:22:23 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4DD046A911; Thu, 4 Jan 2001 14:52:19 +1030 (CST) Date: Thu, 4 Jan 2001 14:52:19 +1030 From: Greg Lehey To: Dan Langille Cc: freebsd-ports@freebsd.org Subject: Re: is benchmarks/rawio broken? Message-ID: <20010104145219.J40668@wantadilla.lemis.com> References: <200012292316.MAA60847@ducky.nz.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012292316.MAA60847@ducky.nz.freebsd.org>; from dan@langille.org on Sat, Dec 30, 2000 at 12:16:51PM +1300 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Saturday, 30 December 2000 at 12:16:51 +1300, Dan Langille wrote: > is benchmarks/rawio broken? Yes. > # uname -a > FreeBSD xeon.unixathome.org 4.2-STABLE FreeBSD 4.2-STABLE #0: > Sat Dec 30 08:49:09 NZDT 2000 > root@xeon.unixathome.org:/usr/src/sys/compile/XEON i386 > > [root@xeon:/usr/ports/benchmarks/rawio] # make install >>> rawio-1.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >>> Attempting to fetch from ftp://ftp.lemis.com/pub/. > Receiving rawio-1.1.tar.gz (191472 bytes): 100% > 191472 bytes transferred in 58.7 seconds (3.18 kBps) > ===> Extracting for rawio-1.1 >>> Checksum OK for rawio-1.1.tar.gz. > ===> Patching for rawio-1.1 > ===> Applying FreeBSD patches for rawio-1.1 > ===> Configuring for rawio-1.1 > ===> Building for rawio-1.1 > cc -O -pipe -g mkrandom.c -o mkrandom > mkrandom.c:58: machine/random.h: No such file or directory > *** Error code 1 This happens because one of the patches refers to files which are only present if you have built a kernel on the machine. I'm currently working on a number of changes, but you should be able to compile by changing the reference to machine/random.h to sys/random.h in mkrandom.c. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message