Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BWA 'make' error

    I just want to use BWA-0.5.6 for mapping 454 reads on Linux. I got error message like this;

    =========
    $ make
    make[1]: Entering directory `/home/yago/bwa-0.5.6'
    make[1]: Nothing to be done for `lib'.
    make[1]: Leaving directory `/home/yago/bwa-0.5.6'
    make[1]: Entering directory `/home/yago/bwa-0.5.6/bwt_gen'
    make[1]: Nothing to be done for `lib'.
    make[1]: Leaving directory `/home/yago/bwa-0.5.6/bwt_gen'
    gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD utils.c -o utils.o
    utils.c:32:18: error: zlib.h: No such file or directory
    In file included from utils.c:33:
    utils.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_xzopen_core’
    utils.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_xzopen_core’
    make: *** [utils.o] Error 1
    =========

    Any suggestions? Thanks a lot!

  • #2
    Originally posted by yasu View Post
    I just want to use BWA-0.5.6 for mapping 454 reads on Linux. I got error message like this;

    =========
    $ make
    make[1]: Entering directory `/home/yago/bwa-0.5.6'
    make[1]: Nothing to be done for `lib'.
    make[1]: Leaving directory `/home/yago/bwa-0.5.6'
    make[1]: Entering directory `/home/yago/bwa-0.5.6/bwt_gen'
    make[1]: Nothing to be done for `lib'.
    make[1]: Leaving directory `/home/yago/bwa-0.5.6/bwt_gen'
    gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD utils.c -o utils.o
    utils.c:32:18: error: zlib.h: No such file or directory
    In file included from utils.c:33:
    utils.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_xzopen_core’
    utils.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘err_xzopen_core’
    make: *** [utils.o] Error 1
    =========

    Any suggestions? Thanks a lot!
    Install the zlib package (zlib and zlib-devel) in your linux distribution.

    debian/ubuntu

    $ sudo apt-get install zlib-dev

    redhat/fedora

    $ sudo yum install zlib-dev
    -drd

    Comment


    • #3
      Thanks, drio!!
      '$ sudo yum install zlib-devel' DOES work!!

      Comment


      • #4
        Thank you
        that works

        Comment

        Latest Articles

        Collapse

        • seqadmin
          New Genomics Tools and Methods Shared at AGBT 2025
          by seqadmin


          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

          The Headliner
          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
          03-03-2025, 01:39 PM
        • seqadmin
          Investigating the Gut Microbiome Through Diet and Spatial Biology
          by seqadmin




          The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
          02-24-2025, 06:31 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 12:50 PM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-03-2025, 01:15 PM
        0 responses
        181 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-28-2025, 12:58 PM
        0 responses
        276 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-24-2025, 02:48 PM
        0 responses
        663 views
        0 likes
        Last Post seqadmin  
        Working...
        X