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!
===================
Network Analyzer Compile on RHEL 7
Re: Network Analyzer Compile on RHEL 7
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?
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.txtBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Network Analyzer Compile on RHEL 7
Thanx for the response. Yum list attached.
You do not have the required permissions to view the files attached to this post.
Re: Network Analyzer Compile on RHEL 7
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.
If this doesn't work, setup a new clean OS install and try it again.
Code: Select all
yum remove tcp_wrappers-devel
yum remove rrdtool
yum remove rrdtool-perl
yum remove rrdtool-pythonBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Network Analyzer Compile on RHEL 7
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.
Thank you again for your help.
Re: Network Analyzer Compile on RHEL 7
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.
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.
Be sure to check out the Knowledgebase for helpful articles and solutions!