Page 1 of 2

Nagios 4.0 NetBSD 6.1.1

Posted: Thu Oct 03, 2013 9:31 am
by MichaelMoritz
Hello,

I posted this the other day in the Nagios-users list, but after seeing this Forum, I thought maybe this might be a better place for this.

I am having problems compiling Nagios 4.0 on my NetBSD 6.1.1.machine. Attached are the config.log and make.log files.

I've compiled Nagios 3.3 thru 3.5.x before on NetBSD 5.2 but this is my first try on 6.1.

Any suggestions?

Thanks
Mike

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Thu Oct 03, 2013 10:51 am
by abrist
You have a number of fatal errors in config.log. Mostly pertaining to file/directory not found. We will just address the first error for the time being:

Code: Select all

conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
Where is this file and what are its permissions?

Code: Select all

ls -la $(find / -name ac_nonexistent.h)

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Thu Oct 03, 2013 11:37 am
by MichaelMoritz
That file does not exist on my server. I checked my config.log from nagios 3.5.1 and see the same error but didn't have any issues compiling.

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Thu Oct 03, 2013 11:47 am
by MichaelMoritz
I replied to your original question, waiting for it to be moderator approved.

In the mean time I checked a successful compile of 3.5.1 and found:

#grep 'fatal error' config.log
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:68:22: fatal error: pthreads.h: No such file or directory
conftest.c:34:22: fatal error: pthreads.h: No such file or directory
conftest.c:71:20: fatal error: socket.h: No such file or directory
conftest.c:37:20: fatal error: socket.h: No such file or directory
conftest.c:87:17: fatal error: uio.h: No such file or directory
conftest.c:53:17: fatal error: uio.h: No such file or directory
conftest.c:113:18: fatal error: ltdl.h: No such file or directory
conftest.c:79:18: fatal error: ltdl.h: No such file or directory

In 4.0 I find:

#grep 'fatal error' config.log
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:69:20: fatal error: socket.h: No such file or directory
conftest.c:36:20: fatal error: socket.h: No such file or directory
conftest.c:85:17: fatal error: uio.h: No such file or directory
conftest.c:52:17: fatal error: uio.h: No such file or directory
conftest.c:105:18: fatal error: ltdl.h: No such file or directory
conftest.c:72:18: fatal error: ltdl.h: No such file or directory

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Fri Oct 04, 2013 9:48 am
by abrist
I may have been going down the wrong rabbit hole. What architecture are you running? Is 3.5 successfully compiling on 6.1.1 ?

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Fri Oct 04, 2013 9:58 am
by MichaelMoritz
I just tested by running configure and make all on Nagios 3.5.1. No problems.

The machine is a xen Virtual machine - http://www.panix.com/v-colo/plans.html

It's a 4 processor:

#cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
stepping : 6
cpu MHz : 2000.10
fdiv_bug : no
fpu : yes
fpu_exception : no
cpuid level : 10
wp : no
flags : fpu vme de tsc msr pae mce cx8 apic sep mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm


Appreciate you looking into this!
Mike

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Mon Oct 07, 2013 2:03 pm
by slansing
This might be an issue with "ccbuild" on your BSD system. We're doing some more digging but there have been some configure issues regarding these errors and ccbuild in the past.

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Wed Feb 26, 2014 10:51 pm
by MichaelMoritz
Any update?

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Thu Feb 27, 2014 3:39 pm
by tmcdonald
Apologies for the late reply, sometimes if we don't get a response the thread falls through the cracks.

Have you tried with our latest core build, 4.0.2?

Re: Nagios 4.0 NetBSD 6.1.1

Posted: Thu Feb 27, 2014 4:51 pm
by MichaelMoritz
I just tried, 4.0.2 and it fails. BTW - the OS has been patched for 6.1.3

Attached are the configure and make logs.

Thanks
Mike