[Xmonad] X11 package installation problem..

Spencer Janssen sjanssen at cse.unl.edu
Sat Jun 30 13:18:23 EDT 2007


On Sat, 30 Jun 2007 20:15:05 +0530
<bgm-rao at ieee.org> wrote:

> 
> 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

See http://xmonad.org/faq.html#x11 .  Locate libX11.so on your system
and add the path to extra-lib-dirs.


More information about the Xmonad mailing list