Entering edit mode
11.3 years ago
Tonyzeng
▴
310
I am the first to install BWA and never use this software by commands of Linux.When I try to install BWA under bwa.0.7.5a, after I typed "make" it showed as follows:
gcc -g -Wall -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS QSufSort.o bwt_gen.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o is.o bwtindex.o bwape.o kopen.o pemerge.o bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o bwtsw2_chain.o fastmap.o bwtsw2_pair.o main.o -o bwa -L. -lbwa -lm -lz -lpthread
ld: can't open output file for writing: bwa, errno=21
collect2: ld returned 1 exit status
make: *** [bwa] Error 1
I have installed xcode 3.2.6 on my mac but do not know what's going on there. Anyone can answer my question?
Very appreciate!
Check here for the answer. Hint: you have a directory in your current working directory that is named "bwa". Rename that folder and try again.
Why not post this as answer instead of a comment?
I'm honestly not trying for snark here. Because it's answered perfectly clearly elsewhere, at several searchable locations, and because answering a question of the format "X" installation failed after "Y" command does not help anyone but the OP.
cross posted on SE: http://seqanswers.com/forums/showthread.php?p=115420