Error in ./configure

baixarnow

New member
Messages
11
Points
0
Hello to all.

I'm trying to compile hercules on ubuntu 20.04 to play with some friends, but i'm having trouble when i run ./configure.

.

checking whether gcc supports -std=c11... yes
checking whether byte ordering is bigendian... no
./configure: line 5184: syntax error near unexpected token `fi'
./configure: line 5184: `fi'




I already tried deleting configure and running autoconf and generate new configure, i tried going to previous hercules to find some old configure, but i think they dont change much... i tried a lot of modifications in the script and I couldn't go beyond this point. If someone has a clue, please let me know. Thanks in advance.

Is around here, somewhere:

Code:
if ac_fn_c_try_run "$LINENO"; then :
  ac_cv_c_bigendian=no
else
  ac_cv_c_bigendian=yes
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  conftest.$ac_objext conftest.beam conftest.$ac_ext
fi

    fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 ##THIS IS THE LINE 5184 OF THE ERRORR###
$as_echo "$ac_cv_c_bigendian" >&6; }
 case $ac_cv_c_bigendian in #(
   yes)
     as_fn_error $? "bigendian is not supported... stopping" "$LINENO" 5;; #(
   no)
      ;; #(
   universal)

$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h

     ;; #(
   *)
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to determine endianess, only little endian is supported" >&5
$as_echo "$as_me: WARNING: unable to determine endianess, only little endian is supported" >&2;}
 ;;
 esac

 
probably you corrupted configure by copy files from windows?

you can regenerate configure by this command

autoreconf


but if this is windows issue, need fix many other files.

 
probably you corrupted configure by copy files from windows?

you can regenerate configure by this command

autoreconf

autoreconf


but if this is windows issue, need fix many other files.
Thanks, you're probably right in the reason, I was running localhost windows and we rented an ubuntu vps. But autoreconf didn't work. What worked was using VS Community with this: https://docs.microsoft.com/en-us/cpp/linux/download-install-and-setup-the-linux-development-workload?view=msvc-170

 
Last edited by a moderator:
Back
Top