[rrd-users] Re: building rrdtool on Mac OS X

Bill Burns shadow at burnsfamily.net
Mon May 30 17:40:38 MEST 2005


On May 30, 2005, at 7:54 AM, Philippe Sainte-Marie wrote:

> Le 29 mai 05 à 06:45, Bill Burns a écrit :
>
>
>> First of all, thanks for 1.2.9!  It compiles perfectly on Mac OS X
>> (10.4.1)!
>>
>
> You're quite lucky, i didn't get the chance to get it compiled:
>
> gcc -DHAVE_CONFIG_H "-DMAKE_TIMESTAMP=\"Mon May 30 16:31:17 CEST 2005
> \"" -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.9/share/
> rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2009 -I/tmp/
> rrdbuild/lb/include -I/tmp/rrdbuild/lb/include/libart-2.0 -I/tmp/
> rrdbuild/lb/include/freetype2 -I/tmp/rrdbuild/lb/include/libpng -I/
> usr/include/libart-2.0 -I/usr/include/freetype2 -D_THREAD_SAFE -
> D_THREAD_SAFE -O3 -fno-common -DPIC -Wall -pedantic -Wshadow -
> Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-
> declarations -Wnested-externs -Winline -W -MT librrd_th_la-
> rrd_thread_safe.lo -MD -MP -MF .deps/librrd_th_la-rrd_thread_safe.Tpo
> -c rrd_thread_safe.c -o librrd_th_la-rrd_thread_safe.o >/dev/null 2>&1
> /bin/sh ../libtool --tag=CC --mode=link gcc  -O3  -fno-common -DPIC -
> Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-
> prototypes -Wmissing-declarations -Wnested-externs -Winline -W  -L/
> tmp/rrdbuild/lb/lib -o rrdtool   librrd.la -lfreetype -lpng -lz -
> lart_lgpl_2 -lcgi
> libtool: link: cannot find the library `librrd.la'
> make[2]: *** [rrdtool] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> serveurx:/tmp/rrdbuild/rrdtool-1.2.9 root# gcc
> powerpc-apple-darwin8-gcc-4.0.0: no input files
>
> I'm using gcc4, i tried gcc3.3 without success.
> All libs compiling are successful.
>
> Any hints ?
>

I couldn't get the Mac to do the final compile with 1.2.8 either, but  
there are some new Mac OS X specific hints buried within  
$your_rrdtool_src_dir/doc/rrdbuild.txt.  I found this by following  
the change log.  (These hints are NOT on the rrdbuild webpage  
instructions).  Following the Mac-specific instructions made it  
compile smoothly.

Bonne chance!

bill



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