[Xmonad] X11 package installation problem..

bgm-rao at ieee.org bgm-rao at ieee.org
Sat Jun 30 13:38:23 EDT 2007

     > Yup, it's what I wanted.  If autoconf can find Xlib but ghc can't,
     > this is almost certainly a GHC bug...  (be sure to include your system
     > information, those paths are pretty unusual)

     > http://hackage.haskell.org/trac/ghc/newticket?type=bug

Stefan, Thanks for the help. I did manage to build X11 and the X11-extras
package. I removed the extra libs from cabal and aliased ghc to ghc -LX11.
The problem seems to be with the lower case "-l" that the compiler was
passed due to extra libs. The installation happened all right.

Now, however, I have another problem during xmonad build; presumably
these is related to the work-around I figured?

~/xmonad-0.2 <216> runhaskell Setup.lhs build
Preprocessing executables for xmonad-0.2...
Building xmonad-0.2...
[3 of 6] Compiling Config[boot]     ( Config.hs-boot, nothing )
Linking dist/build/xmonad/xmonad ...
/user/a0875389/X11-extras-0.2/lib/X11-extras-0.2/ghc-6.6.20070213/libHSX11-extras-0.2.a(Extras.o)(.text+0x139c7): In function `X11zmextraszm0zi2_GraphicsziX11ziXlibziExtras_zdwccall_info':
: undefined reference to `XConfigureWindow'
/user/a0875389/X11-extras-0.2/lib/X11-extras-0.2/ghc-6.6.20070213/libHSX11-extras-0.2.a(Extras.o)(.text+0x13adb): In function `X11zmextraszm0zi2_GraphicsziX11ziXlibziExtras_zdwccall1_info':
: undefined reference to `XKillClient'
/user/a0875389/X11-extras-0.2/lib/X11-extras-0.2/ghc-6.6.20070213/libHSX11-extras-0.2.a(Extras.o)(.text+0x13b9f): In function `X11zmextraszm0zi2_GraphicsziX11ziXlibziExtras_zdwccall2_info':
: undefined reference to `XFree'

-Madhu Rao

More information about the Xmonad mailing list