Nagios 4.0 NetBSD 6.1.1
-
MichaelMoritz
- Posts: 20
- Joined: Tue Oct 01, 2013 1:49 pm
Nagios 4.0 NetBSD 6.1.1
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
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
- Attachments
-
make.log- output from make
- (49.33 KiB) Downloaded 297 times
-
config.log- configure logfile
- (69.02 KiB) Downloaded 273 times
Re: Nagios 4.0 NetBSD 6.1.1
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:
Where is this file and what are its permissions?
Code: Select all
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directoryCode: Select all
ls -la $(find / -name ac_nonexistent.h)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 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.
-
MichaelMoritz
- Posts: 20
- Joined: Tue Oct 01, 2013 1:49 pm
Re: Nagios 4.0 NetBSD 6.1.1
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.
-
MichaelMoritz
- Posts: 20
- Joined: Tue Oct 01, 2013 1:49 pm
Re: Nagios 4.0 NetBSD 6.1.1
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
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
I may have been going down the wrong rabbit hole. What architecture are you running? Is 3.5 successfully compiling on 6.1.1 ?
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 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.
-
MichaelMoritz
- Posts: 20
- Joined: Tue Oct 01, 2013 1:49 pm
Re: Nagios 4.0 NetBSD 6.1.1
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios 4.0 NetBSD 6.1.1
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.
-
MichaelMoritz
- Posts: 20
- Joined: Tue Oct 01, 2013 1:49 pm
Re: Nagios 4.0 NetBSD 6.1.1
Any update?
Re: Nagios 4.0 NetBSD 6.1.1
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?
Have you tried with our latest core build, 4.0.2?
Former Nagios employee
-
MichaelMoritz
- Posts: 20
- Joined: Tue Oct 01, 2013 1:49 pm
Re: Nagios 4.0 NetBSD 6.1.1
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
Attached are the configure and make logs.
Thanks
Mike
- Attachments
-
config.log- (66.85 KiB) Downloaded 283 times
-
make.log- (50.6 KiB) Downloaded 282 times