[Haskell-cafe] More cabal install problems

Victor Miller victorsmiller at gmail.com
Tue Jan 3 03:36:12 CET 2012

I've been trying to install threadscope on my macbook pro runing OSX 10.7
(Lion).  This hasn't been easy.

Thanks to help here, I finally got glib installed, but now one of the
hangups is in installing the package gio.  The following happens:

Building gio-0.12.2...
Building library...
creating dist/build
/usr/bin/ghc --make -package-name gio-0.12.2 -hide-all-packages
-fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen
-Idist/build/autogen -Idist/build -Idist/build/autogen -Idist/build
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -optP-include -optPdist/build/autogen/cabal_macros.h
-odir dist/build -hidir dist/build -stubdir dist/build -package-id
array- -package-id
base- -package-id
bytestring- -package-id
containers- -package-id
glib-0.12.2-185c12da89238d25c489c0b80fc015c5 -package-id
mtl- -O -XHaskell98
-XForeignFunctionInterface System.GIO System.GIO.Enums System.GIO.Types
System.GIO.Async.AsyncResult System.GIO.Signals
System.GIO.Async.Cancellable System.GIO.File.AppInfo
System.GIO.File.ContentType System.GIO.File.FileAttribute
System.GIO.File.File System.GIO.File.FileEnumerator
System.GIO.File.FileInfo System.GIO.File.FileMonitor
System.GIO.File.IOError System.GIO.File.MountOperation
System.GIO.Icons.Emblem System.GIO.Icons.EmblemedIcon
System.GIO.Icons.FileIcon System.GIO.Icons.Icon System.GIO.Icons.ThemedIcon
System.GIO.Volumes.Drive System.GIO.Volumes.Mount System.GIO.Volumes.Volume
<command line>: cannot satisfy -package-id
    (use -v for more information)
World file is already up to date.
cabal: Error: some packages failed to install:
gio-0.12.2 failed during the building phase. The exception was:
ExitFailure 1


However, cabal list tells me:

* mtl
    Synopsis: Monad classes, using functional dependencies
    Default available version:
    Installed versions:
    License:  BSD3

which tells me that the version of mtl that's desired is already
installed.  Any suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120102/cb680199/attachment.htm>

More information about the Haskell-Cafe mailing list