Skip to content

Installation issue: - configure: cannot find required auxiliary files: config.guess config.sub #19

@etwatson

Description

@etwatson

configure: cannot find required auxiliary files: config.guess config.sub when building HTSlib submodule on Ubuntu 22.04

Environment

Item Value
OS Ubuntu 22.04.4 LTS
Kernel 5.15.x
Compiler GCC 11.4
CMake 3.22.1
marginPolish commit (cloned with --recursive)

Steps to reproduce


apt-get -y install git make gcc g++ autoconf zlib1g-dev libcurl4-openssl-dev libbz2-dev libhdf5-dev
wget https://github.com/Kitware/CMake/releases/download/v3.14.4/cmake-3.14.4-Linux-x86_64.sh && sudo mkdir /opt/cmake && sudo sh cmake-3.14.4-Linux-x86_64.sh --prefix=/opt/cmake --skip-license && sudo ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
git clone https://github.com/UCSC-nanopore-cgl/marginPolish.git
cd marginPolish
git submodule update --init
mkdir build
cd build
cmake ..
make   # fails

Observed behaviour


configure: error: cannot find required auxiliary files: config.guess config.sub
make[2]: *** [CMakeFiles/HTSLIB_CONFIGURED.dir/build.make:63: ../externalTools/htslib/config.h] Error 1
make[2]: Leaving directory '/scratch/work/etw/repo/marginPolish/build'
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/HTSLIB_CONFIGURED.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 44%] Linking C static library libson.a
make[2]: Leaving directory '/scratch/work/repo/marginPolish/build'
[ 44%] Built target son
make[1]: Leaving directory '/scratch/work/repo/marginPolish/build'
make: *** [Makefile:95: all] Error 2

No ./marginPolish binary is produced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions