hyunminkang / cleancall

Correction for DNA contamination in genotype calling
MIT License
7 stars 2 forks source link

Error when trying to install cleancall #4

Open metageni opened 7 years ago

metageni commented 7 years ago

I got the following message after running make. It seems that the hard coded path /home/hmkang/code/working/cleancall/ is the problem.

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/hmkang/code/working/cleancall/missing --run aclocal-1.11 -I m4 /bin/sh: 0: Can't open /home/hmkang/code/working/cleancall/missing Makefile:270: recipe for target 'aclocal.m4' failed make: *** [aclocal.m4] Error 127

Please let me know if it is an easy fix.

MrFlick commented 7 years ago

Did you do the configure step prior to make?

./configure --prefix [/path/to/install]
metageni commented 7 years ago

Thanks for the answer--yes. ./configure --prefix /usr/local/bin/.

And I got the following configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

MrFlick commented 7 years ago

So it seems like that step failed. What operating system are you using? Might be related to not having autogen installed (See https://askubuntu.com/questions/27677/cannot-find-install-sh-install-sh-or-shtool-in-ac-aux/27679)

metageni commented 7 years ago

Ubuntu. I will check it out. Thanks

metageni commented 7 years ago

I followed this one (https://askubuntu.com/questions/27677/cannot-find-install-sh-install-sh-or-shtool-in-ac-aux) and worked. $ autoreconf -vif $ ./configure --prefix [/path/to/install] $ make $ sudo make install

Thanks

XueyunF commented 6 years ago

Hi there, I followed metageni to get it install, but it returns: $ autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} aclocal: error: aclocal: file 'm4/lt~obsolete.m4' does not exist autoreconf: aclocal failed with exit status: 1

Any suggestion to solve this?

Thanks

shawarden commented 5 years ago

Thanks for the answer--yes. ./configure --prefix /usr/local/bin/.

And I got the following configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

This is because there are version specific softlinks in the repository:

    config.guess -> /usr/share/automake-1.11/config.guess
    config.sub -> /usr/share/automake-1.11/config.sub
    depcomp -> /usr/share/automake-1.11/depcomp
    install-sh -> /usr/share/automake-1.11/install-sh
    ltmain.sh -> /usr/share/libtool/config/ltmain.sh
    missing -> /usr/share/automake-1.11/missing