[rrd-users] RRD perl module build error on OS X 10.3 Panther

Noah Leaman noah at mac.com
Wed Oct 29 12:44:36 MET 2003


Anyone else having this problem or have had a similar problem? When 
trying to build the perl module to compile on OS X 10.3 Panther I get 
this...

cd perl-shared && /usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for RRDs
cd perl-shared && make
cp ntmake.pl blib/lib/ntmake.pl
cp RRDs.pm blib/lib/RRDs.pm
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.8.1/ExtUtils/typemap  RRDs.xs > RRDs.xsc && mv 
RRDs.xsc RRDs.c
cc -c  -I../src -I../gd1.3 -g -pipe -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os   
-DVERSION=\"1.000421\" -DXS_VERSION=\"1.000421\"  
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"  
-DPERLPATCHLEVEL=8 RRDs.c
In file included from ../src/rrd_tool.h:72,
                  from RRDs.xs:13:
../src/rrd.h:50: error: redefinition of `struct time_value'
make[2]: *** [RRDs.o] Error 1
make[1]: *** [perl_shared] Error 2
make: *** [all-recursive] Error 1

I am not a guru on this sort of thing so I might missing something. 
RRDTool builds and runs with no problem but can't get RRDs.pm and 
RRDs.bundle to compile because (apparently) of the redefinition of 
`struct time_value' error in rrd.h.

I have tried all the back to 1.0.42 but it's not working with any up to 
the current 1.0.45.

-- 
Noah

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



More information about the rrd-users mailing list