[Haskell-cafe] have anyone tried GHC 7.0.2
Qi Qi
qiqi789 at gmail.com
Wed Mar 9 11:42:48 CET 2011
ghc-pkg list returns these:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
/usr/local/lib/ghc-7.0.2/package.conf.d:
Cabal-1.10.1.0
array-0.3.0.2
base-4.3.1.0
bin-package-db-0.0.0.0
bytestring-0.9.1.10
containers-0.4.0.0
directory-1.1.0.0
extensible-exceptions-0.1.1.2
ffi-1.0
filepath-1.2.0.0
(ghc-7.0.2)
(ghc-binary-0.5.0.2)
ghc-prim-0.2.0.0
(haskell2010-1.0.0.0)
haskell98-1.1.0.1
hpc-0.5.0.6
integer-gmp-0.2.0.3
old-locale-1.0.0.2
old-time-1.0.0.6
pretty-1.0.1.2
process-1.0.1.5
random-1.0.0.3
rts-1.0
template-haskell-2.5.0.0
time-1.2.0.3
unix-2.4.2.0
/home/qi/.ghc/i386-linux-7.0.2/package.conf.d:
HTTP-4000.1.1
QuickCheck-2.4.0.1
X11-1.5.0.0
X11-xft-0.3
binary-0.5.0.2
containers-0.3.0.0
cpphs-1.11
directory-1.1.0.0
filepath-1.1.0.4
haskell98-1.1.0.1
hinotify-0.3.1
hscolour-1.17
language-c-0.3.2.1
mtl-1.1.1.1
mtl-2.0.1.0
{network-2.2.1.10}
network-2.3.0.2
parsec-2.1.0.1
parsec-3.1.1
primitive-0.3.1
process-1.0.1.5
stm-2.2.0.1
storable-complex-0.2.1
syb-0.3
transformers-0.2.2.0
uniplate-1.6
utf8-string-0.3.6
vector-0.7.0.1
xmonad-0.9.2
xmonad-contrib-0.9.2
zlib-0.5.3.1
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ghc-pkg check returns this:
There are problems in package network-2.2.1.10:
dependency "parsec-3.1.1-583092e3fd1a17b79365b197467a185d" doesn't exist
The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
network-2.2.1.10
I installed parsec and network via cabal. Do you know how can I remove
network-2.2.1.10 that is not needed because a higher version exists.
Should I delete anything under ~/.ghc and ~/.cabal, and reinstall ghc
and cabal-install, and those pacakges installed before using cabal?
Thanks for your link of the Haskell-platform. I will wait for the
official release and hope it will be soon.
Christian Maeder <Christian.Maeder at dfki.de> writes:
> What does "ghc-pkg list" and "ghc-pkg check" say?
>
> Cabal-1.10.1.0, directory-1.1.0.0 and process-1.0.1.5 should be there
> after installation of GHC 7.0.2. (I've actually installed
> cabal-install-0.10.0 using an older cabal, but that does not work on
> macs and may not be the recommended way.)
>
> I think I've used
> http://www.galois.com/~dons/code/2011.2.0.0/haskell-platform-2011.2.0.0.tar.gz
> from http://www.galois.com/~dons/code/2011.2.0.0/, but they are not
> official yet.
>
> C.
>
> Am 08.03.2011 19:20, schrieb Qi Qi:
>> Hi,
>>
>> After I installed GHC 7.0.2 and cabal-install 0.10.0 using Cabal library
>> 1.10.1, I found that some package failed to install. For example like
>> Happy, I got the following error:
>>
>> cabal install happy
>> Resolving dependencies...
>> <command line>: cannot satisfy -package Cabal-1.10.1.0:
>> Cabal-1.10.1.0-64e8f05722ea5bbdf07df2e5a3491105 is unusable due to missing or recursive dependencies:
>> directory-1.1.0.0-85d1d0f9d96dffdacf64f3cc6fba6f2f process-1.0.1.5-4cab1bf0666275ac101dd48c7565b64c
>> (use -v for more information)
>> cabal: Error: some packages failed to install:
>> happy-1.18.6 failed during the configure step. The exception was:
>> ExitFailure 1
>>
>> Besides happy package, some other packages like ghc-mod, hmatrix also
>> failed to install. Does anyone else have the same issue after installed
>> ghc 7.0.2?
>>
>> By the way, does anyone hear anything about Haskell-platform 2011.2 ?
>>
>>
>> Thanks!
>>
--
Qi Qi
More information about the Haskell-Cafe
mailing list