[rrd-users] rrdtool 1.4.8 doesn't compile

Иван Стрельников earthquake_90 at mail.ru
Thu Feb 13 19:39:49 CET 2014


Good day!
Could you please help me with this problem.
I compiled all dependencies by hands, but result was the same.
uname -a: Linux nfsen 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) 
x86_64 GNU/Linux
RRD need for nfsen.
Thankx for reading!
Many thanks for answering.

[root at nfsen /usr/local/src/tmp/rrdtool-1.4.8]$ make clean && make
Making clean in bindings
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/bindings'
Making clean in .
make[2]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/bindings'
rm -rf .libs _libs
test -f perl-piped/Makefile && cd perl-piped && make clean || true
test -f perl-piped/Makefile && rm perl-piped/Makefile || true
test -f perl-shared/Makefile && cd perl-shared && make clean || true
test -f perl-shared/Makefile && rm -f perl-shared/Makefile || true
test -f ruby/Makefile && cd ruby && make clean && rm Makefile || true
test -d python/build && cd python &&  rm -rf build || true
rm -f *.lo
make[2]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/bindings'
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/bindings'
Making clean in doc
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/doc'
test -z "*.1 *.3 *.html *.txt *-dircache RRD?.pod *.pdf *~ core 
*itemcache *.rej *.orig *.tmp" || rm -f *.1 *.3 *.html *.txt *-dircache 
RRD?.pod *.pdf *~ core *itemcache *.rej *.orig *.tmp
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/doc'
Making clean in examples
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/examples'
Making clean in rrdcached
make[2]: Entering directory 
`/usr/local/src/tmp/rrdtool-1.4.8/examples/rrdcached'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory 
`/usr/local/src/tmp/rrdtool-1.4.8/examples/rrdcached'
Making clean in .
make[2]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/examples'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/examples'
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/examples'
Making clean in src
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/src'
  rm -f rrdtool rrdupdate rrdcached rrdcgi
test -z "librrd.la librrd_th.la" || rm -f librrd.la librrd_th.la
rm -f "./so_locations"
rm -f "./so_locations"
rm -rf .libs _libs
test -z "librrdupd.la" || rm -f librrdupd.la
rm -f "./so_locations"
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/src'
Making clean in po
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/po'
rm -f *.insert-header
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* rrdtool.po rrdtool.1po rrdtool.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/po'
Making clean in .
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8'
test -z "config.cache" || rm -f config.cache
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8'
make  all-recursive
make[1]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8'
Making all in po
make[2]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/po'
make[2]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/po'
Making all in src
make[2]: Entering directory `/usr/local/src/tmp/rrdtool-1.4.8/src'
   CC     rrd_version.lo
   CC     rrd_last.lo
   CC     rrd_lastupdate.lo
   CC     rrd_first.lo
   CC     rrd_restore.lo
   CC     rrd_dump.lo
   CC     rrd_flushcached.lo
   CC     rrd_fetch.lo
   CC     rrd_resize.lo
   CC     rrd_tune.lo
   CC     rrd_graph.lo
rrd_graph.c: In function 'rrd_graph_init':
rrd_graph.c:4159:5: warning: 'pango_cairo_font_map_create_context' is 
deprecated (declared at /usr/include/pango-1.0/pango/pangocairo.h:79): 
Use 'pango_font_map_create_context' instead [-Wdeprecated-declarations]
      context = 
pango_cairo_font_map_create_context((PangoCairoFontMap*)fontmap);
      ^
   CC     rrd_graph_helper.lo
   CC     rrd_xport.lo
   CC     rrd_gfx.lo
   CC     pngsize.lo
   CC     rrd_create.lo
   CC     hash_32.lo
   CC     rrd_parsetime.lo
   CC     rrd_hw.lo
   CC     rrd_hw_math.lo
   CC     rrd_hw_update.lo
   CC     rrd_diff.lo
   CC     rrd_format.lo
   CC     rrd_info.lo
   CC     rrd_error.lo
   CC     rrd_open.lo
   CC     rrd_client.lo
   CC     rrd_nan_inf.lo
   CC     rrd_rpncalc.lo
   CC     rrd_utils.lo
   CC     rrd_update.lo
   CC     rrd_not_thread_safe.lo
   CCLD   librrdupd.la
   GEN    librrd.sym
   CCLD   librrd.la
   CC     librrd_th_la-rrd_create.lo
   CC     librrd_th_la-hash_32.lo
   CC     librrd_th_la-rrd_parsetime.lo
   CC     librrd_th_la-rrd_hw.lo
   CC     librrd_th_la-rrd_hw_math.lo
   CC     librrd_th_la-rrd_hw_update.lo
   CC     librrd_th_la-rrd_diff.lo
   CC     librrd_th_la-rrd_format.lo
   CC     librrd_th_la-rrd_info.lo
   CC     librrd_th_la-rrd_error.lo
   CC     librrd_th_la-rrd_open.lo
   CC     librrd_th_la-rrd_client.lo
   CC     librrd_th_la-rrd_nan_inf.lo
   CC     librrd_th_la-rrd_rpncalc.lo
   CC     librrd_th_la-rrd_utils.lo
   CC     librrd_th_la-rrd_update.lo
   CC     librrd_th_la-rrd_version.lo
   CC     librrd_th_la-rrd_last.lo
   CC     librrd_th_la-rrd_lastupdate.lo
   CC     librrd_th_la-rrd_first.lo
   CC     librrd_th_la-rrd_restore.lo
   CC     librrd_th_la-rrd_dump.lo
   CC     librrd_th_la-rrd_flushcached.lo
   CC     librrd_th_la-rrd_fetch.lo
   CC     librrd_th_la-rrd_resize.lo
   CC     librrd_th_la-rrd_tune.lo
   CC     librrd_th_la-rrd_graph.lo
rrd_graph.c: In function 'rrd_graph_init':
rrd_graph.c:4159:5: warning: 'pango_cairo_font_map_create_context' is 
deprecated (declared at /usr/include/pango-1.0/pango/pangocairo.h:79): 
Use 'pango_font_map_create_context' instead [-Wdeprecated-declarations]
      context = 
pango_cairo_font_map_create_context((PangoCairoFontMap*)fontmap);
      ^
   CC     librrd_th_la-rrd_graph_helper.lo
   CC     librrd_th_la-rrd_xport.lo
   CC     librrd_th_la-rrd_gfx.lo
   CC     librrd_th_la-pngsize.lo
   CC     librrd_th_la-rrd_thread_safe.lo
   CCLD   librrd_th.la
   CC     rrd_tool.o
   CCLD   rrdtool
   CC     rrdupdate.o
   CCLD   rrdupdate
   CC     rrdcached-rrd_daemon.o
   CCLD   rrdcached
/usr/bin/ld: rrdcached-rrd_daemon.o: undefined reference to symbol 
'g_tree_lookup'
//lib/x86_64-linux-gnu/libglib-2.0.so.0: error adding symbols: DSO 
missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [rrdcached] Ошибка 1
make[2]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/usr/local/src/tmp/rrdtool-1.4.8'
make: *** [all] Ошибка 2



More information about the rrd-users mailing list