Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make compile error #384

Open
sjads opened this issue Sep 8, 2022 · 5 comments
Open

make compile error #384

sjads opened this issue Sep 8, 2022 · 5 comments

Comments

@sjads
Copy link

sjads commented Sep 8, 2022

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
Copy link

I encontered the same question!

@sjads
Copy link
Author

sjads commented Sep 19, 2022 via email

@Stikus
Copy link

Stikus commented Dec 18, 2023

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

@q-wind
Copy link

q-wind commented Dec 29, 2023

@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
Copy link

Stikus commented Feb 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants