The Samba-Bugzilla – Bug 8745
Compile error in source4/lib/tls/tls.c
Last modified: 2012-02-19 20:03:27 UTC
Created attachment 7298 [details]
Log of configure and make
Using FreeBSD 9.0.
With current (todays) version from git I get a compile error in source4/lib/tls/tls.c: error: gnutls/gnutls.h: No such file or directory
On FreeBSD gnutls is installed via the ports and is located in /usr/local/include
tls.c did compile with alpha-17 and with "current as of 17.01.2012"
Logfiles from configure and make are attached.
Jelmer, do you have a clue?
do you know how to best influence on the GNUTLS include path?
if you copy the GNUTLS headers into "/usr/include" everything else does work? When testing this do not forget to launch another time "./configure" in order to analyse the outputs regarding GNUTLS.
You could paste the "configure" differences here as well which could help us to chase it down faster.
Created attachment 7324 [details]
Output of configure
I linked /usr/local/include/gnutls to /usr/include and /usr/local/lib/libgnutls* to /usr/lib. I could build samba then (with a hack for the missing utmp.h). The output of configure.developer is attached.
I have committed a patch which includes the GNUTLS headers more consistently: http://gitweb.samba.org/samba.git/?p=samba.git;a=commitdiff;h=32c82fe69b588fe18674c0bda49cd7fc0f73f50a. Probably it does not change anything but to be sure please retry (with GNUTLS headers only under /usr/local/include and reconfiguration).
Now, it did compile. Thanks a lot!
Thanks for your quick response!