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-0.3.0.2-143060371bda4ff52c270d1067551fe8 -package-id base-4.3.1.0-239d76b73f466dc120129098b3472858 -package-id bytestring-0.9.1.10-5bb17614aed376ea31b721a9272770b1 -package-id containers-0.4.0.0-b4885363abca642443ccd842502a3b7e -package-id glib-0.12.2-185c12da89238d25c489c0b80fc015c5 -package-id mtl-2.0.1.0-5b7a9cce5565d8cc8721ba4f95becf1b -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 System.GIO.Volumes.VolumeMonitor
<command line>: cannot satisfy -package-id mtl-2.0.1.0-5b7a9cce5565d8cc8721ba4f95becf1b
(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: 2.0.1.0
Installed versions: 2.0.1.0
License: BSD3
which tells me that the version of mtl that's desired is already installed. Any suggestions?
Victor