[Haskell-beginners] Installation problems

Jeffrey Brown jeffbrown.the at gmail.com
Sat Oct 25 18:04:14 UTC 2014


Hi,

In trying to install Tidal, following something that worked for someone
else who was getting an error similar to one I got, I ran ghc-clang-wrapper
<https://gist.github.com/mzero/7245290#file-ghc-clang-wrapper>. I believe
it was after that that cabal install stopped working, and I lost a lot of
libraries that used to exist, such as Sound.MIDI:

    GHCi, version 7.8.3: http://www.haskell.org/ghc/  :? for help
    Loading package ghc-prim ... linking ... done.
    Loading package integer-gmp ... linking ... done.
    Loading package base ... linking ... done.
    Prelude> import Sound.MIDI

    <no location info>:
        Could not find module ‘Sound.MIDI’
        It is not a module in the current program, or in any known package.
    Prelude>

When I try to reinstall a library that used to exist -- e.g. "hosc", below
-- via cabal install, I now get a giant slew of failures.

Any ideas?

Many thanks,
Jeff

    sh-3.2# cabal install hosc
    Resolving dependencies...
    In order, the following will be installed:
    binary-0.7.2.2 (new version)
    data-binary-ieee754-0.4.4 (reinstall) changes: base-4.7.0.1 added,
    binary-0.7.2.2 added
    network-2.6.0.2 (new package)
    text-1.2.0.0 (new package)
    blaze-builder-0.3.3.4 (reinstall) changes: base-4.7.0.1 added,
    bytestring-0.10.4.0 added, text-1.2.0.0 added
    hosc-0.15 (new version)
    Warning: Note that reinstalls are always dangerous. Continuing anyway...
    Downloading binary-0.7.2.2...
    Configuring network-2.6.0.2...
    Configuring text-1.2.0.0...
    Failed to install network-2.6.0.2
    Build log ( /var/root/.cabal/logs/network-2.6.0.2.log ):
    Failed to install text-1.2.0.0
    Build log ( /var/root/.cabal/logs/text-1.2.0.0.log ):
    Configuring binary-0.7.2.2...
    Failed to install binary-0.7.2.2
    Build log ( /var/root/.cabal/logs/binary-0.7.2.2.log ):
    cabal: Error: some packages failed to install:
    binary-0.7.2.2 failed during the configure step. The exception was:
    user error (<command line>: cannot satisfy -package-id
    Cabal-1.20.0.2-b862897337f86101d0e1a35135984eff:
    Cabal-1.20.0.2-b862897337f86101d0e1a35135984eff is unusable due to
missing or
    recursive dependencies:
    base-4.7.0.1-df210ede1eb79477fef5662549c32927
    bytestring-0.10.4.0-4aa78c8ca7b6b65993eefc131f7d94fa
    containers-0.5.5.1-0d8db9193d3e3371e0142bcc8a4a0721
    deepseq-1.3.0.2-8f63133c1b77f3b3190f04893cf340e4
    directory-1.2.1.0-af5afa2b9b551d3fec1a32d6bfd8bd72
    process-1.2.0.0-3a472e9c66165e506513ea8f145681a0
    time-1.4.2-d6766dce59812a4b19375d9595549a8b
    unix-2.7.0.1-8adde3f1f2079286da56b30898c2d703
    (use -v for more information)
    )
    blaze-builder-0.3.3.4 depends on text-1.2.0.0 which failed to install.
    data-binary-ieee754-0.4.4 depends on binary-0.7.2.2 which failed to
install.
    hosc-0.15 depends on binary-0.7.2.2 which failed to install.
    network-2.6.0.2 failed during the configure step. The exception was:
    user error (<command line>: cannot satisfy -package-id
    Cabal-1.20.0.2-b862897337f86101d0e1a35135984eff:
    Cabal-1.20.0.2-b862897337f86101d0e1a35135984eff is unusable due to
missing or
    recursive dependencies:
    base-4.7.0.1-df210ede1eb79477fef5662549c32927
    bytestring-0.10.4.0-4aa78c8ca7b6b65993eefc131f7d94fa
    containers-0.5.5.1-0d8db9193d3e3371e0142bcc8a4a0721
    deepseq-1.3.0.2-8f63133c1b77f3b3190f04893cf340e4
    directory-1.2.1.0-af5afa2b9b551d3fec1a32d6bfd8bd72
    process-1.2.0.0-3a472e9c66165e506513ea8f145681a0
    time-1.4.2-d6766dce59812a4b19375d9595549a8b
    unix-2.7.0.1-8adde3f1f2079286da56b30898c2d703
    (use -v for more information)
    )
    text-1.2.0.0 failed during the configure step. The exception was:
    user error (<command line>: cannot satisfy -package-id
    Cabal-1.20.0.2-b862897337f86101d0e1a35135984eff:
    Cabal-1.20.0.2-b862897337f86101d0e1a35135984eff is unusable due to
missing or
    recursive dependencies:
    base-4.7.0.1-df210ede1eb79477fef5662549c32927
    bytestring-0.10.4.0-4aa78c8ca7b6b65993eefc131f7d94fa
    containers-0.5.5.1-0d8db9193d3e3371e0142bcc8a4a0721
    deepseq-1.3.0.2-8f63133c1b77f3b3190f04893cf340e4
    directory-1.2.1.0-af5afa2b9b551d3fec1a32d6bfd8bd72
    process-1.2.0.0-3a472e9c66165e506513ea8f145681a0
    time-1.4.2-d6766dce59812a4b19375d9595549a8b
    unix-2.7.0.1-8adde3f1f2079286da56b30898c2d703
    (use -v for more information)
    )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141025/e0fecd23/attachment-0001.html>


More information about the Beginners mailing list