This happens because haskel98-1.1.0.0 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.
Erik On Mon, Jan 3, 2011 at 01:08, Matthew Fairtlough <resea...@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-1.1.0.0... > Configuring haskell98-1.1.0.0... > Preprocessing library haskell98-1.1.0.0... > ...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-1.1.0.0 which failed to install. > haskell98-1.1.0.0 failed during the building phase. The exception was: > ExitFailure 1 > polyparse-1.4 depends on haskell98-1.1.0.0 which failed to install. > > ~ $ cabal --version > cabal-install version 0.8.2 > using version 1.8.0.6 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@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe