Question: Bwa Installation Failed After "Make" Command In Linux
0
gravatar for Tonyzeng
7.1 years ago by
Tonyzeng300
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
2

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
1

Why not post this as answer instead of a comment?

ADD REPLYlink written 7.1 years ago by Andreas2.5k
1

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
1

cross posted on SE: http://seqanswers.com/forums/showthread.php?p=115420

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

Help
Access

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