I removed the ghc6 package and then went through and deleted everything that 
mentioned ghc and re-installed the ghc6 package and now:
if I run runghc --package Cabal Setup.lhs it says "bash: /usr/local/bin/runghc: 
No such file or directory" but "runghc6 Setup.lhs" works just fine.
Looking at both of them:
ls -al /usr/bin/runghc
lrwxrwxrwx 1 root root 24 2008-04-11 01:58 /usr/bin/runghc -> 
/etc/alternatives/runghc
ls -al /usr/bin/runghc6
lrwxrwxrwx 1 root root 27 2008-04-11 01:57 /usr/bin/runghc6 -> 
../lib/ghc-6.8.2/bin/runghc
Which suggest that all that is needed is updating the symbolic link of rungh to 
../lib/ghc-6.8.2/bin/runghc

Looking at ghc6_6.8.2-2ubuntu1.diff I'd suggest changing
"+            --slave $execdir/runghc runghc $bindir/runghc \" to "+            
--slave $execdir/runghc runghc$execdir/runghc6  \"

-- 
ghc 6.8.2 cabal won't run
https://bugs.launchpad.net/bugs/213775
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to