
30 Jun
2007
30 Jun
'07
2:45 p.m.
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