Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lsantome
    Junior Member
    • Feb 2013
    • 8

    #1

    Newbie need help to install BEDTools under Cigwin

    Hi all,

    I've been trying to install BEDTools under Cigwin but I get the following error message in the last step:

    $ make all
    Building BEDTools:
    =========================================================
    DETECTED_VERSION = v2.17.0
    CURRENT_VERSION =
    Updating version file.
    * Creating BamTools API
    - Building in src/utils/bedFile
    * compiling bedFile.cpp
    bedFile.cpp:1: warning: -fPIC ignored for target (all code is position independent)
    In file included from bedFile.h:16,
    from bedFile.cpp:12:
    ../../utils//gzstream/gzstream.h:35:18: zlib.h: No such file or directory
    In file included from bedFile.h:16,
    from bedFile.cpp:12:
    ../../utils//gzstream/gzstream.h:50: error: `gzFile' does not name a type
    Makefile:22: recipe for target `../../../obj//bedFile.o' failed
    make[1]: *** [../../../obj//bedFile.o] Error 1
    Makefile:120: recipe for target `src/utils/bedFile' failed
    make: *** [src/utils/bedFile] Error 2


    I've previously installed BEDTools in a Ubuntu virtual machine without any problem, but it makes my desktop PC very slow.

    I've apparently installed all the required packages for the installation under cigwin. I hope you can help me. I'd appreciate it a lot.

    Thank you in advance
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Are you certain you have installed "zlib"? If not this may help: http://askubuntu.com/questions/21059...-using-apt-get

    Comment

    • lsantome
      Junior Member
      • Feb 2013
      • 8

      #3
      Originally posted by GenoMax View Post
      Are you certain you have installed "zlib"? If not this may help: http://askubuntu.com/questions/21059...-using-apt-get
      Hi Genomax,

      Thank you for your answer

      After installing "zlib" and "libgcrypt" I got the same error

      I'll keep trying it

      Comment

      • bakerwm
        Member
        • Sep 2010
        • 12

        #4
        Originally posted by lsantome View Post
        Hi Genomax,

        Thank you for your answer

        After installing "zlib" and "libgcrypt" I got the same error

        I'll keep trying it
        Hi, Have you fixed this error yet?

        I got the same warnings when install BEDtools under Cygwin (MobaXterm 7.6).

        I also find an answer on Biostars, it may be helpful: https://www.biostars.org/p/103210/

        Comment

        • jmarshall
          Samtools maintainer
          • Jul 2009
          • 39

          #5
          If the error you get when building bedtools (or other software) is

          zlib.h: No such file or directory
          then on Cygwin the package you need to ensure is installed is zlib-devel.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-13-2026, 09:56 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-09-2026, 11:14 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Working...