Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
What base OS is your xen server? You will need to install some form of C compiler. I take it that previously you were using an rpm packaged? You can probably do a "yum install gcc" or if it is debian based "apt-get install gcc". Then try to run configure again.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
[root@XenHost8 nrpe-2.14]# cat /proc/version
Linux version 2.6.32.12-0.7.1.xs6.0.2.542.170665xen (geeko@buildhost) (gcc version 4.1.2 20080704
(Red Hat 4.1.2-48)) #1 SMP Tue Jan 17 15:14:24 EST 2012
I am running Red hat 4.1 and it appears as if GCC is already installed
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
It would seem that it is not installed, and instead the gcc output above from cat /proc/version is just listing what your kernel was compiled with. So let's try a "yum install gcc" the ./configure once it is installed with all the needed dependencies. If it errors again, send back the output and we can see how far it has gotten.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
[root@XenHost8 opt]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
No package gcc available.
Nothing to do
Before I give instructions on making and compiling gcc as well, it looks like yum may not have been the main package manager for RHEL 4. Try "up2date gcc"
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
[root@XenHost8 opt]# up2date gcc
bash: up2date: command not found
[root@XenHost8 opt]# yum install up2date gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
No package up2date available.
No package gcc available.
Nothing to do
[root@XenHost8 opt]# up2date gcc
bash: up2date: command not found
[root@XenHost8 opt]#