
On Sat, Jun 30, 2007 at 08:15:05PM +0530, bgm-rao@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.
Do you actually have the X11 development files installed? If so, what did 'runhaskell Setup.hs configure' say? Stefan