Page 1 of 1

Network Analyzer Compile on RHEL 7

Posted: Fri Dec 02, 2016 12:50 pm
by john.kerr
Attempting to compile Network Analyzer from source on a relatively clean Redhat 7 system and getting the following error during the make. I was able to get XI to compile and run successfully on the same system. Assistance is appreciated.

rrd_graph.c: In function 'rrd_graph_init':
rrd_graph.c:4169:5: warning: 'pango_cairo_font_map_create_context' is deprecated (declared at /usr/include/pango-1.0/pango/pangocairo.h:93): 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
/bin/ld: rrdcached-rrd_daemon.o: undefined reference to symbol 'eval_client'
/usr/lib64/libwrap.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [rrdcached] Error 1
make[2]: Leaving directory `/home/soandso/nagiosna/rrdtool-1.4.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soandso/nagiosna/rrdtool-1.4.9'
make: *** [all] Error 2

===================
INSTALLATION ERROR!
===================

Re: Network Analyzer Compile on RHEL 7

Posted: Fri Dec 02, 2016 1:38 pm
by tgriep
Installing the Nagios Network Analyzer on to an XI system is not supported as some of the requirements between the products could conflict with themselves so a clean OS install is always recommended.
The error could come from a missing package so can you run the following command as root on the server and post the /tmp/yum.txt file?

Code: Select all

yum list installed >/tmp/yum.txt

Re: Network Analyzer Compile on RHEL 7

Posted: Fri Dec 02, 2016 1:54 pm
by john.kerr
Thanx for the response. Yum list attached.

Re: Network Analyzer Compile on RHEL 7

Posted: Fri Dec 02, 2016 2:36 pm
by tgriep
You can try and remove these packages to see if it compiles but since Nagios XI is installed on the same system, it may not work and having both on the server is NOT supported.

Code: Select all

yum remove tcp_wrappers-devel
yum remove rrdtool
yum remove rrdtool-perl
yum remove rrdtool-python
If this doesn't work, setup a new clean OS install and try it again.

Re: Network Analyzer Compile on RHEL 7

Posted: Fri Dec 02, 2016 3:46 pm
by john.kerr
Even though this is for evaluation purposes, since combining both products into a single system is not supported I will go ahead and spin up a new instance and try the compile and install there.
Thank you again for your help.

Re: Network Analyzer Compile on RHEL 7

Posted: Mon Dec 05, 2016 10:22 am
by bwallace
You're welcome - for your reference, here is the manual install doc for Nagios Network Analyzer.
https://support.nagios.com/kb/article.php?id=99

We'll leave this thread open in the meantime in case you run into any problems with the install on a stand-alone system.