[rrd-users] rrdtool-1.4.7 build problem on OSX

Mike Schilli m at perlmeister.com
Tue Mar 6 18:42:33 CET 2012

On my Mac (OSX 10.6.8, Darwin 10.8.0), after running "./configure" and
"make", I get

...  tclrrd.c: In function ‘Rrd_Graph’:tclrrd.c:507: warning: cast from
pointer to integer of different size gcc -dynamiclib -g -O2
-D_GNU_SOURCE -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wundef
-Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition
-W  -L/opt/local/lib     -L/opt/local/lib     -Wl,-single_module
-L../../src/.libs -L../../src -L/opt/rrdtool-1.4.7/lib tclrrd.o -o
tclrrd1.4.7.dylib -lrrd_th -lm
-L/System/Library/Frameworks/Tcl.framework/Versions/8.5 -ltclstub8.5
-L/opt/local/lib     -L/opt/local/lib    ld: warning: directory
'/opt/rrdtool-1.4.7/lib' following -L not found cd perl-piped &&
/usr/local/bin/perl Makefile.PL PREFIX=/opt/rrdtool-1.4.7
LIB=/opt/rrdtool-1.4.7/lib/perl/5.12.3 Checking if your kit is
complete... Looks good

Only one of PREFIX or INSTALL_BASE can be given.  Not both.

make[3]: *** [perl-piped/Makefile] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Seems like it's expecting the directory /opt/rrdtool-1.4.7 to exist
before it creates it.

Would be great if you could look into it.


  -- -- Mike

Mike Schilli
m at perlmeister.com

More information about the rrd-users mailing list