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

configure: error: cannot find required auxiliary files: config.guess config.sub #44

Closed
jflot opened this issue Jul 6, 2024 · 1 comment

Comments

@jflot
Copy link

jflot commented Jul 6, 2024

Hello,
I am trying to install hapdup using the provided instructions for conda.
However, the command pushd submodules/margin/ && mkdir build && cd build && cmake .. && make && cp ./margin $CONDA_PREFIX/bin/ && popd fails with the following error:

[ 49%] Building C object CMakeFiles/lpsolve.dir/externalTools/lp_solve/lp_simplex.c.o
[ 49%] Building C object CMakeFiles/lpsolve.dir/externalTools/lp_solve/lp_SOS.c.o
[ 49%] Building C object CMakeFiles/lpsolve.dir/externalTools/lp_solve/lp_utils.c.o
[ 50%] Building C object CMakeFiles/lpsolve.dir/externalTools/lp_solve/yacc_read.c.o
[ 50%] Linking C static library liblpsolve.a
[ 50%] Built target lpsolve
[ 50%] Generating /mnt/ebe/hapdup/submodules/margin/externalTools/htslib/config.h
configure: error: cannot find required auxiliary files: config.guess config.sub
make[2]: *** [CMakeFiles/HTSLIB_CONFIGURED.dir/build.make:75: /mnt/ebe/hapdup/submodules/margin/externalTools/htslib/config.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:154: CMakeFiles/HTSLIB_CONFIGURED.dir/all] Error 2
make: *** [Makefile:101: all] Error 2

Do you have an idea how to solve this problem?
Thanks a lot in advance!

@jflot
Copy link
Author

jflot commented Jul 6, 2024

update: I installed an older version of autoconf (2.69) and got it to work, cf. samtools/htslib#1197

@jflot jflot closed this as completed Jul 6, 2024
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

1 participant