Skip to content

configuration ERROR with samtools #59

@WTarabidopsis

Description

@WTarabidopsis

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions