[rrd-users] error building 1.2.11 in Darwin 8/MacOSX 10.4.x

D.Walsh info at daleenterprise.com
Sun Oct 23 22:36:50 MEST 2005


installed libart-2.0 with a prefix of /usr/local.

installed zlib, libpng and freetype2 with prefix of /usr/local.

attempt to build rrdtool-1.2.11 with prefix of /usr/local/rrdtool-1.2.11

actual configure command:
./configure --prefix=/usr/local/rrdtool-1.2.11 --mandir=/usr/local/ 
man --disable-tcl --disable-rrdcgi --disable-python LIBS="-lpng -lz"  
CPPFLAGS="-I/usr/local/include/libart-2.0 -I/usr/local/include/ 
freetype2"


  gcc "-DMAKE_TIMESTAMP=\"Sun Oct 23 05:06:45 EDT 2005\"" -I. -I. - 
I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.11/share/rrdtool/ 
fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2011 -I/usr/local/ 
include/libart-2.0 -I/usr/local/include/freetype2 -I/usr/include/ 
libart-2.0 -I/usr/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE -g - 
O2 -fno-common -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcast- 
align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs - 
Winline -W -c rrd_dump.c -MT librrd_th_la-rrd_dump.lo -MD -MP - 
MF .deps/librrd_th_la-rrd_dump.TPlo  -fno-common -DPIC -o .libs/ 
librrd_th_la-rrd_dump.o
rrd_dump.c:91:3: error: #error "Need strftime"
rrd_dump.c:317:3: error: #error "Need strftime"
rrd_dump.c: In function 'rrd_dump_r':
rrd_dump.c:76: warning: unused variable 'tm'
make[2]: *** [librrd_th_la-rrd_dump.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



rrdtool-1.2.6 builds without any errors using the following:
./configure --prefix=/usr/local/rrdtool-1.2.6 --mandir=/usr/local/man  
--disable-tcl --disable-rrdcgi --disable-python LIBS="-lpng -lz"  
CPPFLAGS="-I/usr/local/include/libart-2.0 -I/usr/local/include/ 
freetype2"



Previously I've been working with rrdtool-1.0.49, this builds without  
installing libart-2.0 and I like the idea that additional software  
like libart-2.0 wasn't required to be installed.

I've rewritten the rrdtool PHP module to work properly on all  
platforms and have a modified version that appears to work properly  
using 1.2.6 but I have not made the module dynamic in that it is  
unable to detect the version installed and auto-select the  
appropriate rrd_graph() API

http://www.daleenterprise.com/info.php
http://www.daleenterprise.com/rrdtool_info.php

The lack of a missing library version routine is annoying at best and  
only adds to the process for a user who may not know enough

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