cygwin error when i try to install platypus (variant caller)
0
0
Entering edit mode
8.3 years ago
reza ▴ 300

when i try to install platypus and samtools on cygwin, i get below error:

htslibWrapper.c:243:25: fatal error: htslib/bgzf.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

Setup failed. Check previous lines for errors

what is htslib/bgzf? if i install mentioned programs on linux, i'll get same errors?

software error SNP • 2.6k views
ADD COMMENT
0
Entering edit mode

Can you elaborate on how you were installing those tools? What did you download, which commands did you execute?

ADD REPLY
0
Entering edit mode

htslib can be downloaded here. See INSTALL file for build instructions.

ADD REPLY
0
Entering edit mode

i installed htslib using below commands:

./configure

make

make install

and then tried to install platypus and now i getting following error

htslibWrapper.c:1:0: warning: -fPIC ignored for target (all code is position independent) /* Generated by Cython 0.21.1 */ ^ gcc -shared -Wl,--enable-auto-image-base -L. build/temp.cygwin-2.5.2-x86_64-2.7/htslibWrapper.o -L/usr/lib/python2.7

/config -L/usr/lib -lhts -lpython2.7 -o build/lib.cygwin-2.5.2-x86_64-2.7/htslibWrapper.dll

/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lhts collect2: error: ld returned 1 exit status

error: command 'gcc' failed with exit status 1

Setup failed. Check previous lines for errors

ADD REPLY

Login before adding your answer.

Traffic: 1860 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6