[Orca-users] Installing Perl modules

Dirk Kuypers Dirk at Kuypers.de
Fri Feb 2 06:29:15 PST 2001


Hi,

i wanted to install orca 0.26 and the only thing which didn't compile
was the RRD Perl module. 

[root at kirk] perl-shared-old: make test
cc -c -I../src -I../gd1.3 -g -DDEBUGGING -I/usr/local/include
-I/opt/gnu/include -I/usr/global/include -g
-DVERSION=\"1.000131\" -DXS_VERSION=\"1.000131\" -fPIC
-I/usr/global/lib/perl5/5.6.0/sun5-solaris/CORE  RRDs.c
RRDs.xs: In function `XS_RRDs_last':
RRDs.xs:72: `na' undeclared (first use in this function)
RRDs.xs:72: (Each undeclared identifier is reported only once
RRDs.xs:72: for each function it appears in.)
RRDs.xs: In function `XS_RRDs_create':
RRDs.xs:84: `na' undeclared (first use in this function)
RRDs.xs: In function `XS_RRDs_update':
RRDs.xs:97: `na' undeclared (first use in this function)
RRDs.xs: In function `XS_RRDs_tune':
RRDs.xs:110: `na' undeclared (first use in this function)
RRDs.xs: In function `XS_RRDs_graph':
RRDs.xs:128: `na' undeclared (first use in this function)
RRDs.xs: In function `XS_RRDs_fetch':
RRDs.xs:175: `na' undeclared (first use in this function)
make: *** [RRDs.o] Error 1                                                                                             

Because it was from an old rrdtool version (1.0.13), I copied the
perl-shared directory fo the latest version (1.0.28) into place, did a
manual

perl Makefile.PL
make test

but got the following output:

[root at kirk] perl-shared: make test
 
cc -c -I../src -I../gd1.3 -g -DDEBUGGING -I/usr/local/include
-I/opt/gnu/include -I/usr/global/include -O
-DVERSION=\"1.000281\" -DXS_VERSION=\"1.000281\" -fPIC
-I/usr/global/lib/perl5/5.6.0/sun5-solaris/CORE -DPERLPATCHLEVEL=6
RRDs.cRRDs.xs: In function `XS_RRDs_info':
RRDs.xs:225: `info_t' undeclared (first use in this function)
RRDs.xs:225: (Each undeclared identifier is reported only once
RRDs.xs:225: for each function it appears in.)
RRDs.xs:225: `data' undeclared (first use in this function)
RRDs.xs:225: `save' undeclared (first use in this function)
RRDs.xs:226: parse error before `int'
RRDs.xs:231: `argv' undeclared (first use in this function)
RRDs.xs:233: `i' undeclared (first use in this function)
RRDs.xs:249: `hash' undeclared (first use in this function)
RRDs.xs:256: `RD_I_VAL' undeclared (first use in this function)
RRDs.xs:262: `RD_I_CNT' undeclared (first use in this function)
RRDs.xs:265: `RD_I_STR' undeclared (first use in this function)
RRDs.xs:257: warning: unreachable code at beginning of switch statement
RRDs.xs:275: `RETVAL' undeclared (first use in this function)
make: *** [RRDs.o] Error 1

Perl version is:

[root at kirk] perl-shared: perl -v
This is perl, v5.6.0 built for sun5-solaris

The machine is a Sun E450 with Solaris 2.7

[root at kirk] perl-shared: uname -a
SunOS kirk 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-4

Did I miss some include-directory?!?

Thanks
	Dirk

-- 
  private                       office
  Juelicher Strasse 206-208     ComNets - RWTH Aachen
  52070 Aachen                  Lehrstuhl fuer Kommunikationsnetze
  Phone +49 (0) 241 961180      Phone +49 (0) 241 8793779



More information about the Orca-users mailing list