[xmonad] Building xmonad / X11 fails on Mac OS X 10.11.3 El Capitan.

Christoph R. Murauer nawi at nawi.is
Sun Feb 21 21:03:46 UTC 2016


Thanks for your answer.

Maybe someone else needs the information.

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.

> This is https://github.com/xmonad/X11/issues/24 and workarounds are provided there.
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net



More information about the xmonad mailing list