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

Tobias Oetiker oetiker at ee.ethz.ch
Sun Oct 24 11:31:57 MEST 1999


Oct 7 you sent me mail regarding [rrd-users] compiling rrdtool for hp-ux 11.00:

*> 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.

OK its in ...

*> 
*> (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

hmmm this is not clean ... we must make the check for isinf work

*> (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?

this might be an issue with your perl installation ... 

cheers
tobi
*> 
*> 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
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* 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