[rrd-users] compiling rrdtool for hp-ux 11.00

Stefan Mueller s.mueller at computer.org
Thu Oct 7 13:34:50 MEST 1999


hi all!
i plan to use rrdtool on a hp-ux 11 platform and encountered several
problems when compiling it. note that a did not use gcc but hp's
softbench c compiler.

here follows the symptoms i had when building the rrdtool (i also tried
the latest patch). the solutions are no real solutions, maybe some
autoconf expert could fix this in configure.in.

(1) *** configure ***
ieee math fails

solution: add an "#include <math.h>" to the test 'ieee math out of the
box' and configure works fine.

(2) *** compiling ***

Making all in src
        /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../config -I../cgilib-0.4 -I../gd1.3 -I../libpng-1.0.3
-I../zlib-1.1.3    -g -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I../config -I../cgilib-0.4 -I../gd1.3
-I../libpng-1.0.3 -I../zlib-1.1.3 -g -c getopt.c -o getopt.o
cpp: "../config/config.h", line 132: error 4062: "Can't compile without
finite function"
cpp: "../config/config.h", line 136: error 4062: "Can't compile without
isinf function"

problem:
hp-ux has isinf and isfinite, but configure does not recognize it.

solution: 
i modified config.h the following way:

#define finite(a) (isfinite(a))
#define HAVE_FINITE 1
#define HAVE_ISINF 1

(3) *** compiling ***

        cd perl-piped && make  OPTIMIZE="-g"
        cd perl-shared && make OPTIMIZE="-g"
        LD_RUN_PATH="" ld -o blib/arch/auto/RRDs/RRDs.sl  -b
-L/usr/local/lib RRDs.o ../src/.libs/librrd_private.a -lm    
ld: Invalid loader fixup in text space needed in output file for symbol
"$000000D5" in input file "../src/.libs/librrd_private.a(rrd_graph.o)"
*** Error exit code 1

no solution. can anybody help?

thanks
/stefan

--
stefan mueller
address: steinstrasse 38, 8003 zuerich, switzerland
phone:   +41 1 4625458 (home), +41 1 8123895 (office)
email:   s.mueller at computer.org

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list