arq5x / lumpy-sv

lumpy: a general probabilistic framework for structural variant discovery
MIT License
306 stars 118 forks source link

make compile error #384

Open sjads opened 1 year ago

sjads commented 1 year ago

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

liujiaxin7 commented 1 year ago

I encontered the same question!

sjads commented 1 year ago

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>

Stikus commented 7 months ago

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

q-wind commented 6 months ago

@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.

Stikus commented 5 months ago

@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