Date: 16 Jan 2006 10:01:25 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Brad Gilmer <brad@gilmer.tv> Cc: freebsd-questions@freebsd.org Subject: Re: unable to build ntp Message-ID: <448xtgfc8q.fsf@be-well.ilk.org> In-Reply-To: <7.0.0.16.2.20060116034829.039041b8@gilmer.tv> References: <20060116065153.06E7F16A422@hub.freebsd.org> <7.0.0.16.2.20060116034829.039041b8@gilmer.tv>
next in thread | previous in thread | raw e-mail | index | archive | help
Brad Gilmer <brad@gilmer.tv> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448xtgfc8q.fsf>
