Page 1 of 1

Install nagios 3.4.1 on debian 2.6.36-5-686

Posted: Mon Jun 04, 2012 10:05 am
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

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

Posted: Mon Jun 04, 2012 10:58 am
by agriffin
Try running 'apt-get build-dep nagios3' before compiling.

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

Posted: Mon Jun 04, 2012 12:52 pm
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?

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

Posted: Mon Jun 04, 2012 4:37 pm
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.