From owner-freebsd-questions@FreeBSD.ORG Mon Jan 16 15:45:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BC6516A41F for ; Mon, 16 Jan 2006 15:45:20 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD43143D45 for ; Mon, 16 Jan 2006 15:45:19 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4801 invoked from network); 16 Jan 2006 15:01:26 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Jan 2006 15:01:26 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A45ED28423; Mon, 16 Jan 2006 10:01:25 -0500 (EST) Sender: lowell@be-well.ilk.org To: Brad Gilmer References: <20060116065153.06E7F16A422@hub.freebsd.org> <7.0.0.16.2.20060116034829.039041b8@gilmer.tv> From: Lowell Gilbert Date: 16 Jan 2006 10:01:25 -0500 In-Reply-To: <7.0.0.16.2.20060116034829.039041b8@gilmer.tv> Message-ID: <448xtgfc8q.fsf@be-well.ilk.org> Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: unable to build ntp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2006 15:45:20 -0000 Brad Gilmer writes: > Help please. I am running 6.0-RELEASE, and am trying to build ntp. > Process fails during ./configure with the following results: > > # cd /usr/src/contrib/ntp > # ./configure > --------------------------snip------------------- > configure: creating ./config.status > config.status: creating Makefile > config.status: creating ElectricFence/Makefile > config.status: error: cannot find input file: ElectricFence/Makefile.in > > Interestingly, I get the same results using a 4.5 machine. I note > that in the /usr/src/contrib/ntp/FREBSD-upgrade file, it states in > part, > > For the import of NTP the following files were removed: > ElectricFence/* > > so it makes sense that ElectricFence is not there, but how do I get > rid of the error? > > Background: > I have the following entry in my crontab: > 7 0-23 * * * /usr/sbin/ntpdate -s pool.ntp.org >/dev/null > In the old days, ntpdate would only send root an email if it could not > find a server. Now I get emails every time the cron runs, even though > I am dumping STDOUT to /dev/null. Problem is code in 6.0 directs > server found messages to STDERR, while 4.5 code did not contain this. > I want to recompile with the server found messages directed to STDOUT. > > Thanks in advance, > Brad > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > You could always try building from the directory that buildworld uses: /usr/src/usr.sbin/ntp. But the easier answer would be to redirect stderr as well as stdout when calling ntpdate, and generate a message only if ntpdate returns an error result. Or run ntpd... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/