information about missing packages during configure
Costa Tsaousis committed
May 14, 2016 at 01:11 UTC
a763ca78fc1d73e7f3ac96546582329082102caa
1 file changed
+3
-4
configure.ac
+3
-4
@@ -93,8 +93,7 @@ if test -z "${MATH_LIBS}"; then
93
fi
94
95
AC_CHECK_LIB([uuid], [uuid_generate_time_safe], [], \
96
- [AC_MSG_ERROR([Function uuid_generate_time_safe was not found in libuuid.
97
-Is uuid-dev installed? Try running 'sudo apt-get install uuid-dev'.])])
96
+ [AC_MSG_ERROR([libuuid required but not found. Try installing 'uuid-dev' or 'uuid-devel'.])])
97
98
if test "${enable_plugin_nfacct}" = "yes"; then
99
PKG_CHECK_MODULES(
@@ -106,7 +105,7 @@ if test "${enable_plugin_nfacct}" = "yes"; then
105
[libmnl],
106
)
107
test -z "${NFACCT_LIBS}" && AC_MSG_ERROR([netfilter_acct required but not found])
109
- test -z "${LIBMNL_LIBS}" && AC_MSG_ERROR([libmnl required but not found])
108
+ test -z "${LIBMNL_LIBS}" && AC_MSG_ERROR([libmnl required but not found. Try installing 'libmnl-dev' or 'libmnl-devel'])
109
AC_DEFINE([INTERNAL_PLUGIN_NFACCT], [1], [nfacct plugin settings])
110
OPTIONAL_NFACCT_CLFAGS="${NFACCT_CFLAGS} ${LIBMNL_CFLAGS}"
111
OPTIONAL_NFACCT_LIBS="${NFACCT_LIBS} ${LIBMNL_LIBS}"
@@ -116,7 +115,7 @@ if test "${with_zlib}" = "yes"; then
115
[ZLIB],
116
[zlib],
117
)
119
- test -z "${ZLIB_LIBS}" && AC_MSG_ERROR([zlib required but not found])
118
+ test -z "${ZLIB_LIBS}" && AC_MSG_ERROR([zlib required but not found. Try installing 'zlib1g-dev' or 'zlib-devel'.])
119
AC_DEFINE([NETDATA_WITH_ZLIB], [1], [zlib settings])
120
OPTIONAL_ZLIB_CLFAGS="${ZLIB_CFLAGS}"
121
OPTIONAL_ZLIB_LIBS="${ZLIB_LIBS}"