[rrd-users] Can't locate RRDs.pm - make site-perl-install failure

michael.cormier at cgi.com michael.cormier at cgi.com
Wed Jul 6 13:38:51 MEST 2005


Hello all,
When I tried to run any of the examples I received the "Can't locate
RRDs.pm in @INC" error. Does anyone have any suggestions for how to fix
this? 

 

OS: Solaris 9

RRDTools: 1.2.10

Error: Can't locate RRDs.pm in @INC (@INC contains:
/usr/local/rrdtool-1.2.10/lib/perl/5.8.3/sun4-solaris
/usr/local/rrdtool-1.2.10/lib/perl/5.8.3
/usr/local/rrdtool-1.2.10/lib/perl
/usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .)
at ./minmax.pl line 5.

BEGIN failed--compilation aborted at ./minmax.pl line 5.

 

./configure 

 

<stuff deleted>

 

checking for cc_r... gcc

checking for perl... /usr/local/bin/perl

checking for the perl version you are running... 5.8.3

checking for the C compiler perl wants to use to build its modules...
gcc -B/usr/ccs/bin/

checking for gcc -B/usr/ccs/bin/... no

configure: WARNING:

I would not find the Compiler (gcc -B/usr/ccs/bin/) that was originally
used to compile your

perl binary. You should either make sure that this compiler is available
on your

system, or use a different perl setup that was compiled with gcc.

 

I will disable the compilation of the RRDs perl module.

 

checking Perl Modules to build... perl_piped

 

<stuff deleted>

 

----------------------------------------------------------------

Config is DONE!

 

          With MMAP IO: yes

          Perl Modules: perl_piped

           Perl Binary: /usr/local/bin/perl

          Perl Version: 5.8.3

          Perl Options: PREFIX=/usr/local/rrdtool-1.2.10
LIB=/usr/local/rrdtool-1.2.10/lib/perl/5.8.3

    Build Tcl Bindings: no

 Build Python Bindings: no

          Build rrdcgi: yes

       Build librrd MT: yes

 

 

Type 'make' to compile the software and use 'make install' to 

install everything to: /usr/local/rrdtool-1.2.10.

 

       ... that wishlist is NO JOKE. If you find RRDtool useful

make me happy. Go to http://people.ee.ethz.ch/oetiker/wish and

place an order.

 

                               -- Tobi Oetiker <tobi at oetiker.ch>

----------------------------------------------------------------

 

=> pwd

/tmp/rrdbuild/rrdtool-1.2.10

=> make site-perl-install

make  all-recursive

make[1]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10'

Making all in src

make[2]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10/src'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10/src'

Making all in bindings

make[2]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10/bindings'

Making all in tcl

make[3]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10/bindings/tcl'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10/bindings/tcl'

Making all in python

make[3]: Entering directory
`/tmp/rrdbuild/rrdtool-1.2.10/bindings/python'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/tmp/rrdbuild/rrdtool-1.2.10/bindings/python'

make[3]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10/bindings'

cd perl-piped && make

make[4]: Entering directory
`/tmp/rrdbuild/rrdtool-1.2.10/bindings/perl-piped'

make[4]: Leaving directory
`/tmp/rrdbuild/rrdtool-1.2.10/bindings/perl-piped'

make[3]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10/bindings'

make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10/bindings'

Making all in doc

make[2]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10/doc'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10/doc'

Making all in examples

make[2]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10/examples'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10/examples'

make[2]: Entering directory `/tmp/rrdbuild/rrdtool-1.2.10'

make[2]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10'

make[1]: Leaving directory `/tmp/rrdbuild/rrdtool-1.2.10'

make: *** No rule to make target `bindings/perl-shared/Makefile', needed
by `site-perl-install'.  Stop.

 


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