Error "could not detect bam" Reported During Cufflinks Compilation
Symptom
The error message "error:we could not detect bam" is displayed during Cufflinks compilation.
Key Process and Cause Analysis
- The configure file is incorrectly configured.
- <bam/version.hpp> is used to determine the BAM version in the configure file.
Conclusion and Solution
- If the configure file is incorrectly configured:Modify the configure file.
- Open the configure file.
vi configure
- Press i to enter the insert mode and change no to yes in line 5380 of the configure file.
succeeded=yes
- Press Esc, type :wq!, and press Enter to save the settings and exit.
- Open the configure file.
- If <bam/version.hpp> is used to determine the BAM version in the configure file (actually version.h is the version file of the BAM):Modify the configure file.
- Open the configure file.
vi configure
- Press i to enter the insert mode and change bam/version.hpp to bam/version.h.
bam/version.h
- Press Esc, type :wq!, and press Enter to save the settings and exit.
- Open the configure file.