[rrd-users] Can't build/install perl modules rrdtool 1.2.12

Ruttenberg, Tanya Tanya.Ruttenberg at ssa.gov
Tue Dec 27 17:01:07 MET 2005


I am trying to build rrdtool 1.2.12 with perl modules built and installed.
I've tried a variety of things and nothing seems to work.  Nor can I find
the documentation on how to do this?  I'm sure I'm just getting senile in my
old age, but I need help!

I'm building this exactly according to instructions in rrdbuild man page.
On Solaris8 btw.

I configured with this:

./configure --enable-perl-site-install --prefix=$INSTALL_DIR
--disable-python --disable-tcl

Then "make"-ed and installed.  It went just find.

A find in /usr/local only gives me my old installation:

/usr/local/rrdtool-1.0.49/lib/perl/RRDs.pm

So I went back to BUILD_DIR/rrdtool-1.2.12 and did this:

s00c160# make site-perl-inst
make  all-recursive
Making all in src
Making all in bindings
cd perl-piped && make
Making all in doc
Making all in examples
make: Fatal error: Don't know how to make target
`bindings/perl-shared/Makefile'

No dice.  So I went down to
/tmp/rrdbuild/rrdtool-1.2.12/bindings/perl-shared and did the following:

s00c160# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
s00c160# make test

<<<<<<lots of output provided on demand>>>>>
<<<<<<bottom line is here>>>>>>>>>>>>>>>>>>>

t/base....Can't load
'/tmp/rrdbuild/rrdtool-1.2.12/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.
so' for module RRDs: ld.so.1: /usr/local/bin/perl: fatal: relocation error:
file
/tmp/rrdbuild/rrdtool-1.2.12/bindings/perl-shared/blib/arch/auto/RRDs/RRDs.s
o: symbol rrd_test_error: referenced symbol not found at
/usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 230.
 at t/base.t line 20
Compilation failed in require at t/base.t line 20.
BEGIN failed--compilation aborted at t/base.t line 20.
t/base....dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/base.t     255 65280     7   13 185.71%  1-7
Failed 1/1 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
s00c160# h |grep config


What am I doing wrong here???


Tanya Ruttenberg - RSIS Contractor
OTSO/DNE/NMPEB
tanya.ruttenberg at ssa.gov
410-965-9605

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list