我一直在嘗試幾個小時來安裝頭盔,我無法弄清楚。我遵循這裏的指示:http://helm-engine.org/guide/installing/。其完整的產出是在底部。我遇到了一些與我的問題here和here類似的情況,但解決方案無效。有什麼辦法可以在OS X Yosemite上安裝Helm嗎?在OS X上的頭盔安裝失敗
輸出:
helm-test~ cabal sandbox init
Writing a default package environment file to
/Users/marcusbuffett/Documents/programming/playground/helm-test/cabal.sandbox.config
Creating a new sandbox at
/Users/marcusbuffett/Documents/programming/playground/helm-test/.cabal-sandbox
helm-test~ brew install sdl2
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/sdl2-2.0.3.yosemite.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/sdl2-2.0.3.yosemite.bottle.1.tar.gz
==> Pouring sdl2-2.0.3.yosemite.bottle.1.tar.gz
/usr/local/Cellar/sdl2/2.0.3: 75 files, 3.9M
helm-test~ brew install cairo --without-x
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cairo-1.14.0.yosemite.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/cairo-1.14.0.yosemite.bottle.1.tar.gz
==> Pouring cairo-1.14.0.yosemite.bottle.1.tar.gz
/usr/local/Cellar/cairo/1.14.0: 106 files, 6.4M
helm-test~ brew install pango --without-x
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pango-1.36.8.yosemite.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/pango-1.36.8.yosemite.bottle.1.tar.gz
==> Pouring pango-1.36.8.yosemite.bottle.1.tar.gz
/usr/local/Cellar/pango/1.36.8: 132 files, 4.8M
helm-test~ cabal update
Downloading the latest package list from hackage.haskell.org
helm-test~ cabal install gtk2hs-buildtools
Resolving dependencies...
Notice: installing into a sandbox located at
/Users/marcusbuffett/Documents/programming/playground/helm-test/.cabal-sandbox
Configuring hashtables-1.1.2.1...
Building hashtables-1.1.2.1...
Installed hashtables-1.1.2.1
Configuring gtk2hs-buildtools-0.13.0.3...
Building gtk2hs-buildtools-0.13.0.3...
Installed gtk2hs-buildtools-0.13.0.3
helm-test~ cabal install helm
Resolving dependencies...
Notice: installing into a sandbox located at
/Users/marcusbuffett/Documents/programming/playground/helm-test/.cabal-sandbox
Configuring sdl2-1.3.0...
Configuring transformers-base-0.4.3...
Configuring utf8-string-0.3.8...
Building utf8-string-0.3.8...
Building transformers-base-0.4.3...
Building sdl2-1.3.0...
Installed transformers-base-0.4.3
Configuring elerea-2.8.0...
Building elerea-2.8.0...
Installed utf8-string-0.3.8
Configuring cairo-0.13.0.5...
Configuring glib-0.13.0.6...
Failed to install cairo-0.13.0.5
Build log (/Users/marcusbuffett/Documents/programming/playground/helm-test/.cabal-sandbox/logs/cairo-0.13.0.5.log):
[1 of 2] Compiling SetupWrapper (/var/folders/6n/q0w_nmps7n72j9fvfy1lc40h0000gn/T/cairo-0.13.0.5-29788/cairo-0.13.0.5/SetupWrapper.hs, /var/folders/6n/q0w_nmps7n72j9fvfy1lc40h0000gn/T/cairo-0.13.0.5-29788/cairo-0.13.0.5/dist/dist-sandbox-5fb32753/setup/SetupWrapper.o)
[2 of 2] Compiling Main (/var/folders/6n/q0w_nmps7n72j9fvfy1lc40h0000gn/T/cairo-0.13.0.5-29788/cairo-0.13.0.5/dist/dist-sandbox-5fb32753/setup/setup.hs, /var/folders/6n/q0w_nmps7n72j9fvfy1lc40h0000gn/T/cairo-0.13.0.5-29788/cairo-0.13.0.5/dist/dist-sandbox-5fb32753/setup/Main.o)
Linking /var/folders/6n/q0w_nmps7n72j9fvfy1lc40h0000gn/T/cairo-0.13.0.5-29788/cairo-0.13.0.5/dist/dist-sandbox-5fb32753/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup (Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o)
[2 of 2] Compiling Main (SetupMain.hs, dist/setup-wrapper/Main.o)
Linking dist/setup-wrapper/setup ...
Configuring cairo-0.13.0.5...
setup: Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
Building glib-0.13.0.6...
Installed elerea-2.8.0
Installed glib-0.13.0.6
Installed sdl2-1.3.0
cabal: Error: some packages failed to install:
cairo-0.13.0.5 failed during the configure step. The exception was:
ExitFailure 1
helm-0.6.0 depends on cairo-0.13.0.5 which failed to install.
pango-0.13.0.4 depends on cairo-0.13.0.5 which failed to install.
同樣的問題http://pastebin.com/qjAJufRC。你能最終安裝Helm嗎? – 2015-10-26 08:35:10