Darcs version on Debian etch?

I'm trying to compile the most recent darcs version on Debian etch, but it requires a new X11-extras, and that complains that X11 is too old (etch has X11-1.2, X11-extras requires X11-1.2.1). What is an easy way to get the new xmonad compiled on Debian? I found http://haskell-unsafe.alioth.debian.org/haskell-unsafe.html but that seems to think that stable == woody, so I am reluctant to rely on it. tia, Kai

kai.grossjohann:
I'm trying to compile the most recent darcs version on Debian etch, but it requires a new X11-extras, and that complains that X11 is too old (etch has X11-1.2, X11-extras requires X11-1.2.1).
What is an easy way to get the new xmonad compiled on Debian?
X11-1.2.2 and X11-extras 0.2 are on hackage, but I don't think anyone has rolled .debs for them yet. Might be best to just build it with cabal, manually? -- Don

dons@cse.unsw.edu.au (Donald Bruce Stewart) writes:
Might be best to just build [X11-1.2.2] with cabal, manually?
It's difficult to install: $ runhaskell Setup.hs configure --prefix=$HOME [... elided ...] $ runhaskell Setup.hs build [... elided ...] $ runhaskell Setup.hs install Installing: /home/kgrossjo/lib/X11-1.2.2/ghc-6.6 & /home/kgrossjo/bin X11-1.2.2... Registering X11-1.2.2... Reading package info from ".installed-pkg-config" ... done. Unable to rename "/usr/lib/ghc-6.6/package.conf" to "/usr/lib/ghc-6.6/package.conf.old" Saving old package config file... ghc-pkg.bin: /usr/lib/ghc-6.6/package.conf: renameFile: permission denied (Permission denied) I don't like to modify system files (owned by dpkg) by self-installed software. I guess I might just install my own GHC in $HOME. But that sounds like quite a bit of work... Kai

kai.grossjohann:
dons@cse.unsw.edu.au (Donald Bruce Stewart) writes:
Might be best to just build [X11-1.2.2] with cabal, manually?
It's difficult to install:
$ runhaskell Setup.hs configure --prefix=$HOME [... elided ...] $ runhaskell Setup.hs build [... elided ...] $ runhaskell Setup.hs install Installing: /home/kgrossjo/lib/X11-1.2.2/ghc-6.6 & /home/kgrossjo/bin X11-1.2.2... Registering X11-1.2.2... Reading package info from ".installed-pkg-config" ... done. Unable to rename "/usr/lib/ghc-6.6/package.conf" to "/usr/lib/ghc-6.6/package.conf.old" Saving old package config file... ghc-pkg.bin: /usr/lib/ghc-6.6/package.conf: renameFile: permission denied (Permission denied)
I don't like to modify system files (owned by dpkg) by self-installed software.
I guess I might just install my own GHC in $HOME. But that sounds like quite a bit of work...
No, that's easy. I'll add a section to the FAQ. To install a library, as a user, append --user to your install phase: $ runhaskell Setup.hs install --user And no system files will be modified, just your user package database, in ~/.ghc/ -- Don

On Tue, Jun 05, 2007 at 10:26:17AM +0200, Kai Grossjohann wrote:
dons@cse.unsw.edu.au (Donald Bruce Stewart) writes:
Might be best to just build [X11-1.2.2] with cabal, manually?
It's difficult to install:
$ runhaskell Setup.hs configure --prefix=$HOME [... elided ...] $ runhaskell Setup.hs build [... elided ...] $ runhaskell Setup.hs install Installing: /home/kgrossjo/lib/X11-1.2.2/ghc-6.6 & /home/kgrossjo/bin X11-1.2.2... Registering X11-1.2.2... Reading package info from ".installed-pkg-config" ... done. Unable to rename "/usr/lib/ghc-6.6/package.conf" to "/usr/lib/ghc-6.6/package.conf.old" Saving old package config file... ghc-pkg.bin: /usr/lib/ghc-6.6/package.conf: renameFile: permission denied (Permission denied)
I don't like to modify system files (owned by dpkg) by self-installed software.
I guess I might just install my own GHC in $HOME. But that sounds like quite a bit of work...
Some system files are intended to be modified by user software; /usr/lib/ghc-6.6.1/package.conf is one of them. Stefan
participants (3)
-
dons@cse.unsw.edu.au
-
Kai Grossjohann
-
Stefan O'Rear