Hi Suzuki,<br>I reinstalled as you advised but it is still a stalemate for me as my graphs are not shown in mailgraph and cacti.Below are my configurations: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=&quot;-O3 -fPIC&quot; 
CPPFLAGS=&quot;-I/include/cairo&quot; 
--with-freetype-config=$INSTALL_DIR/bin/freetype-config<br>
<br>
fontconfig seemed  ok<br><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=&quot;-O3 -fPIC&quot;<br><br>
 # make<br><br>
<b><u>Output Error:</u></b><br>
../libtool: line 1216: libtool: compile: cannot determine name of library object from `&#39;: 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&#39;<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/usr/local/src/cairo-1.10.2/src&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/usr/local/src/cairo-1.10.2&#39;<br>
make: *** [all] Error 2<br>
<br>
<br>
<b><u>Installing pangocairo 1.28.4</u></b><br>
<br>
 #./configure --prefix=$INSTALL_DIR CFLAGS=&quot;-O3 -fPIC&quot; --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&#39;<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&#39;<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&#39;<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/usr/local/src/pango-1.28.4&#39;<br>
make: *** [all] Error 2<br><br>Installing rrdtool-1.4.7<br><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 <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  command below:<br><br>/usr/local/rrdtool/bin/rrdtool graph - \<br>--imgformat=PNG \<br>
--start=1327909638 \<br>--end=1327996038 \<br>--title=&#39;Localhost - Mail Filtering&#39; \<br>--base=1000 \<br>--height=120 \<br>--width=500 \<br>--alt-autoscale-max \<br>--lower-limit=0 \<br>COMMENT:&quot;From 2012/01/30 10\:47\:18 To 2012/01/31 10\:47\:18\c&quot; \<br>
COMMENT:&quot;  \n&quot; \<br>--vertical-label=&#39;msgs / min&#39; \<br>--slope-mode \<br>DEF:a=&quot;/usr/local/share/cacti/rra/localhost_postfix_clean_12.rrd&quot;:postfix_clean:AVERAGE \<br>DEF:b=&quot;/usr/local/share/cacti/rra/localhost_postfix_pspam_13.rrd&quot;:postfix_pspam:AVERAGE \<br>
DEF:c=&quot;/usr/local/share/cacti/rra/localhost_postfix_header_10.rrd&quot;:postfix_header:AVERAGE \<br>DEF:d=&quot;/usr/local/share/cacti/rra/localhost_postfix_spam_14.rrd&quot;:postfix_spam:AVERAGE \<br>DEF:e=&quot;/usr/local/share/cacti/rra/localhost_postfix_banned_11.rrd&quot;:postfix_banned:AVERAGE \<br>
DEF:f=&quot;/usr/local/share/cacti/rra/localhost_postfix_virus_15.rrd&quot;:postfix_virus:AVERAGE \<br>LINE2:a#00FF00FF:&quot;Clean&quot;  \<br>GPRINT:a:LAST:&quot;         Current\:%8.0lf&quot;  \<br>GPRINT:a:AVERAGE:&quot;Average\:%8.2lf%s&quot;  \<br>
GPRINT:a:MAX:&quot;Maximum\:%8.0lf\n&quot;  \<br>LINE2:b#00BBB4FF:&quot;Possibly Spam&quot;  \<br>GPRINT:b:LAST:&quot; Current\:%8.0lf&quot;  \<br>GPRINT:b:AVERAGE:&quot;Average\:%8.2lf%s&quot;  \<br>GPRINT:b:MAX:&quot;Maximum\:%8.0lf\n&quot;  \<br>
LINE2:c#817C4EFF:&quot;Bad Header&quot;  \<br>GPRINT:c:LAST:&quot;    Current\:%8.0lf&quot;  \<br>GPRINT:c:AVERAGE:&quot;Average\:%8.2lf%s&quot;  \<br>GPRINT:c:MAX:&quot;Maximum\:%8.0lf\n&quot;  \<br>LINE2:d#FFF200FF:&quot;Spam&quot;  \<br>
GPRINT:d:LAST:&quot;          Current\:%8.0lf&quot;  \<br>GPRINT:d:AVERAGE:&quot;Average\:%8.2lf%s&quot;  \<br>GPRINT:d:MAX:&quot;Maximum\:%8.0lf\n&quot;  \<br>LINE2:e#FF7D00FF:&quot;Banned Content&quot;  \<br>GPRINT:e:LAST:&quot;Current\:%8.0lf&quot;  \<br>
GPRINT:e:AVERAGE:&quot;Average\:%8.2lf%s&quot;  \<br>GPRINT:e:MAX:&quot;Maximum\:%8.0lf\n&quot;  \<br>LINE2:f#FF0000FF:&quot;Virus&quot;  \<br>GPRINT:f:LAST:&quot;         Current\:%8.0lf&quot;  \<br>GPRINT:f:AVERAGE:&quot;Average\:%8.2lf%s&quot;  \<br>
GPRINT:f:MAX:&quot;Maximum\:%8.0lf\n&quot; <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>My graphs neither show in cacti and mailgraph.I am failing to find where i am getting the whole thing wrong.<br><br><br><br><br><br><br><br><div class="gmail_quote">2012/1/28 suzuki toshiya <span dir="ltr">&lt;<a href="mailto:mpsuzuki@hiroshima-u.ac.jp">mpsuzuki@hiroshima-u.ac.jp</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
The cairo functions cairo_ft_font_face_create_for_pattern() and<br>
cairo_ft_font_options_substitute() are available when libcairo<br>
is built with fontconfig (see cairo-ft.h).<br>
<br>
Considering that pango&#39;s FreeType2 backend is designed to use<br>
both of FreeType2 and fontconfig (see <a href="http://configure.in" target="_blank">configure.in</a> of pango),<br>
thus, what I can recommend is:<br>
1) install fontconfig<br>
2) rebuild cairo to use fontconfig<br>
3) rebuild pango to use fontconfig-enabled cairo<br>
<br>
Regards,<br>
mpsuzuki<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
kibirango moses wrote:<br>
&gt; Hullo users,<br>
&gt; I am having a problem with installing pangocairo 1.28.4 for rrdtool<br>
&gt; 1.4.7 it is giving me the error below<br>
&gt; ./pango/.libs/<a href="http://libpangocairo-1.0.so" target="_blank">libpangocairo-1.0.so</a>: undefined reference to<br>
&gt; `cairo_ft_font_face_create_for_pattern&#39;<br>
&gt; ../pango/.libs/<a href="http://libpangocairo-1.0.so" target="_blank">libpangocairo-1.0.so</a>: undefined reference to<br>
&gt; `cairo_ft_font_options_substitute&#39;<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make[3]: *** [pango-view] Error 1<br>
&gt; make[3]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view&#39;<br>
&gt; make[2]: *** [all] Error 2<br>
&gt; make[2]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view&#39;<br>
&gt; make[1]: *** [all-recursive] Error 1<br>
&gt; make[1]: Leaving directory `/usr/local/src/pango-1.28.4&#39;<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt; Could anyone out there help on fixing this .<br>
&gt;<br>
&gt; Thanx in advance<br>
</div></div><span class="HOEnZb"><font color="#888888">&gt; --<br>
&gt; cairo mailing list<br>
&gt; <a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
&gt; <a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
<br>
</font></span></blockquote></div><br>