Install nagios 3.4.1 on debian 2.6.36-5-686

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.
Locked
rnygren
Posts: 20
Joined: Wed May 30, 2012 4:29 pm

Install nagios 3.4.1 on debian 2.6.36-5-686

Post by rnygren »

I keep getting the same errors on configure so nagios wont run on the latest stable release of debian fresh install.
I had to move a couple of header files around that could not be found but still cannot find a solution to the threads.h
I tried to google a solution and no dice. What package am I missing?
the previous compiled version from debian 2.6.26 with 3.2.3 works fine but I am unable to compile ndoutils or the later nagios 3.4.1 :|
./configure errors:
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking for pthread_create in -lcma... no
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no
checking for gdImagePng in -lgd (order 4)... no
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Install nagios 3.4.1 on debian 2.6.36-5-686

Post by agriffin »

Try running 'apt-get build-dep nagios3' before compiling.
rnygren
Posts: 20
Joined: Wed May 30, 2012 4:29 pm

Re: Install nagios 3.4.1 on debian 2.6.36-5-686

Post by rnygren »

Thnks for the response.After running the command you suggested it install 20 new packages but i still get the same errors in the ./configure output.
But I have not tried to install as I beleive the internal error occurs necause of these errors.
Any other ideas?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Install nagios 3.4.1 on debian 2.6.36-5-686

Post by agriffin »

I tried to help another user with the same problem here. My guess is that it's a bug with the configure script, but I'm not sure what else to try. You could try posting on the nagios-users mailing list to get your question more exposure.
Locked