[rrd-users] Re: RRDs 1.0.7 and 1.0.8 'make test' chokes on OpenBSD 2.5 w. perl 5. 00503.
Tobias Oetiker
oetiker at ee.ethz.ch
Mon Nov 29 08:13:30 MET 1999
Yesterday you sent me mail regarding [rrd-users] RRDs 1.0.7 and 1.0.8 'make...:
*>
*> Had anyone had success with building RRDs on OpenBSD 2.5 with perl 5.00503
*> and GCC 2.8.1? It keeps choking on "create", and I can't quite figure out
*> why. Do any of you have suggestions?
the problem seems to be that the -PIC switch is not supplied while compiling
the components of rrdtool ...
cheers
tobi
*>
*> Here is the output from 'make test' in perl-shared:
*> -----------
*>
*>
*> bash-2.03$ cd perl-shared
*> bash-2.03$ ls
*> MANIFEST Makefile.PL RRDs.bs RRDs.o RRDs.xs ntmake.pl
*> rrdpl.dsp t
*> Makefile README RRDs.c RRDs.pm blib pm_to_blib
*> rrdpl.dsw
*> bash-2.03$ make test
*> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
*> -I/usr/local/perl-5.00503/lib/5.00503/OpenBSD.i386-openbsd
*> -I/usr/local/perl-5.00503/lib/5.00503 -e 'use Test::Harness qw(&runtests
*> $verbose); $verbose=0; runtests @ARGV;' t/*.t
*> t/base..............dubious
*> Test returned status 0 (wstat 139, 0x8b)
*> test program seems to have generated a core
*> DIED. FAILED tests 2-5
*> Failed 4/5 tests, 20.00% okay
*> Failed Test Status Wstat Total Fail Failed List of failed
*> ----------------------------------------------------------------------------
*> ---
*> t/base.t 0 139 5 4 80.00% 2-5
*> Failed 1/1 test scripts, 0.00% okay. 4/5 subtests failed, 20.00% okay.
*> *** Error code 2
*>
*> Stop in /home/jeff/work/rrdtool-1.0.8/perl-shared.
*>
*>
*> ------- Here's a single step through the test script:
*>
*> bash-2.03$ perl -d t/base.t
*>
*> Loading DB routines from perl5db.pl version 1.0402
*> Emacs support available.
*>
*> Enter h or `h h' for help.
*>
*> 1..5
*> main::(t/base.t:21): $loaded = 1;
*> DB<1> n
*> main::(t/base.t:22): my $ok_count = 1;
*> DB<1> n
*> main::(t/base.t:24): ok("loading",1);
*> DB<1> n
*> ok 1 loading
*> main::(t/base.t:28): my $STEP = 100;
*> DB<1> n
*> main::(t/base.t:29): my $RUNS = 500;
*> DB<1> n
*> main::(t/base.t:30): my $GRUNS = 4;
*> DB<1> n
*> main::(t/base.t:31): my $RRD1 = "demo1.rrd";
*> DB<1> n
*> main::(t/base.t:32): my $RRD2 = "demo2.rrd";
*> DB<1> n
*> main::(t/base.t:33): my $GIF1 = "demo1.gif";
*> DB<1> n
*> main::(t/base.t:34): my $GIF2 = "demo2.gif";
*> DB<1> n
*> main::(t/base.t:35): my $time = 30*int(time/30);
*> DB<1> n
*> main::(t/base.t:36): my $START = $time-$RUNS*$STEP;
*> DB<1> n
*> main::(t/base.t:38): my @options = ("-b", $START, "-s", $STEP,
*> main::(t/base.t:39): "DS:a:GAUGE:2000:U:U",
*> main::(t/base.t:40): "DS:b:GAUGE:200:U:U",
*> main::(t/base.t:41): "DS:c:GAUGE:200:U:U",
*> main::(t/base.t:42): "DS:d:GAUGE:200:U:U",
*> main::(t/base.t:43): "DS:e:DERIVE:200:U:U",
*> main::(t/base.t:44): "RRA:AVERAGE:0.5:1:5000",
*> main::(t/base.t:45): "RRA:AVERAGE:0.5:10:500");
*> DB<1> n
*> main::(t/base.t:47): print "* Creating RRD $RRD1 starting at $time.\n\n";
*> DB<1> n
*> * Creating RRD demo1.rrd starting at 943663050.
*>
*> main::(t/base.t:48): RRDs::create $RRD1, @options;
*> DB<1> n
*> Signal SEGV: No such file or directory
*> Abort trap (core dumped)
*> bash-2.03$
*>
*>
*> - Jeff Younker - jeff at mdli.com - These are my opinions, not MDL's -
*>
*> --
*> * 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