[Xmonad] X11 package installation problem..

bgm-rao at ieee.org bgm-rao at ieee.org
Sat Jun 30 10:45:05 EDT 2007

I wanted to install xmonad; the X11 package however does
not build:

> runhaskell Setup.hs build
Preprocessing library X11-1.2.2...
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
linking Graphics/X11/Types_hsc_make.o failed
command was: ghc -lX11 Graphics/X11/Types_hsc_make.o -o Graphics/X11/Types_hsc_make
Setup.hs: got error code while preprocessing: Graphics.X11.Types

The buildinfo has this:
-- X11.buildinfo.  Generated from X11.buildinfo.in by configure.
-- System-dependent values used by Distribution.Simple.defaultUserHooks
buildable: True
cc-options:  -I/usr/X11R6/include
ld-options:  -L/usr/X11R6/lib

And they seem all right.

Can someone please help to get past this?

Regards, Madhu Rao

More information about the Xmonad mailing list