unable to build ntp
Lowell Gilbert
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
> --------------------------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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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/
More information about the freebsd-questions
mailing list