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

Brandon Allbery allbery.b at gmail.com
Sun Feb 21 21:06:32 UTC 2016


On Sun, Feb 21, 2016 at 4:03 PM, Christoph R. Murauer <nawi at 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 at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20160221/9f1f9318/attachment.html>


More information about the xmonad mailing list