[rrd-users] help:- some questions on the installation of rrdtool-1.0.14

David Choi david-choi at cuhk.edu.hk
Wed Apr 5 04:37:45 MEST 2000


Hi,

I am very new to rrdtool and I have some questions on the installation
of the rrdtool-1.0.14, and I would be appreciated if the users on the
list can provide me with some hints.  When I do "sh configure",
everything seems fine except some checking reported "no" no error
messages were received.  Then when I do the "make" with the GNU make, I
received lots of warning and 1 error message.  I then tried to ignore
the error and do "make install", the software did get installed and I
followed the examples in the RRD tutorial, everything seems to be fine.

I want to know if I have the software installed correctly, and how these

warning and errors will affect the operation of rrdtool-1.0.14.

My hardware and software setup are as follows:

HP 9000 C160 running HP-UX 10.20

perl            5.005_03
gcc            2.95.2
gcc make    3.78.1
automake   1.3
autoconf    2.13
binutils       2.9.1
m4            1.4
texinfo        4.0

When I do "sh configure" for rrdtool-1.0.14 I have the following
checking reported "no"

checking for tclConfig.sh in NONE/lib... no
checking for tclConfig.sh in /usr/local/lib... no
checking for tclConfig.sh in /usr/lib... no
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for executable suffix... no
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether to build shared libraries... no
checking for fp_class.h... no
checking for fpclass... no
checking for class... no
checking for fp_class... no

When I then do the "make" using the GNU make, I have the following
warnings and error messages:

warnings:

cgi.c:30: warning: no previous prototype for `cgiHeader'
cgi.c:47: warning: no previous prototype for `cgiDecodeString'
cgi.c:76: warning: no previous prototype for `cgiInit'
gd.c:173: warning: declaration of `y1' shadows global declaration
gd.c:230: warning: declaration of `y1' shadows global declaration
gd.c:231: warning: declaration of `y1' shadows global declaration
gd.c:319: warning: declaration of `y1' shadows global declaration
gd.c:320: warning: declaration of `y1' shadows global declaration
gd.c:484: warning: pointer targets in passing arg 1 of `strlen' differ
in signedness
gd.c:496: warning: pointer targets in passing arg 1 of `strlen' differ
in signedness
gd.c:1560: warning: declaration of `y1' shadows global declaration
gd.c:1561: warning: declaration of `y1' shadows global declaration
gd.c:1568: warning: declaration of `y1' shadows global declaration
gd.c:1569: warning: declaration of `y1' shadows global declaration
gd.c:1721: warning: no previous prototype for `gdGetWord'
gd.c:1737: warning: no previous prototype for `gdPutWord'
gd.c:1743: warning: no previous prototype for `gdGetByte'
gd.c:1893: warning: declaration of `h' shadows previous local
gd.c:1963: warning: declaration of `y1' shadows global declaration
gd.c:1997: warning: declaration of `y1' shadows previous local
gd.c:1997: warning: declaration of `y2' shadows previous local
gdpng.c:18: warning: no previous prototype for `gdImagePng'
gifsize.c:59: warning: no previous prototype for `GifSize'
parsetime.c:248: warning: no previous prototype for `EnsureMemFree'
parsetime.c:300: warning: implicit declaration of function `vsnprintf'
pngsize.c:11: warning: no previous prototype for `PngSize'
rrd_error.c:25: warning: implicit declaration of function `vsnprintf'
rrd_graph.c:1581: warning: implicit declaration of function `snprintf'
rrd_cgi.c:251: warning: no previous prototype for `rrdstrip'
rrd_cgi.c:439: warning: no previous prototype for `scanargs'
trytime.c:83: warning: `%c' yields only last 2 digits of year in some
locales
trytime.c:93: warning: `%c' yields only last 2 digits of year in some
locales

errors during "make"

gcc -c -I../src -I../gd1.3 -Ae -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations

-
Wnested-externs -Winline  -fPIC    -DVERSION=\"1.000141\"
-DXS_VERSION=\"1.000141\" +z -I/opt/perl5/lib/5.00503/PA-RISC1.1/CORE
RRDs.c
gcc: +z: No such file or directory
*Initialization*:1: missing token-sequence in `#assert'
make[2]: *** [RRDs.o] Error 1
make[2]: Leaving directory
`/vdisk11/disk2/local/src/rrdtool-1.0.14/perl-shared'
make[1]: *** [perl_shared] Error 2
make[1]: Leaving directory `/vdisk11/disk2/local/src/rrdtool-1.0.14'
make: *** [all-recursive] Error 1

Thanks for your help.

David Choi
Computer Services Centre
The Chinese University of Hong Kong

david-choi at cuhk.edu.hk

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list