genome / bam-readcount

Count bases in BAM/CRAM files
MIT License
298 stars 95 forks source link

Issue on installation #100

Open idoit4fun opened 2 years ago

idoit4fun commented 2 years ago

Hello, I'm trying to install bam-readcount v1.0.1 on centos 7.

I followed all the steps about Installation on README, but it's failed all the time. I was trying to google about error log but I could't find any proper answer or throubleshooting.

Here are the error logs.

''' [root@X01 build]# make [ 10%] Built target boost-1.55 [ 21%] Built target gtest160 [ 21%] Built target __bc_predepends [ 32%] Built target zlib [ 42%] Built target bzip2 [ 53%] Built target mbedtls [ 64%] Built target curl [ 74%] Built target xz [ 85%] Built target samtools-lib [ 90%] Built target bamrc [ 92%] Linking CXX executable ../../../../bin/bam-readcount /home/anaconda/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: ../../../../vendor/samtools-1.10/libbam.a(bam_aux.o): unable to initialize decompress status for section .debug_info /home/anaconda/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: ../../../../vendor/samtools-1.10/libbam.a(bam_aux.o): unable to initialize decompress status for section .debug_info /home/anaconda/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: ../../../../vendor/samtools-1.10/libbam.a: error adding symbols: file format not recognized collect2: error: ld returned 1 exit status make[2]: [build/src/exe/bam-readcount/CMakeFiles/bam-readcount.dir/build.make:127: bin/bam-readcount] Error 1 make[1]: [CMakeFiles/Makefile2:469: build/src/exe/bam-readcount/CMakeFiles/bam-readcount.dir/all] Error 2 make: *** [Makefile:183: all] Error 2 '''

Thank you in advance.