Hullo Users,<br><br><br>I am failing to install rrdtool and below are the erros i am getting:<br><br>The installation guide i used is from <a href="http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html">http://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html</a><br>
<br><b><u>Configuring FontConfig</u></b><br><br> #./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC" CPPFLAGS="-I/include/cairo" --with-freetype-config=$INSTALL_DIR/bin/freetype-config<br><br>fontconfig seemed ok<br>
<b><u>Configuring Cairo 1.10.2</u></b><br><br> #./configure --prefix= --cache-file=config.cache --disable-static --enable-test-surfaces --enable-symbol-lookup=yes CFLAGS="-O3 -fPIC"<br> # make<br><b><u>Output Error:</u></b><br>
../libtool: line 1216: libtool: compile: cannot determine name of library object from `': command not found<br>make[3]: *** [cairo-analysis-surface.lo] Error 1<br>make[3]: Leaving directory `/usr/local/src/cairo-1.10.2/src'<br>
make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/usr/local/src/cairo-1.10.2/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/usr/local/src/cairo-1.10.2'<br>make: *** [all] Error 2<br>
<br><br><b><u>Installing pangocairo 1.28.4</u></b><br><br> #./configure --prefix=$INSTALL_DIR CFLAGS="-O3 -fPIC" --disable-libtool-lock --with-x <br><u><b>output at end</b></u><br>configuration:<br> backends: Cairo FreeType X<br>
# make<br><b><u>output error</u></b>:<br><br>../pango/.libs/<a href="http://libpangocairo-1.0.so">libpangocairo-1.0.so</a>: undefined reference to `cairo_ft_font_options_substitute'<br>../pango/.libs/<a href="http://libpangocairo-1.0.so">libpangocairo-1.0.so</a>: undefined reference to `cairo_ft_font_face_create_for_pattern'<br>
collect2: ld returned 1 exit status<br>make[3]: *** [pango-view] Error 1<br>make[3]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/usr/local/src/pango-1.28.4'<br>make: *** [all] Error 2<br><br><b><u>Installing rrdtool-1.4.7</u></b><br><br><br>* I found a copy of pkgconfig, but there is no pangocairo.pc file around.<br>
You may want to set the PKG_CONFIG_PATH variable to point to its<br> location.<br>----------------------------------------------------------------------------<br><br>configure: WARNING:<br>----------------------------------------------------------------------------<br>
* I could not find a working copy of pangocairo. Check config.log for hints on why<br> this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately<br> so that compiler and the linker can find libpangocairo-1.0 and its header files. If<br>
you have not installed pangocairo, you can get it either from its original home on<br><br> <a href="http://ftp.gnome.org/pub/GNOME/sources/pango/1.28">http://ftp.gnome.org/pub/GNOME/sources/pango/1.28</a><br><br> You can find also find an archive copy on<br>
<br> <a href="http://oss.oetiker.ch/rrdtool/pub/libs">http://oss.oetiker.ch/rrdtool/pub/libs</a><br><br> The last tested version of pangocairo is 1.28.4.<br><br> LIBS=-lcairo -lcairo -lcairo -lm -lcairo -lpng15<br>
LDFLAGS=-Wl,--rpath -Wl,/lib -L/lib<br> CPPFLAGS= -I/include/cairo -I/include/libpng15 -I/include/glib-2.0 -I/lib/glib-2.0/include -I/include/pixman-1 -I/include/freetype2 -I/include<br><br>But <b>pangocairo.pc</b> is found.<br>
<br>root@gateway:/usr/local/src/rrdtool-1.4.7# locate pangocairo.pc<br>/usr/lib/pkgconfig/pangocairo.pc<br><br><br>On running the rrdtool graph command below <br><br>/usr/local/rrdtool/bin/rrdtool graph - \<br>--imgformat=PNG \<br>
--start=1327909638 \<br>--end=1327996038 \<br>--title='Localhost - Mail Filtering' \<br>--base=1000 \<br>--height=120 \<br>--width=500 \<br>--alt-autoscale-max \<br>--lower-limit=0 \<br>COMMENT:"From 2012/01/30 10\:47\:18 To 2012/01/31 10\:47\:18\c" \<br>
COMMENT:" \n" \<br>--vertical-label='msgs / min' \<br>--slope-mode \<br>DEF:a="/usr/local/share/cacti/rra/localhost_postfix_clean_12.rrd":postfix_clean:AVERAGE \<br>DEF:b="/usr/local/share/cacti/rra/localhost_postfix_pspam_13.rrd":postfix_pspam:AVERAGE \<br>
DEF:c="/usr/local/share/cacti/rra/localhost_postfix_header_10.rrd":postfix_header:AVERAGE \<br>DEF:d="/usr/local/share/cacti/rra/localhost_postfix_spam_14.rrd":postfix_spam:AVERAGE \<br>DEF:e="/usr/local/share/cacti/rra/localhost_postfix_banned_11.rrd":postfix_banned:AVERAGE \<br>
DEF:f="/usr/local/share/cacti/rra/localhost_postfix_virus_15.rrd":postfix_virus:AVERAGE \<br>LINE2:a#00FF00FF:"Clean" \<br>GPRINT:a:LAST:" Current\:%8.0lf" \<br>GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \<br>
GPRINT:a:MAX:"Maximum\:%8.0lf\n" \<br>LINE2:b#00BBB4FF:"Possibly Spam" \<br>GPRINT:b:LAST:" Current\:%8.0lf" \<br>GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \<br>GPRINT:b:MAX:"Maximum\:%8.0lf\n" \<br>
LINE2:c#817C4EFF:"Bad Header" \<br>GPRINT:c:LAST:" Current\:%8.0lf" \<br>GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \<br>GPRINT:c:MAX:"Maximum\:%8.0lf\n" \<br>LINE2:d#FFF200FF:"Spam" \<br>
GPRINT:d:LAST:" Current\:%8.0lf" \<br>GPRINT:d:AVERAGE:"Average\:%8.2lf%s" \<br>GPRINT:d:MAX:"Maximum\:%8.0lf\n" \<br>LINE2:e#FF7D00FF:"Banned Content" \<br>GPRINT:e:LAST:"Current\:%8.0lf" \<br>
GPRINT:e:AVERAGE:"Average\:%8.2lf%s" \<br>GPRINT:e:MAX:"Maximum\:%8.0lf\n" \<br>LINE2:f#FF0000FF:"Virus" \<br>GPRINT:f:LAST:" Current\:%8.0lf" \<br>GPRINT:f:AVERAGE:"Average\:%8.2lf%s" \<br>
GPRINT:f:MAX:"Maximum\:%8.0lf\n" <br><br><u><b>Output error:</b></u><br><br>/usr/local/rrdtool/bin/rrdtool: symbol lookup error: /usr/local/lib/libpangocairo-1.0.so.0: undefined symbol: cairo_ft_font_options_substitute<br>
<br>What relation ship does /include/cairo/cairo-ft.h file have with the fonts and libpangocairo how can it be tweaked to work<br><br>The Graphs are not even shown in cacti interface. <br><br>Could someone out there help on fixing these errors thanx in advance<br>
<br><br><br><br><br>