Re: [chrony-users] Compile Chrony 4.0 with NTS feature under Ubuntu 18.04 / 20.04

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Mon, Nov 09, 2020 at 01:40:14PM +0100, Benoit Rat wrote:
> Hi All,
> 
> I have been trying to compile the latest chrony to test NTS but it seems
> that something is not found during the configure step and thus NTS feature
> is not enabled.

You can check the config.log file to see what exactly went wrong in
the configure script.

> For Ubuntu 18.04, the library I have installed are:
> 
> libgnutls-dane0/bionic-updates,now 3.5.18-1ubuntu1.4 amd64 [instalado]
> > libgnutls-openssl27/bionic-updates,now 3.5.18-1ubuntu1.4 amd64 [instalado]
> > libgnutls28-dev/bionic-updates,now 3.5.18-1ubuntu1.4 amd64 [instalado]
> > libgnutls30/bionic-updates,now 3.5.18-1ubuntu1.4 amd64 [instalado]
> > libgnutlsxx28/bionic-updates,now 3.5.18-1ubuntu1.4 amd64 [instalado]

NTS requires TLS1.3, which was first enabled in gnutls-3.6.4 if I'm
reading the changelog right, so 3.5.18 probably won't work.

> But then again while I am using configure gnutls is not properly recognized
> (and libpcap neither)

libpcap should be libcap, no 'p' in there. They are two different
libraries.

> root@fc8e1552683f:/opt/chrony# ./configure
> > Configuring for  Linux-x86_64
> > Checking for gcc : Yes
> > Checking for hardening compiler options : Yes
> > Checking for -fstack-protector-strong : Yes
> > Checking for pkg-config : No

A pkg-config tool is needed for the gnutls check. There are few
different implementations. I'm not sure how they are called on
Debian/Ubuntu.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/