Skip to content

Instantly share code, notes, and snippets.

@meling
Created October 31, 2011 10:49
Show Gist options
  • Save meling/1327268 to your computer and use it in GitHub Desktop.
Save meling/1327268 to your computer and use it in GitHub Desktop.
Brew install of sshfs
%% brew doctor
Some "config" scripts were found in your path, but not in system or Homebrew folders.
`./configure` scripts often look for *-config scripts to determine if software packages
are installed, and what additional flags to use when compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if
the config script overrides a system or Homebrew provided script of the same name.
/usr/X11R6/bin
freetype-config libpng-config libpng15-config
%% brew install -v sshfs
==> Cloning https://github.com/fuse4x/sshfs.git
Updating /Users/meling/Library/Caches/Homebrew/sshfs--git
git remote set-url origin https://github.com/fuse4x/sshfs.git
git fetch origin
git fetch --tags
==> Checking out tag sshfs_2_3_0
git checkout sshfs_2_3_0
HEAD is now at 3b39c1c... Add compat to XCode project
git checkout-index -a -f --prefix=/private/tmp/homebrew-sshfs-2.3.0-3AD2/
==> autoreconf --force --install
autoreconf --force --install
configure.ac:6: installing `./compile'
configure.ac:2: installing `./missing'
configure.ac:2: installing `./install-sh'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/sshfs/2.3.0
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/sshfs/2.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/llvm-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/llvm-gcc... none
checking whether /usr/bin/llvm-gcc and cc understand -c and -o together... yes
checking for library containing dlsym... none required
checking OpenSSH version... 5.6 >= 4.4, disabling NODELAY workaround
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SSHFS... no
configure: error: Package requirements (fuse >= 2.3 glib-2.0 gthread-2.0) were not met:
No package 'fuse' found
No package 'glib-2.0' found
No package 'gthread-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
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.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/sshfs.rb#L17
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 6dd4c434567ca4de684d5d664eb70c6431016451
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit penryn
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CPPFLAGS: -I/usr/local/Cellar/libiconv/1.14/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/libiconv/1.14/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j8
PKG_CONFIG_PATH: /usr/local/Cellar/libiconv/1.14/lib/pkgconfig:/usr/local/Cellar/gettext/0.18.1.1/lib/pkgconfig
Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/sshfs/2.3.0
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log
@meling
Copy link
Author

meling commented Nov 1, 2011

brew install -v sshfs [~]
==> Cloning https://github.com/fuse4x/sshfs.git
Updating /Users/meling/Library/Caches/Homebrew/sshfs--git
git remote set-url origin https://github.com/fuse4x/sshfs.git
git fetch origin
git fetch --tags
==> Checking out tag sshfs_2_3_0
git checkout sshfs_2_3_0
HEAD is now at 3b39c1c... Add compat to XCode project
git checkout-index -a -f --prefix=/private/tmp/homebrew-sshfs-2.3.0-H8pC/
==> autoreconf --force --install
autoreconf --force --install
configure.ac:6: installing ./compile' configure.ac:2: installing./missing'
configure.ac:2: installing ./install-sh' Makefile.am: installing./INSTALL'
Makefile.am: installing `./depcomp'
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/sshfs/2.3.0
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/sshfs/2.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/llvm-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/llvm-gcc accepts -g... yes
checking for /usr/bin/llvm-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/llvm-gcc... none
checking whether /usr/bin/llvm-gcc and cc understand -c and -o together... yes
checking for library containing dlsym... none required
checking OpenSSH version... 5.6 >= 4.4, disabling NODELAY workaround
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SSHFS... no
configure: error: Package requirements (fuse >= 2.3 glib-2.0 gthread-2.0) were not met:

No package 'fuse' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

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.
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/sshfs.rb#L17
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 6dd4c434567ca4de684d5d664eb70c6431016451
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit penryn
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CPPFLAGS: -I/usr/local/Cellar/libiconv/1.14/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/libiconv/1.14/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j8
PKG_CONFIG_PATH: /usr/local/Cellar/libiconv/1.14/lib/pkgconfig:/usr/local/Cellar/gettext/0.18.1.1/lib/pkgconfig

Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/sshfs/2.3.0
These existing issues may help you:
Homebrew/legacy-homebrew#8385
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
We saved the configure log, please gist it if you report the issue:
~/Library/Logs/Homebrew/config.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment