Mountain Lion X11 libraries can't ./configure
I'm trying to build xmonad in Mountain Lion to run with Xquartz 2.7.2, tutorial found here . I'm using cabal to get required X11 libraries cabal install X11-1.5.0.1 . That didn't work, so I got the tar and tried building it with ghc, same error. It won't configure: Resolving dependencies... Configuring X11-1.5.0.1... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... no