Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Won't install on OSX 10.9 #57

Closed
ZachMassia opened this issue Jul 29, 2014 · 5 comments
Closed

Won't install on OSX 10.9 #57

ZachMassia opened this issue Jul 29, 2014 · 5 comments

Comments

@ZachMassia
Copy link

I'm having trouble installing Helm on Mavericks.

Install log and setup info: https://gist.github.com/ZachMassia/5edc0a01f51148846bc4

I found http://www.haskell.org/pipermail/haskell-cafe/2013-October/111001.html which seems to indicate a problem with glib and ghc 7.6, however I am running ghc 7.8 which should of fixed the problem.

@z0w0
Copy link
Owner

z0w0 commented Jul 30, 2014

Honestly, I've got no idea. It doesn't look like the same issue because cabal installed cairo fine. What version of glib do you have installed?

@z0w0 z0w0 added bug and removed bug labels Jul 30, 2014
@ZachMassia
Copy link
Author

I've got glib 2.40.0_1 installed from Homebrew.

@ZachMassia
Copy link
Author

So I've made some progress. I googled a bit regarding the following line:

Package 'xcb-shm', required by 'cairo', not found

This led me to this homebrew issue which suggested running

export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig.

That seemed to resolve the xcb-shm related errors, leaving me with just the glib related errors, as seen here.

@maoe
Copy link

maoe commented Jul 31, 2014

You probably could work around the issue by installing gcc using homebrew then passing --with-gcc=gcc-<version> to cabal so that ghc uses actual gcc rather than clang.

@ZachMassia
Copy link
Author

Wow, that was easy. Thanks a bunch @maoe !

If anyone else runs into this problem, the current stable gcc on homebrew (4.9.1) worked for me:

cabal install helm --with-gcc=gcc-4.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants