Hi All,
In Sun Solaris 5.10 i am trying to install rrdtool-1.2.19.
- #./configure [It's success]
make [It's giving following error:]
creating rrdcgi
Making all in bindings
Making all in python
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W
-fPIC -DPIC -I../../src -I/usr/sfw/include/python2.3
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0
-I/usr/include/freetype2 -I/usr/sfw/include -I/usr/sfw/include/freetype2 -g
-O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline -W -fPIC -DPIC -MT rrdtoolmodule.o -MD -MP -MF
".deps/rrdtoolmodule.Tpo" -c -o rrdtoolmodule.o rrdtoolmodule.c;
then mv -f ".deps/rrdtoolmodule.Tpo" ".deps/rrdtoolmodule.Po"; else rm -f
".deps/rrdtoolmodule.Tpo"; exit 1; fi
In file included from /usr/include/limits.h:18,
from /usr/sfw/include/python2.3/Python.h:19,
from rrdtoolmodule.c:42:
/usr/include/sys/feature_tests.h:332:2: #error "Compiler or options invalid
for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
rrdtoolmodule.c: In function PyRRD_fetch': rrdtoolmodule.c:202: warning: implicit declaration of function __builtin_isnan'
rrdtoolmodule.c:202: warning: nested extern declaration of __builtin_isnan' rrdtoolmodule.c: In function PyRRD_info':
rrdtoolmodule.c:449: warning: nested extern declaration of __builtin_isnan' rrdtoolmodule.c:469: warning: nested extern declaration of __builtin_isnan'
*** Error code 1
make: Fatal error: Command failed for target rrdtoolmodule.o' Current working directory /RRDTool/rrdtool-1.2.19/bindings/python *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=echo all-recursive | sed s/-recursive//; \ list=' python'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target all-recursive'
Current working directory /RRDTool/rrdtool-1.2.19/bindings
*** Error code 1
The following command caused the error:
failcom='exit 1';
for f in x $MAKEFLAGS; do
case $f in
*=* | --[!k]*);;
*k*) failcom='fail=yes';;
esac;
done;
dot_seen=no;
target=echo all-recursive | sed s/-recursive//;
list='src bindings doc examples'; for subdir in $list; do
echo "Making $target in $subdir";
if test "$subdir" = "."; then
dot_seen=yes;
local_target="$target-am";
else
local_target="$target";
fi;
(cd $subdir && make $local_target)
|| eval $failcom;
done;
if test "$dot_seen" = "no"; then
make "$target-am" || exit 1;
fi; test -z "$fail"
make: Fatal error: Command failed for target all-recursive' Current working directory /RRDTool/rrdtool-1.2.19 *** Error code 1 make: Fatal error: Command failed for target all'
[root at dc1u011 rrdtool-1.2.19]#
Kindly provide me the solution.
With Regards, Jayanta.