unable to build ntp
freebsd-questions-local at be-well.ilk.org
Mon Jan 16 07:45:20 PST 2006
Brad Gilmer <brad at 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
> 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
> For the import of NTP the following files were removed:
> so it makes sense that ElectricFence is not there, but how do I get
> rid of the error?
> 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,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
You could always try building from the directory that buildworld uses:
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
More information about the freebsd-questions