2015-03-10 21:08 GMT+01:00 Michael Biebl <[email protected]>:
> 2015-03-10 20:39 GMT+01:00 Michael Biebl <[email protected]>:
>>
>> I want to start enabling and running the test bench as part of the
>> regular debian build starting with 8.8.0.
>
>
> Another problem:
> The test-suite requires gcrypt, but configure doesn't check for it.
> There the build fails when trying to link the tcpflood test binary:
tcpflood_SOURCES = tcpflood.c
tcpflood_CPPFLAGS = $(PTHREADS_CFLAGS) $(GNUTLS_CFLAGS)
tcpflood_LDADD = $(SOL_LIBS) $(PTHREADS_LIBS) $(GNUTLS_LIBS)
if ENABLE_GNUTLS
tcpflood_LDADD += -lgcrypt
endif
That looks broken. ENABLE_GNUTLS doesn't imply that gcrypt is
available and/or required.
I see that tests/tcpflood.c has
#ifdef ENABLE_GNUTLS
# include <gnutls/gnutls.h>
# if GNUTLS_VERSION_NUMBER <= 0x020b00
# include <gcrypt.h>
GCRY_THREAD_OPTION_PTHREAD_IMPL;
# endif
#endif
Maybe it would be simpler to just require a recent enough version of gnutls?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.