Question: Bwa Installation Failed After "Make" Command In Linux
gravatar for Tonyzeng
7.1 years ago by
Tonyzeng300 wrote:

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!

bwa • 5.5k views
ADD COMMENTlink modified 7.1 years ago by Istvan Albert ♦♦ 85k • written 7.1 years ago by Tonyzeng300

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.

ADD REPLYlink written 7.1 years ago by Matt Shirley9.4k

Why not post this as answer instead of a comment?

ADD REPLYlink written 7.1 years ago by Andreas2.5k

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.

ADD REPLYlink written 7.1 years ago by Matt Shirley9.4k

cross posted on SE:

ADD REPLYlink written 7.1 years ago by Pierre Lindenbaum131k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1101 users visited in the last hour