From: Anton G. <st...@al...> - 2018-01-06 14:13:05
|
Spine version 1.1.30 configure error with debian 9 (stretch) configure:13199: checking if Net-SNMP needs crypto support configure:13212: gcc -c -I/usr/include/mysql -g -O2 conftest.c >&5 conftest.c:56:29: fatal error: net-snmp-config.h: No such file or directory #include <net-snmp-config.h> ^ compilation terminated. configure:13212: $? = 1 dpkg -L libsnmp-dev | grep net-snmp-config.h /usr/include/net-snmp/net-snmp-config.h fix is trivial --- configure.ac.old 2018-01-04 02:02:15.000000000 +0300 +++ configure.ac 2018-01-06 17:03:51.903809852 +0300 @@ -267,14 +267,14 @@ # Net-SNMP includes v3 support and insists on crypto unless compiled --without-openssl AC_MSG_CHECKING([if Net-SNMP needs crypto support]) -AC_TRY_COMPILE([#include <net-snmp-config.h>], [exit(NETSNMP_USE_OPENSSL != 1);], +AC_TRY_COMPILE([#include <net-snmp/net-snmp-config.h>], [exit(NETSNMP_USE_OPENSSL != 1);], [ AC_MSG_RESULT(yes) SNMP_SSL=yes ], AC_MSG_RESULT(no) ) -AC_TRY_COMPILE([ #include <net-snmp-config.h> +AC_TRY_COMPILE([ #include <net-snmp/net-snmp-config.h> #include <net-snmp/utilities.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/config_api.h> and running autoreconf -fisv after |