Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 14:52:19 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: is benchmarks/rawio broken?
Message-ID:  <20010104145219.J40668@wantadilla.lemis.com>
In-Reply-To: <200012292316.MAA60847@ducky.nz.freebsd.org>; from dan@langille.org on Sat, Dec 30, 2000 at 12:16:51PM %2B1300
References:  <200012292316.MAA60847@ducky.nz.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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