Skip to content

Instantly share code, notes, and snippets.

@awjrichards-zz
Created February 22, 2012 01:11
Show Gist options
  • Save awjrichards-zz/1880368 to your computer and use it in GitHub Desktop.
Save awjrichards-zz/1880368 to your computer and use it in GitHub Desktop.
Brew install sshfs FAIL!
$ brew install sshfs
==> Cloning https://github.com/fuse4x/sshfs.git
Updating /Users/awjrichards/Library/Caches/Homebrew/sshfs--git
==> Checking out tag sshfs_2_3_0
==> /usr/bin/autoreconf --force --install
==> ./configure --disable-debug --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/gcc-4.2
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/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... none
checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes
checking for library containing dlsym... none required
checking OpenSSH version... 5.2 >= 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 '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#L19
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 638b8f27241f943606c0568d34ec620f1362e0f6
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
OS X: 10.6.8
Kernel Architecture: x86_64
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
Clang: 1.7 build 77
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4.1
CXXFLAGS: -Os -w -pipe -march=core2 -msse4.1
CPPFLAGS: -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/libffi/3.0.10/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.10/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
arbot_wiki:~ awjrichards$ sudo chown -R $USER /usr/local
Password:
arbot_wiki:~ awjrichards$ brew install -v sshfs
==> Cloning https://github.com/fuse4x/sshfs.git
Updating /Users/awjrichards/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-EVIy/
==> /usr/bin/autoreconf --force --install
/usr/bin/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/gcc-4.2
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/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... none
checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes
checking for library containing dlsym... none required
checking OpenSSH version... 5.2 >= 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 '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#L19
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 638b8f27241f943606c0568d34ec620f1362e0f6
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
OS X: 10.6.8
Kernel Architecture: x86_64
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM: build 2335
Clang: 1.7 build 77
MacPorts or Fink? false
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Build Flags
CC: /usr/bin/gcc-4.2
CXX: /usr/bin/g++-4.2
LD: /usr/bin/gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4.1
CXXFLAGS: -Os -w -pipe -march=core2 -msse4.1
CPPFLAGS: -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/libffi/3.0.10/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.10/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment