Help configure errors linux pop OS

Mickey White mickey1956 at comcast.net
Mon May 10 21:10:25 UTC 2021


Trying to run ./configure on linux box, Pop Os!

Receiving configure errors. 

 

Please help. 

Thanks

Mickey 

Tennessee/USA

 

jamesw at pop-os:~/Downloads/gmp-6.2.1$ ./configure

 

...

 

checking for struct pst_processor.psp_iticksperclktick... no

checking for suitable m4... configure: error: No usable m4 in $PATH or
/usr/5bin (see config.log for reasons).

jamesw at pop-os:~/Downloads/gmp-6.2.1$

jamesw at pop-os:~/Downloads/gmp-6.2.1$

 

 

configure: exit 1

jamesw at pop-os:~/Downloads/gmp-6.2.1$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper

OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa

OFFLOAD_TARGET_DEFAULT=1

Target: x86_64-linux-gnu

Configured with: ../src/configure -v --with-pkgversion='Ubuntu
10.2.0-13ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-10
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--enable-default-pie --with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none=/build/gcc-10-JvwpWM/gcc-10-10.2.0/debia
n/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-JvwpWM/gcc-10-10.2.0/debian/tmp-
gcn/usr,hsa --without-cuda-driver --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu

Thread model: posix

Supported LTO compression algorithms: zlib zstd

gcc version 10.2.0 (Ubuntu 10.2.0-13ubuntu1)

jamesw at pop-os:~/Downloads/gmp-6.2.1$

 

 

2021051015485929-0500

jamesw at pop-os:~/Downloads/gmp-6.2.1$

jamesw at pop-os:~/Downloads/gmp-6.2.1$ uname -a

Linux pop-os 5.11.0-7614-generic #15~1618626693~20.10~ecb25cd-Ubuntu SMP Thu
Apr 22 16:00:45 UTC  x86_64 x86_64 x86_64 GNU/Linux

jamesw at pop-os:~/Downloads/gmp-6.2.1$

jamesw at pop-os:~/Downloads/gmp-6.2.1$

 

 

jamesw at pop-os:~/Downloads/gmp-6.2.1$ ./config.guess

kabylake-pc-linux-gnu

jamesw at pop-os:~/Downloads/gmp-6.2.1$

 

jamesw at pop-os:~/Downloads/gmp-6.2.1$ ./configfsf.guess

x86_64-pc-linux-gnu

jamesw at pop-os:~/Downloads/gmp-6.2.1$

 

 

some errors in config.log below .  Complete config.log attached gz

jamesw at pop-os:~/Downloads/gmp-6.2.1$ cat config.log | grep -i error | cat -n

     1  collect2: error: ld returned 1 exit status

     2  collect2: error: ld returned 1 exit status

     3  collect2: error: ld returned 1 exit status

     4  Configured with: ../src/configure -v --with-pkgversion='Ubuntu
10.2.0-13ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-10
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--enable-default-pie --with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none=/build/gcc-10-JvwpWM/gcc-10-10.2.0/debia
n/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-JvwpWM/gcc-10-10.2.0/debian/tmp-
gcn/usr,hsa --without-cuda-driver --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu

     5  gcc: error: unrecognized command-line option '-V'

     6  gcc: fatal error: no input files

     7  gcc: error: unrecognized command-line option '-qversion'; did you
mean '--version'?

     8  gcc: fatal error: no input files

     9  conftest.c:15:10: fatal error: ac_nonexistent.h: No such file or
directory

    10  conftest.c:15:10: fatal error: ac_nonexistent.h: No such file or
directory

    11  conftest.c:64:10: fatal error: invent.h: No such file or directory

    12  conftest.c:31:10: fatal error: invent.h: No such file or directory

    13  conftest.c:67:10: fatal error: sys/attributes.h: No such file or
directory

    14  conftest.c:34:10: fatal error: sys/attributes.h: No such file or
directory

    15  conftest.c:67:10: fatal error: sys/iograph.h: No such file or
