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

configuration ERROR with samtools #59

Open
WTarabidopsis opened this issue Aug 1, 2019 · 3 comments
Open

configuration ERROR with samtools #59

WTarabidopsis opened this issue Aug 1, 2019 · 3 comments

Comments

@WTarabidopsis
Copy link

Hi,
When I was configuring LACHESIS, an ERROR about samtools always came up. The samtools have already been installed and I gave it the DIR. However, it could not recognize the samtools.
The command for configuration is

./configure --with-samtools=/lustre/home/jiayuxin/1-softwares/samtools/

Part of the ERROR messages are as follows:

checking if samtools is wanted... yes
checking sam.h usability... no
checking sam.h presence... no
checking for sam.h... no
checking for sam_open in -lbam... no
checking samtools... failed
configure: error: either specify a valid samtools installation with --with-samtools=DIR or disable samtools usage with --without-samtools

Even I disabled the use of samtools like this: ./configure --without-samtools
It also ran ERROR:

checking if samtools is wanted... no
checking sam.h usability... no
checking sam.h presence... no
checking for sam.h... no
checking for sam_open in -lbam... no
checking samtools... failed
configure: error: either specify a valid samtools installation with --with-samtools=DIR or disable samtools usage with --without-samtools

Furthermore, I also tried to put the source files of samtools and the built file into the same directory, but it didn't help.

Could anyone help me with this problem? Thanks in advance!

@wuxiaopei0509
Copy link

Hi,dear
Have your problems been resolved? I have the same problem

@WTarabidopsis
Copy link
Author

Hi,
I found that the LACHESIS required an old version of samtools and the installation package was included in LACHESIS package. After you unpack LACHESIS, it should be located at ./LACHESIS/src/include
Good luck.

@anupullanhi
Copy link

Hi, I got the same error for samtools while running configure as shown below:

Command used - ./configure --with-samtools=./src/include/samtools-legacy_0.1.19_debian

Error:
checking for sam_open in -lbam... no
checking samtools... failed
configure: error: either specify a valid samtools installation with --with-samtools=DIR or disable samtools usage with --without-samtools

I tried the export commands as well but it didn't work.
Any help in resolving this issue is appreciated.

Thank you

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

3 participants