Search code examples
cosx-leopardsshfs

how do i compile the sshfs file system on a mac?


I downloaded and installed FUSE for osx package.

I downloaded sshfs for mac and successfully installed it on my mac running OSX 10.6.8.

However, at some point, I would like to make some changes to sshfs the source code.

Following is what I tried to build sshfs:

git clone https://github.com/osxfuse/sshfs.git
cd sshfs
autoconf
chmod +x configure
./configure
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."

I am stuck and not sure how to fix this. Looking at the git repository there is no find that is install-sh or install.sh


Solution

  • I don't know much about autotools, but I think you need to run more commands than just autoconf. Try this sequence:

    aclocal
    autoconf
    autoheader
    automake --foreign --add-missing --copy
    ./configure
    make
    sudo make install