lumpy-sv icon indicating copy to clipboard operation
lumpy-sv copied to clipboard

make compile error

Open sjads opened this issue 3 years ago • 5 comments

When I follow the readme download to make compile, it reports an error, missing file

configure.ac: error: required file 'config.sub' not found configure.ac: error: required file 'config.guess' not found configure.ac: try running autoreconf --install cd lib/htslib &&
./configure --disable-bz2 --disable-lzma --enable-libcurl configure: error: cannot find required auxiliary files: config.guess config.sub make: *** [Makefile:75:htslib] 错误 1

sjads avatar Sep 08 '22 04:09 sjads

I encontered the same question!

liujiaxin7 avatar Sep 18 '22 07:09 liujiaxin7

Have you solved it now?


---- Replied Message ----
From
Date 09/18/2022 15:58
To
Cc
Subject Re: [arq5x/lumpy-sv] make compile error (Issue #384)

I encontered the same question!


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: <arq5x/lumpy-sv/issues/384/1250215435@github.com>

sjads avatar Sep 19 '22 00:09 sjads

@sjads same problem here, do you find a solution?

Stikus avatar Dec 18 '23 14:12 Stikus

@Stikus I encountered the same problem, and then I run "autoreconf --install" in the path "lumpy-sv/lib/htslib", the missing config.sub and config.guess be generated, and I can come back and make. And I meet another problem: the host type is unrecognized when running "make" at the time it run "./configure ...", then I edit the Makefile at Line76 and add "--host=<myhosttype>" parameter and finally the make can work. I also realize that it cannot be compile by gcc-11, but gcc-9 can work.

q-wind avatar Dec 29 '23 02:12 q-wind

@q-wind great thanks for advice, autoreconf --install and --host= helped. And about compilation problem with gcc-11 - its origin is in bamtools - https://github.com/pezmaster31/bamtools/issues/213 and was fixed 3 years ago, but lumpy packages are too old: https://github.com/arq5x/lumpy-sv/tree/master/src/utils/BamTools

Stikus avatar Feb 09 '24 13:02 Stikus