[xmonad] cannot build latest xmonad: unknown symbol

Spencer Janssen spencerjanssen at gmail.com
Mon Feb 9 17:39:27 EST 2009

On Mon, Feb 09, 2009 at 05:26:26PM -0500, David Cabana wrote:
> Today I tried to build xmonad from the latest darcs source, and got an
> error message I don't understand.  Here's the terminal session:
> drc at tangerine:~/local/haskell/xmonad$ darcs pull
> Pulling from "http://code.haskell.org/xmonad"...
> No remote changes to pull in!
> drc at tangerine:~/local/haskell/xmonad$ runhaskell Setup.lhs configure
> --user --prefix=$HOME
> Setup.lhs: /usr/local/lib/ghc-6.10.1/directory-
> unknown symbol `unixzm2zi3zi1zi0_SystemziPosixziDirectory_a12_info'
> Setup.lhs: Setup.lhs: unable to load package `directory-'
> --- Here's my ghc version:
> drc at tangerine:~/local/haskell/xmonad$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.10.1
> --- Here's what I have installed:
> drc at tangerine:~/local/haskell/xmonad$ ghc-pkg list
> /usr/local/lib/ghc-6.10.1/./package.conf:
>     Cabal-, array-, base-, base-,
>     bytestring-, containers-, directory-,
>     editline-, filepath-, (ghc-6.10.1), ghc-prim-,
>     haddock-2.3.0, haskell98-, hpc-, integer-,
>     old-locale-, old-time-, packedstring-,
>     pretty-, process-, random-, rts-1.0,
>     syb-, template-haskell-, unix-
> /home/drc/.ghc/i386-linux-6.10.1/package.conf:
>     Cabal-, HTTP-3001.1.5, HTTP-4000.0.4, X11-1.4.5,
>     X11-xft-0.3, ghc-paths-, haddock-2.4.1, haskell98-,
>     mtl-, network-, old-time-, parsec-,
>     parsec-3.0.0, process-, readline-, unix-,
>     utf8-string-0.3.3, utf8-string-0.3.4, xmonad-0.8.1,
>     xmonad-contrib-0.8.1, zlib-
> I'm running on a 32 bit machine, latest Ubuntu Intrepid.  I'm not a
> Haskell programmer, just an enthusiastic Xmonad user. Any guidance
> would be much appreciated.  I'd  be happy to provide any information
> about my local setup that might prove useful.  Oddly, I can build from
> source on my other machine, running 64 bit Ubuntu.
> Thank you,
> drc

This is some sort of issue with your configuration.  Specifically your Cabal
library or one of its dependencies (directory or unix) seems to be broken.
Try 'ghc-pkg unregister'ing those packages and reinstalling them.

Spencer Janssen

More information about the xmonad mailing list