Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Ton Voon
Andy,Yup, that was easier than having to upgrade to a newer coreutils!Turns out I was missing the alloca_.h and alloca.c files from coreutils-5.96. I've just committed it into CVS. Still compiles on my MacOSX box. Please try the snapshot when it is next created.If you want to make sure the plugins

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Andy Shellam (Mailing Lists)
Hello Ton, I'm hoping this news will be the better of 2 evils!! Coreutils 5.96 compiles, installs and uninstalls successfully on FreeBSD 6.1. (I did remember to remove my botched alloca.h file ;-) ) I've just tried the Nagios Plugins 1.4.5 and === In

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread julien
Ton Voon wrote on 03/11/2006 15:26: > I replied to Jason earlier, but forgot to copy the list. I'd like to > know if anyone else on a recent *BSD is having these problems with > coreutils 5.96. sorry, but for me, coreutils is GNU's stuff/tools which are not in BSD base distrib (nor in ports, at

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Ton Voon
Andy,Can you goto http://ftp.gnu.org/pub/gnu/coreutils/ and download 5.96 and try and compile on your platform. As the plugins are currently syncd with this version, if coreutils compiles, it means I've made a mistake somewhere in copying their files over.If their code fails to compile, it is a pro

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Andy Shellam (Mailing Lists)
Hi Ton, How can we find out the coreutils version? Basically I'm using FreeBSD 6.1-RELEASE, and have experienced this issue with the plugins. My m4 version is 1.4.7. I don't know which version of coreutils 6.1 runs against though? As soon as FreeBSD 6.2 is released (couple weeks) I'll be upg

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Ton Voon
Hi!I replied to Jason earlier, but forgot to copy the list. I'd like to know if anyone else on a recent *BSD is having these problems with coreutils 5.96.TonOn 3 Nov 2006, at 09:03, Ton Voon wrote:Hi Jason,The Nagios Plugins uses a lot of the libraries from GNU's coreutils, of which alloca.h is tak

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread julien
same things on OpenBSD 4.0 for 1.4.5 config.log: configure:35754: checking for working alloca.h configure:35775: gcc -o conftest -g -O2 -L. conftest.c >&5 conftest.c:125:20: alloca.h: No such file or directory configure:35781: $? = 1 compile: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../int

Re: [Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-03 Thread Andy Shellam (Mailing Lists)
I had this as well (FreeBSD 6.1-RELEASE.) alloca.h is a common file for Linux installations, but is not required as such on FreeBSD. After hunting around on the net, I found the solution is to create a file at "/usr/include/alloca.h" with the single line: "#include " eg. echo "#include " > /usr

[Nagios-users] alloca.h does not exist in FreeBSD.

2006-11-02 Thread Jason Kerr
Problem: regex_internal.h includes alloca.h which does not exist in FreeBSD. Version: nagios-plugins-1.4.5 OS: FreeBSD 5.5-STABLE Snipped output from config.log: configure:35748: checking for working alloca.h configure:35769: gcc -o conftest -g -O2 -L. conftest.c >&5 conftest.c:127:20: alloca.