Here is the patch to disable the checks. Hopefully you have a working
setjmp and a c99 vsnprintf...
On 12/5/11 4:00 PM, Rory Toma wrote:
I'll have a patch for this soon.
On 11/30/11 8:29 PM, sungkwon.eom wrote:
Hello,
I'm newbie on monit.
I've tried to compile it for ARM-Linux device.
This is my configure command.
CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib
./configure --prefix=/root/monit --host=arm-linux --target=arm-linux
--build=i386-ubuntu-linux --without-ssl
But I got a error like below.
.....................
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
configure: error: in `/root/다운로드/monit-5.3.1/libmonit':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for libmonit
----------------------------
If you give me a hint I'll appreciate.
Thk.
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monit-dev
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monit-dev
diff -Naur monit-5.3.1-orig/libmonit/configure
monit-5.3.1-new/libmonit/configure
--- monit-5.3.1-orig/libmonit/configure 2011-10-24 16:02:05.000000000 -0700
+++ monit-5.3.1-new/libmonit/configure 2011-12-05 18:23:49.233230000 -0800
@@ -10777,10 +10777,7 @@
# Require a working setjmp
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
+
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -10808,10 +10805,7 @@
# Require that we have vsnprintf that conforms to c99. I.e. does bounds check
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
+
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monit-dev