nh13 / DWGSIM

Whole Genome Simulator for Next-Generation Sequencing
GNU General Public License v2.0
92 stars 36 forks source link

Installation issue #87

Closed tnnandi closed 10 months ago

tnnandi commented 10 months ago

Hi,

When installing DWGSIM, I encounter the following error during the make process:

bam_tview_curses.c:287:2: warning: #warning "No curses library is available; tview with curses is disabled." [-Wcpp]
 #warning "No curses library is available; tview with curses is disabled."
  ^~~~~~~
gcc -c -g -Wall -O3  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -DPACKAGE_VERSION=\"0.1.15\" -I. bam_tview_html.c -o bam_tview_html.o
gcc -g -Wall -O3  -o samtools bam_tview.o bam_plcmd.o sam_view.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o bam_tview_curses.o bam_tview_html.o  libbam.a -Lbcftools -lbcf  -lcurses  -lm -lz -lpthread
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:57: samtools] Error 1
make[1]: Leaving directory '/lus/grand/projects/covid-ct/tarak/DWGSIM_0p1p11/DWGSIM/samtools'
make: *** [Makefile:25: all-recur] Error 1

Also, my directory structure looks like this: tnnandi@polaris-login-02:/grand/covid-ct/tarak/DWGSIM_0p1p11/DWGSIM> ls docs INSTALL LICENSE Makefile README.md samtools scripts src testdata

nh13 commented 10 months ago

Take a look at the same issues for samtools. Sorry, I am not able to provide further support.