From Genome Analysis Wiki
Jump to navigationJump to search
1,276 bytes added
, 16:38, 26 February 2015
Line 10: |
Line 10: |
| ; How do I compile | | ; How do I compile |
| : <pre>cd src/; make;</pre> | | : <pre>cd src/; make;</pre> |
| + | |
| + | ;bam_tview_curses.c<nowiki>:5:20: error: curses.h: No such file or directory</nowiki><br />bam_tview_curses.c<nowiki>:7:2: warning: #warning "_CURSES_LIB=1 but NCURSES_VERSION not defined; tview is NOT compiled"</nowiki><br />bam_tview_curses.c<nowiki>:287:2: warning: #warning "No curses library is available; tview with curses is disabled."</nowiki><br />make[2]<nowiki>:</nowiki> *** [bam_tview_curses.o] Error 1<br />make[2]<nowiki>:</nowiki> Leaving directory `/group/onel-lab/GeneticResources/bin/gotcloud/1.16/gotcloud-gotcloud.1.16/src/samtools'<br />make[1]<nowiki>:</nowiki> *** [all-recur] Error 1<br />make[1]<nowiki>:</nowiki> Leaving directory `/group/onel-lab/GeneticResources/bin/gotcloud/1.16/gotcloud-gotcloud.1.16/src/samtools'<br />make<nowiki>:</nowiki> *** [samtools] Error 2 |
| + | : This error is due to curses not being installed on your machine. To fix this error, you need to disable curses in samtools & samtools-hybrid |
| + | :* Modify: <code>gotcloud/src/samtools/Makefile</code> and <code>gotcloud/src/samtools-hybrid/Makeifle</code> |
| + | :*# Replace: |
| + | :*#: <code>-D_CURSES_LIB=1</code> |
| + | :*#: with: |
| + | :*#: <code>-D_CURSES_LIB=0</code> |
| + | :*# Replace: |
| + | :*#: <code>LIBCURSES= -lcurses # -lXCurses</code> |
| + | :*#: with: |
| + | :*#: <code>LIBCURSES= # -lcurses # -lXCurses</code> |
| + | |
| + | |
| + | ; |
| | | |
| ;CMake Error<nowiki>:</nowiki> The current CMakeCache.txt directory /path1/gotcloud/src/premo/build/CMakeCache.txt is different than the directory /path2/gotcloud/src/premo/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt<br /><nowiki>CMake Error: The source "/path1/gotcloud/src/premo/CMakeLists.txt" does not match the source "/path2/gotcloud/src/premo/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory. | | ;CMake Error<nowiki>:</nowiki> The current CMakeCache.txt directory /path1/gotcloud/src/premo/build/CMakeCache.txt is different than the directory /path2/gotcloud/src/premo/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt<br /><nowiki>CMake Error: The source "/path1/gotcloud/src/premo/CMakeLists.txt" does not match the source "/path2/gotcloud/src/premo/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory. |