From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] unbound 1.6.1: Linking against libevent2 Date: Mon, 24 Apr 2017 10:19:01 +0100 Message-ID: <1493025541.3373.14.camel@ipfire.org> In-Reply-To: <20170421170021.17772-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1821689745018049365==" List-Id: --===============1821689745018049365== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thank you. Merged! On Fri, 2017-04-21 at 19:00 +0200, Matthias Fischer wrote: > Hi, >=20 > this was triggered by unbound-users(a)unbound.net - it seems that the > 'configure'-option '--with-libevent-support' is not enough: >=20 > ***SNIP*** > ... > When building unbound with --with-libevent support, the make > install phase should also call make unbound-event-install or else > unbound-event.h does not get installed and the header file for > using the unbound event functionality is not available. > ... > This install is triggered by the option --enable-event-api. Just > enabling --with-libevent does not trigger the install by itself. >=20 > Best regards, > Wouter > ... > ***SNAP*** >=20 > I built 'unbound' this way - its running without any problems so far. >=20 > Best, > Matthias >=20 > Signed-off-by: Matthias Fischer > --- > =C2=A0config/rootfiles/common/unbound | 1 + > =C2=A0lfs/unbound=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 4 +++- > =C2=A02 files changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/config/rootfiles/common/unbound b/config/rootfiles/common/unbo= und > index a94ea2564..824567e1f 100644 > --- a/config/rootfiles/common/unbound > +++ b/config/rootfiles/common/unbound > @@ -6,6 +6,7 @@ etc/unbound/icannbundle.pem > =C2=A0etc/unbound/local.d > =C2=A0etc/unbound/root.hints > =C2=A0etc/unbound/unbound.conf > +#usr/include/unbound-event.h > =C2=A0#usr/include/unbound.h > =C2=A0#usr/lib/libunbound.la > =C2=A0#usr/lib/libunbound.so > diff --git a/lfs/unbound b/lfs/unbound > index f361f24f0..d78bd9509 100644 > --- a/lfs/unbound > +++ b/lfs/unbound > @@ -78,7 +78,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > =C2=A0 --with-pidfile=3D/var/run/unbound.pid \ > =C2=A0 --with-rootkey-file=3D/var/lib/unbound/root.key \ > =C2=A0 --disable-static \ > - --with-libevent > + --with-libevent \ > + --enable-event-api > + > =C2=A0 cd $(DIR_APP) && make $(MAKETUNING) > =C2=A0 cd $(DIR_APP) && make install > =C2=A0 --===============1821689745018049365== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlkvY01GQUFvSkVJQjU4UDl2a0FrSFMwNFAvaVA4c0JaajNPeVd4Q0drRVhFU28xMFYK UUVXQzROc3E4VDR4UmYwOVRsRmdQQ05FNWFNcE11Ny82c3N3blJ6WE00R3ZHUDdCbjdPMVBhaTdS d1JKeXBmKwpWVVdTRVFmUnJDVHpZcGhGZmczaUlVdnhGVVE3TUJhdHRnU0pLOUdwSTJxNFdWY3VH OE1rem9wWUpCWkpkQjVGCnFrd28xREdyT29oNzJrYkNLeEhaMzN2QUdGbFhDRjh1T1pGT0kwNTFl YnV2VzBOalNvaHAzOWdtUC9EM01ESzcKL3lzdzdic0pScFE5aDBMMnZWOVBkNzNwamtJRmVhcXlv RmZNdHBubUJadTJqbFZOdEJIMWZpUzNpcUM4dUxBQgpEN21DUUVtMWNOMXZxQ2FucUR2aEhpRzZ0 QktVTnlGLytaVC9mZHA2WVBMNm8rNUlzRkVPZ2NZeEVTMjBuaDJJCnRZVzQwWHZ3NXRNb0hkMFAv cmNPdDl4YmxjTW16UDYzaWI4c1AvWVVqZ3pRMEFscGVLN2ZIeU8xSkp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