On Mon, 29 Mar 2021 16:53:33 +0200 Wouter Wijngaards via nsd-users <nsd-users at lists.nlnetlabs.nl> wrote:> Hi, > > NSD 4.3.6rc1 pre-release is available: > https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6rc1.tar.gzThis some years old bug is still there, you need to autoreconf --force before build to build with systemd, configure gives this error: checking whether gcc supports -Wno-address-of-packed-member... yes configure: error: systemd enabled but need pkg-config to configure for it, also, run aclocal before autoconf, or run autoreconf to include pkgconfig macros Could you fix release scripts and include pkgconfig macros by default? If I remember correctly Paul Wouters reported this issues on list multiple releases ago. -- Tuomo Soini <tis at foobar.fi> Foobar Linux services +358 40 5240030 Foobar Oy <https://foobar.fi/>
On 29/03/2021 20:51, Tuomo Soini via nsd-users wrote: Hi Tuomo,> This some years old bug is still there, you need to autoreconf --force > before build to build with systemd, configure gives this error: > > checking whether gcc supports -Wno-address-of-packed-member... yes > configure: error: systemd enabled but need pkg-config to configure for > it, also, run aclocal before autoconf, or run autoreconf to include > pkgconfig macrosI don't think there's any bug. I just built an RPM of this version of NSD on a CentOS 7 system, and it built without any problems. You do need to ensure that you have all the NSD build dependencies installed. Perhaps you are missing some of those dependencies. Which distribution are you trying to build on, and how? Regards, Anand
Hi Tuomo, On 29/03/2021 20:51, Tuomo Soini wrote:> On Mon, 29 Mar 2021 16:53:33 +0200 > Wouter Wijngaards via nsd-users <nsd-users at lists.nlnetlabs.nl> wrote: > >> Hi, >> >> NSD 4.3.6rc1 pre-release is available: >> https://nlnetlabs.nl/downloads/nsd/nsd-4.3.6rc1.tar.gz > > This some years old bug is still there, you need to autoreconf --force > before build to build with systemd, configure gives this error: > > checking whether gcc supports -Wno-address-of-packed-member... yes > configure: error: systemd enabled but need pkg-config to configure for > it, also, run aclocal before autoconf, or run autoreconf to include > pkgconfig macros > > Could you fix release scripts and include pkgconfig macros by default?Yes I have, in commit https://github.com/NLnetLabs/nsd/commit/a1879fb4363cb0ad1fa85ef9a11499c7e3d95540 That should fix the configure script that is shipped with the next release tarball. Best regards, Wouter> > If I remember correctly Paul Wouters reported this issues on list > multiple releases ago. >