sshfs icon indicating copy to clipboard operation
sshfs copied to clipboard

./configure not in repository

Open rpural opened this issue 8 years ago • 8 comments

The install instructions begin with "Run ./configure", but ./configure doesn't exist.

rpural avatar Nov 07 '16 14:11 rpural

Never mind; Answered my own question.

rpural avatar Nov 07 '16 15:11 rpural

Still have a problem though: Running the generated ./configure, it ends with:

checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for library containing dlsym... none required checking OpenSSH version... 6.9 >= 4.4, disabling NODELAY workaround ./configure: line 3796: syntax error near unexpected token SSHFS,' ./configure: line 3796:PKG_CHECK_MODULES(SSHFS, fuse >= 2.3 glib-2.0 gthread-2.0)' R5057499:sshfs rpn01$

Is there a work-around for this?

rpural avatar Nov 07 '16 15:11 rpural

You need to make sure that all required dependencies are installed. Among those dependencies are glib and gthread. The error could also mean that pkg-config is not installed.

The easiest way to build sshfs is probably MacPorts (or Homebrew). If you are looking for a prebuilt binary you can download an installer package from https://osxfuse.github.io.

bfleischer avatar Nov 07 '16 18:11 bfleischer

@bfleischer Can you merge from upstream and upload an up-to-date installer package? The current stable version is 2.8.0.

Eitot avatar Nov 08 '16 19:11 Eitot

run into the same pitfall on macOS 10.12

jakiechris avatar Aug 10 '17 06:08 jakiechris

nothing changed after brew install pkg-config

jakiechris avatar Aug 10 '17 06:08 jakiechris

When I try to run ./configure I just get "No such file or directory" macOS Mojave I wish @rpural had shared with us his answer to this question.

RobLewis avatar Jan 06 '19 19:01 RobLewis

@RobLewis 3 years later, the answer is that you need to run autoreconf -i first, which will make the config file.

michael-nakai avatar May 25 '22 01:05 michael-nakai