Система Suse 11.1 ./configure --enable-nfprofile
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether we are using SunPro C... no
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for rrd_update in -lrrd... no
configure: error: Can not link librrd. Please specify --with-rrdpath=.. configure failed!
rrdtool-1.2.27-5.1.i586.rpm,( с болле высокой версией rrdtool отказался работать nfsen)
были внесены изменения в configure:
# Check whether --with-rrdpath was given.
if test "${with_rrdpath+set}" = set; then
withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
CPPFLAGS="${CPPFLAGS} -I/usr/include"
LDFLAGS="${LDFLAGS} -L/usr/lib"
else
CPPFLAGS="${CPPFLAGS} -I${with_rrdpath}/include"
LDFLAGS="${LDFLAGS} -L${with_rrdpath}/lib"
fi
fi
linux-dun7:/boot # locate rrdtool
/usr/bin/rrdtool
linux-dun7:/boot # locate librrd
/usr/lib/librrd.so.4
/usr/lib/librrd.so.4.0.5
/usr/lib/librrd_th.so.4
/usr/lib/librrd_th.so.4.0.5