zhou-lab / biscuit

BISulfite-seq CUI Toolkit
Other
62 stars 24 forks source link

Compilation problem: Fail to create biscuit binary #41

Open PanZiwei opened 4 years ago

PanZiwei commented 4 years ago

When I tried to compile Biscuit with v0.3.14 from the link (https://github.com/zhou-lab/biscuit/archive/v0.3.14.20200104.zip) following the scripts:

$ unzip biscuit-0.3.14.20200104.zip

$ cd biscuit-0.3.14.20200104

$ make

It can't create biscuit binary give the error:

gcc -c -W -Wall -finline-functions -fPIC -std=gnu99 -Wno-unused-result -O3 -Ilib/utils -Iinclude/klib lib/aln/bntseq.c -o lib/aln/bntseq.o

lib/aln/bntseq.c:36:10: fatal error: encode.h: No such file or directory

 #include "encode.h"
          ^~~~~~~~~~
compilation terminated.

make: *** [lib/aln/bntseq.o] Error 1

Also, I tried randomly older versions such as v0.3.12 or 0.3.4, it still have the problem but the error is slightly different:

src/tview.c:27:10: fatal error: ncurses.h: No such file or directory
 #include <ncurses.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [src/tview.o] Error 1

Any suggestions on how to fix this? Thanks!