samtools / htslib

C library for high-throughput sequencing data formats
Other
784 stars 447 forks source link

configure error on ubuntu lastest version #1673

Closed kemin711 closed 9 months ago

kemin711 commented 9 months ago

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for C compiler warning flags... -Wall checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking shared library type for unknown-Linux... plain .so checking build system type... x86_64-pc-linux-gnu checking host system type... Invalid configuration unknown-Linux': machineunknown' not recognized configure: error: /bin/bash ./config.sub unknown-Linux failed

This is a very popular platform, we should not fail on this machine.

kemin711 commented 9 months ago

after git submodule update --recursive --remote autoreconf -if The problem went away.