osxfuse/filesystems — Issue #2: Can't configure or build sshfs
Author: beeblebrox
Created: 2011-10-17 16:13:25+00:00
State: open

I can't find details instrunctions on how to build this, but I am modifying instrunctions I found at: http://code.google.com/p/macfuse/wiki/HOWTO

What I did was:
1. Download sshfs source 2.2 from sourceforge.
2. Pathced with the 2.2 patch in this repo, it was successful without error.
3. ran `$OSXFUSEREPO/build.sh -t swconfigure` and I get this error:

checking for library containing dlsym... none required
checking OpenSSH version... 5.6 >= 4.4, disabling NODELAY workaround
checking for pkg-config... no
checking for SSHFS... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

If I just run ./configure in the patched sshfs 2.2 directory it works OK, but the make command errors with a lot of undefined symbols.

Alternatively, you may set the environment variables SSHFS_CFLAGS
and SSHFS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.