Hide Forgot
Description of problem: After installing cabal-install and trying to install a hackage with it: # cabal install yeganesh Config file path source is default config file. Config file /root/.cabal/config not found. Writing default configuration to /root/.cabal/config cabal: The program ghc version >=6.4 is required but it could not be found. I guess a Requires: ghc-compiler is missing in the spec.
Hi, Can you provide some details here, OS version of cabal-install. Use rpmquery -i cabal-install version of ghc (if installed). Use rpmquery -i ghc Thanks,
I would have assumed filing this bug against F16 means I've tested this with F16 stable packages, but OK. Here goes: > rpm -q cabal-install ghc ghc-compiler cabal-install-0.10.2-3.fc16.x86_64 ghc-7.0.4-31.3.fc16.x86_64 ghc-compiler-7.0.4-31.3.fc16.x86_64
Thanks, Can you check whether ghc-ghc-devel package is installed?I think installing that package that might solve this issue.
ghc-ghc-devel requires ghc-compiler so it of course fixes this bug, but for cabal to run on my machine it doesn't need the rest of ghc-ghc-devel. It would be like requiring whole KDE environment because you have an application that required qt.
Hi Stanislav, sorry for the slow reply - I was away for a week. Ok I guess I could bring back the ghc requires dropping that was probably a bit too impractical. The reason I dropped it was that I thought it would be nice to support using local versions of ghc without being forced to install all of fedora ghc but I guess that is a bit of a corner use-case. But you probably want haskell-platform anyway? Alternatively a cabal-install-core subpackage could be added perhaps without the ghc dependency.
This should be fixed first in cabal-install-0.10.2-5.fc17. I plan to push a package to testing for f16 soon.
Frankly I just wanted to try out one haskell package (I ended up not using it in the end). And on my way to compile/install it, I encountered this problem. I assumed this was a non-deliberate thing (i.e. developer doesn't notice dependency because he always has it installed). However you seem to have a use case and there is no strict guideline about this, so it's up to you
cabal-install-0.10.2-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/cabal-install-0.10.2-5.fc15
cabal-install-0.10.2-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/cabal-install-0.10.2-5.fc16
Package cabal-install-0.10.2-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cabal-install-0.10.2-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0947/cabal-install-0.10.2-5.fc15 then log in and leave karma (feedback).
cabal-install-0.10.2-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
cabal-install-0.10.2-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.