Thank you, it worked!
> On Feb 8, 2022, at 12:03 AM, Dima Pasechnik <dimp...@gmail.com> wrote: > > > > On Tue, 8 Feb 2022, 05:54 Gaj Satha, <gaj.sa...@gmail.com > <mailto:gaj.sa...@gmail.com>> wrote: > Hi: > > I wanted to compile the latest version of MPIR, How do I do it? > > In version 3.0.0, I can do the following and it works: > configure --prefix=/usr/local > make > make install > > > But in the latest version, at https://github.com/wbhart/mpir > <https://github.com/wbhart/mpir>, I do not find any configure file. I see a > configure.ac <http://configure.ac/> file. I used the autoconf command to > generate the configure > > run > > ./autogen.sh > > to generate configure etc. > > > file and I get some weird errors like show below (in blue). I don't know > what that means. It did generate the config file. When I ran the config > script, it gave the below error: > > ./configure: line 2804: syntax error near unexpected token `config.m4' > ./configure: line 2804: `GMP_INIT(config.m4)' > > > > configure.ac:55 <http://configure.ac:55/>: error: possibly undefined macro: > GMP_INIT > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:67 <http://configure.ac:67/>: error: possibly undefined macro: > AM_INIT_AUTOMAKE > configure.ac:69 <http://configure.ac:69/>: error: possibly undefined macro: > AM_MAINTAINER_MODE > configure.ac:93 <http://configure.ac:93/>: error: possibly undefined macro: > GMP_DEFINE_RAW > configure.ac:151 <http://configure.ac:151/>: error: possibly undefined macro: > AM_CONDITIONAL > configure.ac:390 <http://configure.ac:390/>: error: possibly undefined macro: > GMP_INCLUDE_MPN > configure.ac:1468 <http://configure.ac:1468/>: error: possibly undefined > macro: GMP_PROG_CC_IS_GNU > configure.ac:1474 <http://configure.ac:1474/>: error: possibly undefined > macro: GMP_PROG_CC_IS_XLC > configure.ac:1518 <http://configure.ac:1518/>: error: possibly undefined > macro: GMP_PROG_CC_WORKS > configure.ac:1525 <http://configure.ac:1525/>: error: possibly undefined > macro: GMP_PROG_CC_WORKS_LONGLONG > configure.ac:1537 <http://configure.ac:1537/>: error: possibly undefined > macro: GMP_GCC_ARM_UMODSI > configure.ac:1538 <http://configure.ac:1538/>: error: possibly undefined > macro: GMP_GCC_MIPS_O32 > configure.ac:1539 <http://configure.ac:1539/>: error: possibly undefined > macro: GMP_C_TEST_SIZEOF > configure.ac:1611 <http://configure.ac:1611/>: error: possibly undefined > macro: GMP_GCC_PENTIUM4_SSE2 > configure.ac:1612 <http://configure.ac:1612/>: error: possibly undefined > macro: GMP_OS_X86_XMM > configure.ac:1617 <http://configure.ac:1617/>: error: possibly undefined > macro: GMP_GCC_NO_CPP_PRECOMP > configure.ac:1725 <http://configure.ac:1725/>: error: possibly undefined > macro: GMP_H_ANSI > configure.ac:1729 <http://configure.ac:1729/>: error: possibly undefined > macro: GMP_PROG_CC_FOR_BUILD > configure.ac:1730 <http://configure.ac:1730/>: error: possibly undefined > macro: GMP_PROG_CPP_FOR_BUILD > configure.ac:1731 <http://configure.ac:1731/>: error: possibly undefined > macro: GMP_PROG_EXEEXT_FOR_BUILD > configure.ac:1732 <http://configure.ac:1732/>: error: possibly undefined > macro: GMP_C_FOR_BUILD_ANSI > configure.ac:1733 <http://configure.ac:1733/>: error: possibly undefined > macro: GMP_CHECK_LIBM_FOR_BUILD > configure.ac:1795 <http://configure.ac:1795/>: error: possibly undefined > macro: GMP_PROG_CXX_WORKS > configure.ac:1831 <http://configure.ac:1831/>: error: possibly undefined > macro: GMP_FAT_SUFFIX > configure.ac:1846 <http://configure.ac:1846/>: error: possibly undefined > macro: GMP_ASM_X86_MMX > configure.ac:1846 <http://configure.ac:1846/>: error: possibly undefined > macro: GMP_STRIP_PATH > configure.ac:1849 <http://configure.ac:1849/>: error: possibly undefined > macro: GMP_ASM_X86_SSE2 > configure.ac:1878 <http://configure.ac:1878/>: error: possibly undefined > macro: GMP_PROG_AR > configure.ac:1879 <http://configure.ac:1879/>: error: possibly undefined > macro: GMP_PROG_NM > configure.ac:2050 <http://configure.ac:2050/>: error: possibly undefined > macro: GMP_C_STDARG > configure.ac:2051 <http://configure.ac:2051/>: error: possibly undefined > macro: GMP_C_ATTRIBUTE_CONST > configure.ac:2052 <http://configure.ac:2052/>: error: possibly undefined > macro: GMP_C_ATTRIBUTE_MALLOC > configure.ac:2053 <http://configure.ac:2053/>: error: possibly undefined > macro: GMP_C_ATTRIBUTE_MODE > configure.ac:2054 <http://configure.ac:2054/>: error: possibly undefined > macro: GMP_C_ATTRIBUTE_NORETURN > configure.ac:2056 <http://configure.ac:2056/>: error: possibly undefined > macro: GMP_H_EXTERN_INLINE > configure.ac:2062 <http://configure.ac:2062/>: error: possibly undefined > macro: GMP_FUNC_ALLOCA > configure.ac:2063 <http://configure.ac:2063/>: error: possibly undefined > macro: GMP_OPTION_ALLOCA > configure.ac:2065 <http://configure.ac:2065/>: error: possibly undefined > macro: GMP_H_HAVE_FILE > configure.ac:2080 <http://configure.ac:2080/>: error: possibly undefined > macro: GMP_C_DOUBLE_FORMAT > configure.ac:2124 <http://configure.ac:2124/>: error: possibly undefined > macro: GMP_FUNC_VSNPRINTF > configure.ac:2125 <http://configure.ac:2125/>: error: possibly undefined > macro: GMP_FUNC_SSCANF_WRITABLE_INPUT > configure.ac:2286 <http://configure.ac:2286/>: error: possibly undefined > macro: GMP_DEFINE > configure.ac:2290 <http://configure.ac:2290/>: error: possibly undefined > macro: GMP_REMOVE_FROM_LIST > configure.ac:2765 <http://configure.ac:2765/>: error: possibly undefined > macro: GMP_PROG_M4 > configure.ac:2766 <http://configure.ac:2766/>: error: possibly undefined > macro: GMP_M4_M4WRAP_SPURIOUS > configure.ac:2777 <http://configure.ac:2777/>: error: possibly undefined > macro: GMP_ASM_TEXT > configure.ac:2778 <http://configure.ac:2778/>: error: possibly undefined > macro: GMP_ASM_DATA > configure.ac:2779 <http://configure.ac:2779/>: error: possibly undefined > macro: GMP_ASM_LABEL_SUFFIX > configure.ac:2780 <http://configure.ac:2780/>: error: possibly undefined > macro: GMP_ASM_GLOBL > configure.ac:2781 <http://configure.ac:2781/>: error: possibly undefined > macro: GMP_ASM_GLOBL_ATTR > configure.ac:2782 <http://configure.ac:2782/>: error: possibly undefined > macro: GMP_ASM_UNDERSCORE > configure.ac:2783 <http://configure.ac:2783/>: error: possibly undefined > macro: GMP_ASM_RODATA > configure.ac:2784 <http://configure.ac:2784/>: error: possibly undefined > macro: GMP_ASM_TYPE > configure.ac:2785 <http://configure.ac:2785/>: error: possibly undefined > macro: GMP_ASM_SIZE > configure.ac:2786 <http://configure.ac:2786/>: error: possibly undefined > macro: GMP_ASM_LSYM_PREFIX > configure.ac:2787 <http://configure.ac:2787/>: error: possibly undefined > macro: GMP_ASM_W32 > configure.ac:2788 <http://configure.ac:2788/>: error: possibly undefined > macro: GMP_ASM_ALIGN_LOG > configure.ac:2791 <http://configure.ac:2791/>: error: possibly undefined > macro: GMP_ASM_IA64_ALIGN_OK > configure.ac:2794 <http://configure.ac:2794/>: error: possibly undefined > macro: GMP_ASM_POWERPC_PIC_ALWAYS > configure.ac:2795 <http://configure.ac:2795/>: error: possibly undefined > macro: GMP_ASM_POWERPC_R_REGISTERS > configure.ac:2828 <http://configure.ac:2828/>: error: possibly undefined > macro: GMP_ASM_SPARC_REGISTER > configure.ac:2833 <http://configure.ac:2833/>: error: possibly undefined > macro: GMP_ASM_ALIGN_FILL_0x90 > configure.ac:2837 <http://configure.ac:2837/>: error: possibly undefined > macro: GMP_ASM_COFF_TYPE > configure.ac:2838 <http://configure.ac:2838/>: error: possibly undefined > macro: GMP_ASM_X86_GOT_UNDERSCORE > configure.ac:2839 <http://configure.ac:2839/>: error: possibly undefined > macro: GMP_ASM_X86_SHLDL_CL > configure.ac:2841 <http://configure.ac:2841/>: error: possibly undefined > macro: GMP_ASM_X86_MCOUNT > configure.ac:2938 <http://configure.ac:2938/>: error: possibly undefined > macro: GMP_INCLUDE_GMP_H > configure.ac:3006 <http://configure.ac:3006/>: error: possibly undefined > macro: GMP_FINISH > > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mpir-devel+unsubscr...@googlegroups.com > <mailto:mpir-devel+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mpir-devel/B0D0ABD0-38C3-445E-8B2C-7C4C9C239D5B%40gmail.com > > <https://groups.google.com/d/msgid/mpir-devel/B0D0ABD0-38C3-445E-8B2C-7C4C9C239D5B%40gmail.com?utm_medium=email&utm_source=footer>. > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mpir-devel+unsubscr...@googlegroups.com > <mailto:mpir-devel+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mpir-devel/CAAWYfq3_d6xz-Yty%3D_CJ%3DdtqRs8ZN1t3zT4zJfZvg5HTXnPz9Q%40mail.gmail.com > > <https://groups.google.com/d/msgid/mpir-devel/CAAWYfq3_d6xz-Yty%3D_CJ%3DdtqRs8ZN1t3zT4zJfZvg5HTXnPz9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mpir-devel/2B293E96-EFC7-4385-9B44-911B7D4AAB53%40gmail.com.