0

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

user1068636
  • 1,871
  • 7
  • 33
  • 57
  • You ran ./configure; make; sudo make install ? What did the make say when it failed? Usually these things give you some kind of clue as to why the fail. We can't really know what you mean by "no success". – Charlie Burns Oct 10 '13 at 01:27
  • @CharlieBurns - I have added specific error messages per your request. – user1068636 Oct 10 '13 at 16:26
  • You can see the contents of the ./configure and makefile scripts if you click on the source code link above. – user1068636 Oct 10 '13 at 16:27
  • My big confusion is why sshfs works but can't compile? – user1068636 Oct 10 '13 at 16:27
  • Using an executable and compiling source code are two different things. You probably _can_ compile it, you just need to figure out _how_ to compile. Your command line "make -f Makefile.am" is wrong. To compile you need two commands: "./configure" and "make". To install it you need one command: "sudo make install". Note that many many things can go wrong in any command and to sort these problems out may take some effort. Or they may go smoothly if everything the source needs is installed property. – Charlie Burns Oct 10 '13 at 16:42

1 Answers1

1

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
David Grayson
  • 84,103
  • 24
  • 152
  • 189
  • I tried your recommendation and everything appeared to go well until "./configure" I get an error message "checking OpenSSH version... 5.6 >= 4.4, disabling NODELAY workaround ./configure: line 3676: syntax error near unexpected token `SSHFS,' ./configure: line 3676: `PKG_CHECK_MODULES(SSHFS, fuse >= 2.3 glib-2.0 gthread-2.0)'" – user1068636 Nov 01 '13 at 01:33
  • Ok, I am glad you are making progress. I would consider the current question to be answered, and the new error message your are getting on line 3676 would be a new problem that I don't know about. – David Grayson Nov 01 '13 at 01:36