I was trying install htslib as dependencies for Auggustus. I have followed
cd htslib/
autoheader
autoreconf
./configure
make
make install
I got stuck in the last step (make install); it was showing that,
mkdir -p -m 755 /usr/local/bin /usr/local/include /usr/local/include/htslib /usr/local/lib /usr/local/share/man/man1 /usr/local/share/man/man5 /usr/local/lib/pkgconfig
if test -n ""; then mkdir -p -m 755 ; fi
install -p -m 644 libhts.so /usr/local/lib/libhts.so.1.8
install: cannot remove '/usr/local/lib/libhts.so.1.8': Permission denied
Makefile:454: recipe for target 'install-so' failed
make: *** [install-so] Error 1
I couldn't understand what is the problem, PLEASE HELP.
Hello kabir.deb0353,
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Thank you!
Thank you every one for the suggestions, the problem has been solved by using
sudo make install
.If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.