cannot build latest xmonad: unknown symbol

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@tangerine:~/local/haskell/xmonad$ darcs pull Pulling from "http://code.haskell.org/xmonad"... No remote changes to pull in! drc@tangerine:~/local/haskell/xmonad$ runhaskell Setup.lhs configure --user --prefix=$HOME Setup.lhs: /usr/local/lib/ghc-6.10.1/directory-1.0.0.2/HSdirectory-1.0.0.2.o: unknown symbol `unixzm2zi3zi1zi0_SystemziPosixziDirectory_a12_info' Setup.lhs: Setup.lhs: unable to load package `directory-1.0.0.2' --- Here's my ghc version: drc@tangerine:~/local/haskell/xmonad$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1 --- Here's what I have installed: drc@tangerine:~/local/haskell/xmonad$ ghc-pkg list /usr/local/lib/ghc-6.10.1/./package.conf: Cabal-1.6.0.1, array-0.2.0.0, base-3.0.3.0, base-4.0.0.0, bytestring-0.9.1.4, containers-0.2.0.0, directory-1.0.0.2, editline-0.2.1.0, filepath-1.1.0.1, (ghc-6.10.1), ghc-prim-0.1.0.0, haddock-2.3.0, haskell98-1.0.1.0, hpc-0.5.0.2, integer-0.1.0.0, old-locale-1.0.0.1, old-time-1.0.0.1, packedstring-0.1.0.1, pretty-1.0.1.0, process-1.0.1.0, random-1.0.0.1, rts-1.0, syb-0.1.0.0, template-haskell-2.3.0.0, unix-2.3.1.0 /home/drc/.ghc/i386-linux-6.10.1/package.conf: Cabal-1.6.0.1, HTTP-3001.1.5, HTTP-4000.0.4, X11-1.4.5, X11-xft-0.3, ghc-paths-0.1.0.5, haddock-2.4.1, haskell98-1.0.1.0, mtl-1.1.0.2, network-2.2.0.1, old-time-1.0.0.0, parsec-2.1.0.1, parsec-3.0.0, process-1.0.1.1, readline-1.0.1.0, unix-2.3.1.0, utf8-string-0.3.3, utf8-string-0.3.4, xmonad-0.8.1, xmonad-contrib-0.8.1, zlib-0.5.0.0 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

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@tangerine:~/local/haskell/xmonad$ darcs pull Pulling from "http://code.haskell.org/xmonad"... No remote changes to pull in! drc@tangerine:~/local/haskell/xmonad$ runhaskell Setup.lhs configure --user --prefix=$HOME Setup.lhs: /usr/local/lib/ghc-6.10.1/directory-1.0.0.2/HSdirectory-1.0.0.2.o: unknown symbol `unixzm2zi3zi1zi0_SystemziPosixziDirectory_a12_info' Setup.lhs: Setup.lhs: unable to load package `directory-1.0.0.2'
--- Here's my ghc version: drc@tangerine:~/local/haskell/xmonad$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1
--- Here's what I have installed: drc@tangerine:~/local/haskell/xmonad$ ghc-pkg list /usr/local/lib/ghc-6.10.1/./package.conf: Cabal-1.6.0.1, array-0.2.0.0, base-3.0.3.0, base-4.0.0.0, bytestring-0.9.1.4, containers-0.2.0.0, directory-1.0.0.2, editline-0.2.1.0, filepath-1.1.0.1, (ghc-6.10.1), ghc-prim-0.1.0.0, haddock-2.3.0, haskell98-1.0.1.0, hpc-0.5.0.2, integer-0.1.0.0, old-locale-1.0.0.1, old-time-1.0.0.1, packedstring-0.1.0.1, pretty-1.0.1.0, process-1.0.1.0, random-1.0.0.1, rts-1.0, syb-0.1.0.0, template-haskell-2.3.0.0, unix-2.3.1.0 /home/drc/.ghc/i386-linux-6.10.1/package.conf: Cabal-1.6.0.1, HTTP-3001.1.5, HTTP-4000.0.4, X11-1.4.5, X11-xft-0.3, ghc-paths-0.1.0.5, haddock-2.4.1, haskell98-1.0.1.0, mtl-1.1.0.2, network-2.2.0.1, old-time-1.0.0.0, parsec-2.1.0.1, parsec-3.0.0, process-1.0.1.1, readline-1.0.1.0, unix-2.3.1.0, utf8-string-0.3.3, utf8-string-0.3.4, xmonad-0.8.1, xmonad-contrib-0.8.1, zlib-0.5.0.0
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. Cheers, Spencer Janssen

Try to recompile your whole toolchain, so every package your build yourself and not installed by ubuntu (like X11) 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@tangerine:~/local/haskell/xmonad$ darcs pull Pulling from "http://code.haskell.org/xmonad"... No remote changes to pull in! drc@tangerine:~/local/haskell/xmonad$ runhaskell Setup.lhs configure --user --prefix=$HOME Setup.lhs: /usr/local/lib/ghc-6.10.1/directory-1.0.0.2/HSdirectory-1.0.0.2.o: unknown symbol `unixzm2zi3zi1zi0_SystemziPosixziDirectory_a12_info' Setup.lhs: Setup.lhs: unable to load package `directory-1.0.0.2'
--- Here's my ghc version: drc@tangerine:~/local/haskell/xmonad$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.1
--- Here's what I have installed: drc@tangerine:~/local/haskell/xmonad$ ghc-pkg list /usr/local/lib/ghc-6.10.1/./package.conf: Cabal-1.6.0.1, array-0.2.0.0, base-3.0.3.0, base-4.0.0.0, bytestring-0.9.1.4, containers-0.2.0.0, directory-1.0.0.2, editline-0.2.1.0, filepath-1.1.0.1, (ghc-6.10.1), ghc-prim-0.1.0.0, haddock-2.3.0, haskell98-1.0.1.0, hpc-0.5.0.2, integer-0.1.0.0, old-locale-1.0.0.1, old-time-1.0.0.1, packedstring-0.1.0.1, pretty-1.0.1.0, process-1.0.1.0, random-1.0.0.1, rts-1.0, syb-0.1.0.0, template-haskell-2.3.0.0, unix-2.3.1.0 /home/drc/.ghc/i386-linux-6.10.1/package.conf: Cabal-1.6.0.1, HTTP-3001.1.5, HTTP-4000.0.4, X11-1.4.5, X11-xft-0.3, ghc-paths-0.1.0.5, haddock-2.4.1, haskell98-1.0.1.0, mtl-1.1.0.2, network-2.2.0.1, old-time-1.0.0.0, parsec-2.1.0.1, parsec-3.0.0, process-1.0.1.1, readline-1.0.1.0, unix-2.3.1.0, utf8-string-0.3.3, utf8-string-0.3.4, xmonad-0.8.1, xmonad-contrib-0.8.1, zlib-0.5.0.0
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 _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Dominik Bruhn mailto: dominik@dbruhn.de
participants (3)
-
David Cabana
-
Dominik Bruhn
-
Spencer Janssen