That's the flaw in the AC_CHECK_HEADER() macro provided by autoconf. Look for "Generic Header Checks" in http://www.gnu.org/manual/autoconf-2.53/html_mono/autoconf.html.
The syntax, AC_CHECK_HEADER (header-file, [action-if-found], [action-if-not-found], [includes = default-includes]), allows for other .h files, but if they're not found (say the more normal situation of openSSL compiled w/o Kerberos), then it causes problems. The only solution is to nest them... e.g. make it (in configure.in): AC_CHECK_HEADER([ssl.h],, AC_CHECK_HEADER([ssl.h],,, [krb5.h])) then rerun autoconf. I've done that in a few places already. Try it and let me know... -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of B. Lo�c Sent: Thursday, August 07, 2003 4:23 AM To: [EMAIL PROTECTED] Subject: Re: [Ntop-dev] Building with openssl : can't find existing ssl.h Burton Strauss a �crit : > Read config.log - in fact, cut and past from it. Both the success lines for the others (it's only 1 or 2 per .h) and the whole of the failure for ssh.h. > > It could be that it FINDS ssh.h, but the test program won't compile due to some other .h missing. I agree it's odd, but until we see the real error message(s) from config.log, it's only guesses... Yeah, that's it. Here is what fails : In file included from /usr/include/openssl/ssl.h:179, from configure:14800: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory In file included from /usr/include/openssl/ssl.h:179, from configure:14800: (and a bunch of parse errors, probably related to it). krb5 is indeed present in /usr/kerberos/include, and in ssl.h we read #include <krb5.h>. Changing it to the correct path solves the problem. More a "bad openssl-devel (or kerberos-devel) package version" issue than an Ntop problem I think. At least I've learned something about configure today... Thanks a lot Burton. Lo�c _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
