Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pagea opened this issue Jul 27, 2012 · 2 comments
Closed

Comments

@pagea
Copy link

pagea commented Jul 27, 2012

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
@dmwit
Copy link
Contributor

dmwit commented Jul 27, 2012

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

@pagea
Copy link
Author

pagea commented Jul 27, 2012

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

@pagea pagea closed this as completed Jul 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants