[Haskell-cafe] HaXml installation trouble
hesselink at gmail.com
Mon Jan 3 10:33:27 CET 2011
This happens because haskel98-22.214.171.124 can't be built with GHC 6.12,
but lacks the proper version constraints to enforce this. If you add
'--constraint=haskell98==1.0.*' to your 'cabal install' command, it
will probably work.
On Mon, Jan 3, 2011 at 01:08, Matthew Fairtlough
<research at fairtlough.net> wrote:
> Still very new here. I'm trying to install HaXml and I've updated cabal. I
> see that a similar issue was posted recently as a bug
> http://hackage.haskell.org/trac/ghc/ticket/4513 but one that's supposedly
> fixed; do I need to wait for something or can this be fixed some other way?
> I think I've posted all necessary version numbers below:
> ~ $ sudo cabal install HaXml-1.20.2 --global
> Resolving dependencies...
> Downloading haskell98-126.96.36.199...
> Configuring haskell98-188.8.131.52...
> Preprocessing library haskell98-184.108.40.206...
> ...info deleted...
> [24 of 30] Compiling Directory ( Directory.hs, dist/build/Directory.o
> Directory.hs:34:38: Not in scope: `setOwnerReadable'
> Directory.hs:35:38: Not in scope: `setOwnerWritable'
> Directory.hs:36:38: Not in scope: `setOwnerExecutable'
> Directory.hs:37:38: Not in scope: `setOwnerSearchable'
> Directory.hs:38:57: Not in scope: `emptyPermissions'
> cabal: Error: some packages failed to install:
> HaXml-1.20.2 depends on haskell98-220.127.116.11 which failed to install.
> haskell98-18.104.22.168 failed during the building phase. The exception was:
> ExitFailure 1
> polyparse-1.4 depends on haskell98-22.214.171.124 which failed to install.
> ~ $ cabal --version
> cabal-install version 0.8.2
> using version 126.96.36.199 of the Cabal library
> ~ $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.12.3
> ~ $ sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.6.5
> BuildVersion: 10H574
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe