Closed winni-liu closed 4 years ago
Hi, when i install this, it occurs the same error with u, have u figured out this ?
What does your samtools installation directory look like?
I got this to work when all binaries, libraries and executables were in the top directory. This can be obtained with this command:
git clone git://github.com/samtools/samtools.git
The install didn't work when they were in sub-directories (e.g. bin and lib).
Hope it helps!
I configure by this code ./configure --with-samtools=/psd/biosoft/samtools_suit/samtools-0.1.19/ --with-boost=/psd/biosoft/boost_1_60_0_b1/ but I get the error messages :
...................... checking if samtools is wanted... yes checking sam.h usability... yes checking sam.h presence... yes checking for sam.h... yes 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
also, I have tested other way and configure: export LACHESIS_BOOST_DIR="/psd/biosoft/boost_1_60_0_b1/:$LACHESIS_BOOST_DIR" export LACHESIS_SAMTOOLS_DIR="/psd/biosoft/samtools_suit/samtools-0.1.19/:$LACHESIS_SAMTOOLS_DIR"
I configure by this code
./configure --with-samtools=/psd/biosoft/samtools_suit/samtools-0.1.19/ --with-boost=/psd/biosoft/boost_1_60_0_b1/
but I get the error messages :...................... checking if samtools is wanted... yes checking sam.h usability... yes checking sam.h presence... yes checking for sam.h... yes 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
also, I have tested other way and configure: export LACHESIS_BOOST_DIR="/psd/biosoft/boost_1_60_0_b1/:$LACHESIS_BOOST_DIR" export LACHESIS_SAMTOOLS_DIR="/psd/biosoft/samtools_suit/samtools-0.1.19/:$LACHESIS_SAMTOOLS_DIR"
but it didn't work, Samtools is well installed and available。