xmonad / X11

A Haskell binding to the X11 graphics library.

Home Page:http://hackage.haskell.org/package/X11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to build during cabal install on Crunchbang, a Debian deriverative

pagea opened this issue · comments

Here's a dump of the build process:

...
config.status: creating include/X11_extras_config.h
configure: WARNING: unrecognized options: --with-compiler
cabal: Missing dependency on a foreign library:

  • Missing header file: HsXlib.h
  • Missing C library: Xrandr
    This problem can usually be solved by installing the system package that
    provides this library (you may need the "-dev" version). If the library is
    already installed but in a non-standard location then you can use the flags
    --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
    cabal: Error: some packages failed to install:
    X11-1.6.0 failed during the configure step. The exception was:
    ExitFailure 1

Have you installed the -dev version of Xrandr, as the error says to do?

Whoops. Apologies for the trivial report. Installing libxrandr-dev solved the problem.