From owner-freebsd-ports@FreeBSD.ORG Sat Sep 19 18:16:50 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B75D5106568B for ; Sat, 19 Sep 2009 18:16:50 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id 8207B8FC18 for ; Sat, 19 Sep 2009 18:16:50 +0000 (UTC) Received: from [192.168.2.102] (really [76.182.207.163]) by cdptpa-omta02.mail.rr.com with ESMTP id <20090919181649593.BMAO9613@cdptpa-omta02.mail.rr.com>; Sat, 19 Sep 2009 18:16:49 +0000 Date: Sat, 19 Sep 2009 13:16:48 -0500 From: Paul Schmehl To: Robert Huff Message-ID: In-Reply-To: <19125.7112.336613.902328@jerusalem.litteratus.org> References: <19125.7112.336613.902328@jerusalem.litteratus.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-ports@freebsd.org Subject: Re: lsof won't build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 18:16:50 -0000 --On September 19, 2009 1:58:32 PM -0400 Robert Huff 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 points at the ARCH >> of the system lsof is being installed on? > > Having experienced this recently: > The usual casue of this is the installed kernel(+world ??) > being out of sync with the contents of /usr/src. > The solution is to rebuild/reinstall kernel(+world ??). > Perosnally I think it's bad programming also ... but then I'm > not the one writing the code. > That doesn't make sense to me. vm.h is a src file. My src files are updated daily. Even if I rebuilt the kernel (this one has been recompiled twelve times already), the src files wouldn't change. The build error is complaining about not being able to find the header file for (I'm assuming) my architecture, not for some binary compiled during the kernel build. Are you saying you rebuilt kernel and lsof built fine afterwards? Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying