[Haskell-cafe] Dependency issues with GHC 6.12.2 installing parsec and others

Ralph Hodgson rhodgson at topquadrant.com
Tue Jun 1 16:31:21 EDT 2010

"base-" doesn't exist (use --force
to override)


Having installed GHC 6.12.2, I am hitting these problems with every package
I tried to install:


C:\Users\Ralph>cabal install parsec

Resolving dependencies...

Configuring parsec-

Preprocessing library parsec-

Building parsec-

[ 1 of 10] Compiling Text.ParserCombinators.Parsec.Pos (

Parsec\Pos.hs, dist\build\Text\ParserCombinators\Parsec\Pos.o )




[ 9 of 10] Compiling Text.ParserCombinators.Parsec.Perm (

\Parsec\Perm.hs, dist\build\Text\ParserCombinators\Parsec\Perm.o )



    Warning: Module `Prelude' is deprecated:

               You are using the old package `base' version 3.x.

               Future GHC versions will not support base version 3.x. You

               should update your code to use the new base version 4.x.

[10 of 10] Compiling Text.ParserCombinators.Parsec.Language (

tors\Parsec\Language.hs, dist\build\Text\ParserCombinators\Parsec\Language.o



    Warning: Module `Prelude' is deprecated:

               You are using the old package `base' version 3.x.

               Future GHC versions will not support base version 3.x. You

               should update your code to use the new base version 4.x.

Registering parsec-

Installing library in


Registering parsec-

cabal: parsec- dependency

"base-" doesn't exist (use --force


cabal: Error: some packages failed to install:

parsec- failed during the final install step. The exception was:

exit: ExitFailure 1


I wonder what to do next?



From: Ralph Hodgson [mailto:rhodgson at topquadrant.com] 
Sent: Tuesday, June 01, 2010 11:19 AM
To: rhodgson at topquadrant.com; 'Don Stewart'
Cc: 'Henning Thielemann'; haskell-cafe at haskell.org
Subject: RE: [Haskell-cafe] Installing Curl on Windows 7 - no longer a
permissions problem - due to dependency conflicts


Permissions issue was straight-forward to resolve.


Yesterday I tracked this down to a conflict with versions of bytestring.


ghc.6.10.4 needs bytestring- 



ghc-pkg: unregistering bytestring- would break the following
packages: ha

ddock-2.4.2 ghc-6.10.4 Win32- regex-base-
regex-posix- re

gex-compat- zlib- HTTP-4000.0.6 cgi-3001.1.7.1 curl-1.3.5

eck- tagsoup-0.9 feed-0.3.7 tagsoup-0.10 utf8-string-0.3.6 xml-1.3.7

 --force to override)


other libraries need bytestring-09.1.6


ghc-pkg: unregistering bytestring- would break the following
packages: Wi

n32- Win32- HTTP-4000.0.9 (use --force to override)


Yesterday I could not  access haskell.org  to see if I can install a newer
version of GHC - network or server is done.


Today I am upgrading everything to ghc-6.12.2


There must be a tool somewhere that can assess potential conflicts :


A needs B (>2)

A needs C (>1) but 

C needs B (<2)


I will look once I get passed these install issues


From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Ralph Hodgson
Sent: Monday, May 31, 2010 2:51 PM
To: 'Don Stewart'
Cc: 'Henning Thielemann'; haskell-cafe at haskell.org
Subject: [Haskell-cafe] Installing Curl on Windows 7 - permissions problem




More angst with Windows 7 permissions.  I hope this is a simple thing for
you or someone else to help me with.


I have successfully installed other packages into my private cabal area.   


When it came to the Haskell curl package, I got permission errors.


Just to prove that things go to the right places, here is a successful run
with the Parseargs Package.


C:\Users\Ralph>cabal install parseargs

Resolving dependencies...

Downloading parseargs-0.1.3...

Configuring parseargs-0.1.3...

Preprocessing library parseargs-0.1.3...

Preprocessing executables for parseargs-0.1.3...

Building parseargs-0.1.3...

[1 of 1] Compiling System.Console.ParseArgs ( System\Console\ParseArgs.hs,

build\System\Console\ParseArgs.o )

Registering parseargs-0.1.3...

[1 of 2] Compiling System.Console.ParseArgs ( System\Console\ParseArgs.hs,

build\parseargs-example\parseargs-example-tmp\System\Console\ParseArgs.o )

[2 of 2] Compiling Main             ( parseargs-example.hs,

-example\parseargs-example-tmp\Main.o )

Linking dist\build\parseargs-example\parseargs-example.exe ...

Installing library in


Installing executable(s) in C:\Users\Ralph\AppData\Roaming\cabal\bin

Registering parseargs-0.1.3...


Parseargs installed fine and the package list shows it in my cabal


C:\Users\Ralph>ghc-pkg list

C:/Program Files (x86)/Haskell Platform/2009.2.0.2\package.conf:

    Cabal-, GLUT-, HTTP-4000.0.6, HUnit-,

    OpenGL-, QuickCheck-, Win32-, array-,

    base-, base-, bytestring-, cgi-3001.1.7.1,

    containers-, directory-, (dph-base-0.3),

    (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3),

    (dph-prim-seq-0.3), (dph-seq-0.3), extensible-exceptions-,

    fgl-, filepath-, (ghc-6.10.4), ghc-prim-,

    haddock-2.4.2, haskell-src-, haskell98-, hpc-,

    html-, integer-, mtl-, network-,

    old-locale-, old-time-, packedstring-,

    parallel-, parsec-, pretty-, process-,

    random-, regex-base-, regex-compat-,

    regex-posix-, rts-1.0, stm-, syb-,

    template-haskell-, time-, xhtml-3000.2.0.1,



    Cabal-, ListZipper-, QuickCheck-,

    bytestring-, deepseq-, parseargs-0.1.3, tagsoup-0.9




Now for curl. 


I installed Mingw32 (following the advice at


This is what happened when I went to my windows shell:


C:\Users\Ralph\AppData\Roaming\cabal\curl-1.3.5>runhaskell setup build

Preprocessing library curl-1.3.5...

Building curl-1.3.5...

Registering curl-1.3.5...


C:\Users\Ralph\AppData\Roaming\cabal\curl-1.3.5>runhaskell setup install

setup: permission denied


I am wondering if the curl package is trying to put things in system


Help much appreciated - tight deadlines





-----Original Message-----
From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Don Stewart
Sent: Wednesday, May 19, 2010 1:37 PM
To: Henning Thielemann
Cc: haskell-cafe at haskell.org
Subject: Re: [Haskell-cafe] TagSoup 0.9



> Don Stewart schrieb:

> > Or use things from the download-curl package, which provides a nice

> > openURL function.


> The openURL function from TagSoup is lazy, which the proposed

> replacement 'getResponseBody =<< simpleHTTP (getRequest x)' is not. Is

> the openURL function from download-curl lazy?



Yes, see:




though I think it is possible that I strictified the code. Have a play

around with it if it doesn't meet your needs -- should be /trivial/ to

ensure it is chunk-wise lazy.


Haskell-Cafe mailing list

Haskell-Cafe at haskell.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100601/cdecf31d/attachment.html

More information about the Haskell-Cafe mailing list