Re: lsof won't build

2009-09-20 Thread Lowell Gilbert
Robert Huff roberth...@rcn.com writes: Lowell Gilbert writes: Are you saying you rebuilt kernel and lsof built fine afterwards? Right. lsof needs to look at kernel structures, so it has to be built from the same headers that the kernel was, or it won't know how to interpret the

Re: lsof won't build

2009-09-20 Thread Erik Trulsson
On Sun, Sep 20, 2009 at 03:15:32PM -0400, Robert Huff wrote: Lowell Gilbert writes: It seems to me (fairly short investigation) that it uses kernel structures that aren't in /usr/include. That means it must be looking in /usr/src/sys. If those sources don't match the installed

Re: lsof won't build

2009-09-19 Thread Paul Schmehl
--On September 19, 2009 1:58:32 PM -0400 Robert Huff roberth...@rcn.com wrote: Paul Schmehl writes: I'm getting this error when trying to install sysutils/lsof: /usr/src/sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory Shouldn't machine be some sort of macro that

Re: lsof won't build

2009-09-19 Thread Robert Huff
Paul Schmehl writes: The usual casue of this is the installed kernel(+world ??) being out of sync with the contents of /usr/src. That doesn't make sense to me. vm.h is a src file. I have not read the code ... but as I understnd it, the build process draws on header files

Re: lsof won't build

2009-09-19 Thread Lowell Gilbert
Robert Huff roberth...@rcn.com writes: Paul Schmehl writes: The usual casue of this is the installed kernel(+world ??) being out of sync with the contents of /usr/src. That doesn't make sense to me. vm.h is a src file. I have not read the code ... but as I understnd it,

Re: lsof won't build

2009-09-19 Thread Paul Schmehl
--On September 19, 2009 6:16:22 PM -0400 Lowell Gilbert freebsd-ports-lo...@be-well.ilk.org wrote: Robert Huff roberth...@rcn.com writes: Paul Schmehl writes: The usual casue of this is the installed kernel(+world ??) being out of sync with the contents of /usr/src. That doesn't

Re: lsof won't build

2009-09-19 Thread Robert Huff
Lowell Gilbert writes: Are you saying you rebuilt kernel and lsof built fine afterwards? Right. lsof needs to look at kernel structures, so it has to be built from the same headers that the kernel was, or it won't know how to interpret the data it retrieves. And it finds

RE: lsof won't build

2009-09-19 Thread Larry Rosenman
...@freebsd.org [mailto:owner-freebsd-po...@freebsd.org] On Behalf Of Robert Huff Sent: Saturday, September 19, 2009 6:42 PM To: Lowell Gilbert Cc: freebsd-ports@freebsd.org Subject: Re: lsof won't build Lowell Gilbert writes: Are you saying you rebuilt kernel and lsof built fine afterwards