我正在尝试通过Cygwin安装bedtools v2.27.0。以下是我尝试过的命令:
$ wget https://github.com/arq5x/bedtools2/releases/download/v2.27.0/bedtools-2.27.0.tar.gz
$ tar -zxvf bedtools-2.27.0.tar.gz
$ cd bedtools2
$ make在运行最后一个命令时,我得到以下错误:
*fatal error: zlib.h: No such file or directory
*#include <zlib.h>*
^
compilation terminated.
make[1]: *** [Makefile:37: ../../../obj//FileRecordMgr.o] Error 1
make: *** [Makefile:187: src/utils/FileRecordTools] Error 2* 我尝试使用以下命令下载libz包:
$ apt-cyg install libz-dev但它并没有起作用。我得到了以下错误:
Unable to locate package libz-dev请注意,我在windows (64位计算机)上使用Cygwin终端。非常感谢您的帮助。
发布于 2018-01-05 17:17:44
要安装软件包,请使用cygwin setup,或者至少在使用apt-cyg之前找到正确的软件包名称
要查找包含zlib.h头的包:
$ cygcheck -p include/zlib.h
Found 10 matches for include/zlib.h
...
zlib-devel-1.2.11-1 - zlib-devel: gzip de/compression library (development)
..因此,您需要安装zlib-devel
https://stackoverflow.com/questions/48092897
复制相似问题