On Sun, Feb 21, 2016 at 4:03 PM, Christoph R. Murauer <nawi@nawi.is> wrote:
Xmonad 0.12 requires :

LIBRARY_PATH=/opt/X11/lib:$LIBRARY_PATH CPPFLAGS="-I/opt/X11/include" LDFLAGS="-L/opt/X11/lib" cabal install xmonad

Xmonad-contrib 0.12 requires :

LIBRARY_PATH=/opt/X11/lib:$LIBRARY_PATH CPPFLAGS="-I/opt/X11/include" LDFLAGS="-L/opt/X11/lib" cabal install xmonad-contrib --flags="-use_xft“

It could also be, that pkg-config is required. Available for example using Homebrew.

pkg-config isn't required, although it can help. If you do use it, you'll need to have PKG_CONFIG_PATH in the environment pointing to the pkgconfig databases (yes, plural; one in lib, one in share) under /opt/X11 or /usr/X11 for it to find the X11 libraries.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net