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.h: No such file or directory configure:35775: $? = 1 configure: failed program was: | /* confdefs.h. */ | Snipped output from make: In file included from regex.c:55: regex_internal.h:458:20: alloca.h: No such file or directory *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5. In FreeBSD the alloca function is contained in stdlib.h, but the manpage discourages its use. "BUGS The alloca() function is machine and compiler dependent; its use is dis-couraged." In regex_internal.h do we need something like: #ifdef HAVE_ALLOCA_H #include <alloca.h> #else /* do nothing??? */ #endif Thanks, Jason ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null