directory

    16  conftest.c:34:10: fatal error: sys/iograph.h: No such file or
directory

    17  conftest.c:69:10: fatal error: sys/processor.h: No such file or
directory

    18  conftest.c:36:10: fatal error: sys/processor.h: No such file or
directory

    19  conftest.c:69:10: fatal error: sys/pstat.h: No such file or
directory

    20  conftest.c:36:10: fatal error: sys/pstat.h: No such file or
directory

    21  conftest.c:70:10: fatal error: sys/syssgi.h: No such file or
directory

    22  conftest.c:37:10: fatal error: sys/syssgi.h: No such file or
directory

    23  conftest.c:70:10: fatal error: sys/systemcfg.h: No such file or
directory

    24  conftest.c:37:10: fatal error: sys/systemcfg.h: No such file or
directory

    25  conftest.c:44:10: fatal error: sys/sysctl.h: No such file or
directory

    26  conftest.c:44:10: fatal error: machine/hal_sysinfo.h: No such file
or directory

    27  conftest.c:55:10: error: 'sys_errlist' undeclared (first use in this
function)

    28  conftest.c:56:10: error: 'sys_nerr' undeclared (first use in this
function)

    29  conftest.c:53:10: error: void value not ignored as it ought to be

    30  conftest.c:84:23: error: expected expression before ')' token

    31  conftest.c:85:26: error: expected expression before ')' token

    32  conftest.c:86:24: error: expected expression before ')' token

    33  conftest.c:87:24: error: expected expression before ')' token

    34  conftest.c:88:21: error: expected expression before ')' token

    35  conftest.c:89:29: error: expected expression before ')' token

    36  conftest.c:90:23: error: expected expression before ')' token

    37  conftest.c:65:9: error: unknown type name 'not'

    38  conftest.c:65:15: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'universal'

    39  conftest.c:65:15: error: unknown type name 'universal'

    40  conftest.c:71:4: error: unknown type name 'not'; did you mean
'ino_t'?

    41  conftest.c:71:12: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'endian'

    42  collect2: error: ld returned 1 exit status

    43  | /* Override any GCC internal prototype to avoid an error.

    44  collect2: error: ld returned 1 exit status

    45  | /* Override any GCC internal prototype to avoid an error.

    46  collect2: error: ld returned 1 exit status

    47  | /* Override any GCC internal prototype to avoid an error.

    48  collect2: error: ld returned 1 exit status

    49  | /* Override any GCC internal prototype to avoid an error.

    50  collect2: error: ld returned 1 exit status

    51  | /* Override any GCC internal prototype to avoid an error.

    52  collect2: error: ld returned 1 exit status

    53  | /* Override any GCC internal prototype to avoid an error.

    54  collect2: error: ld returned 1 exit status

    55  | /* Override any GCC internal prototype to avoid an error.

    56  configure:21373: checking for strerror

    57  collect2: error: ld returned 1 exit status

    58  | #define HAVE_STRERROR 1

    59  | /* Override any GCC internal prototype to avoid an error.

    60  collect2: error: ld returned 1 exit status

    61  | #define HAVE_STRERROR 1

    62  | /* Override any GCC internal prototype to avoid an error.

    63  conftest.c:91:10: fatal error: sys/pstat.h: No such file or
directory

    64  | #define HAVE_STRERROR 1

    65  conftest.c:91:10: fatal error: sys/pstat.h: No such file or
directory

    66  | #define HAVE_STRERROR 1

    67  configure:22342: error: No usable m4 in $PATH or /usr/5bin (see
config.log for reasons).

    68  ac_cv_func_strerror=yes

    69  #define HAVE_STRERROR 1

jamesw at pop-os:~/Downloads/gmp-6.2.1$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.mw.tar.gz
Type: application/octet-stream
Size: 18469 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-discuss/attachments/20210510/2af140f8/attachment-0001.obj>


More information about the gmp-discuss mailing list