Hi, Am Montag, den 20.04.2009, 14:38 +0200 schrieb Michal Suchanek: > On 04/20/2009 02:34 PM, Joachim Breitner wrote: > > Hi Michal, > > > > Am Montag, den 20.04.2009, 12:15 +0200 schrieb Michal Suchanek : > >> The libghc6-xmonad package searches for ghc binary during build but > >> Debian only provides ghc6. > > > > You do have the ghc6 package installed, do you? If so, then /usr/bin/ghc > > should be a symlink pointing to /etc/alternatives/ghc which should point > > to /usr/lib/ghc-6.10.1/bin/ghc. Can you verify that on your machine? > > Yes, I do have the package installed, the alternatives system shows that the > link should point to > ghc 6.10 but in fact it points to ghc 6.8. > > Perhaps some postinst script should check the alternatives?
Oh, you have ghc6.8 _and_ ghc6.10 installed at the same time? I’m surprised that Debian even allows that. The thing is, xmonad (the binary) does not know which ghc you want to use to compile – it might well be that /usr/bin/ghc points to a version for which the libghc6-xmonad-dev package does not work, but for which you have locally installed the xmonad packages. Therefore, I’d not like to hardcode the ghc path there. I’m inclined to say that if a user installs two versions of ghc6, it’s his obligation to make sure that his ~/.xmonad/xmonad.hs compiles with the one that’s in /usr/bin/ghc6. Do you share this point of view? If not, I’d like to hear your points. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

