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

Tobias Oetiker tobi at oetiker.ch
Thu Mar 8 07:50:16 CET 2012


Hi Mike,

Tuesday Mike Schilli wrote:

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

running grep -r INSTALL_BASE . over the rrdtool source, I cann not
see any matches ...

cheers
tobi

>
> Would be great if you could look into it.
>
> Thanks!
>
>  -- -- Mike
>
> Mike Schilli
> m at perlmeister.com

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list