public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* cabal install: mmorph dependency hell?
@ 2014-01-04 23:30 Ben Bolker
       [not found] ` <4abea295-706b-4186-93e7-0dc10bbdacfe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Ben Bolker @ 2014-01-04 23:30 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 3972 bytes --]

I  have pandoc 1.11.1 installed via cabal on Ubuntu 12.04, trying to update 
(I really want the "pause" functionality for slide shows).

I'm having trouble with the 'mmorph' dependency, which is reported to fail 
when I 'cabal install pandoc' (after 'cabal update').   If I 'cabal install 
mmorph' it tells me it's already installed. If I 'cabal install mmorph 
--reinstall' it appears to install correctly (see below), but 'cabal 
install pandoc' still fails.

I only use cabal/haskell for pandoc, so I'm pretty clueless -- any help 
would be greatly appreciated.

Two possible clues:

1. in the output below I see both

     (mmorph reinstall): mmorph-1.0.1 (reinstall) changes: 
transformers-0.3.0.0 -> 0.2.2.0

and

   (failed mmorph install): 
    Could not find module `Control.Applicative.Backwards'
    [...]
    It is a member of the hidden package `transformers-0.3.0.0'.

Is there a dependency mismatch here somewhere?

2. I see from https://github.com/Gabriel439/Haskell-MMorph-Library that 
mmorph 1.0.1 was only released 5 days ago, so maybe I'm among the first to 
stumble on a new problem?

  sincerely
    Ben Bolker



$ cabal install pandoc
Resolving dependencies...
In order, the following will be installed:
mmorph-1.0.1 (reinstall) changes: transformers-0.3.0.0 -> 0.2.2.0
resourcet-0.4.10 (new package)
conduit-1.0.9.3 (new package)
blaze-builder-conduit-1.0.0 (new package)
yaml-0.8.5.2 (new package)
zlib-conduit-1.0.0 (new package)
http-conduit-1.9.6 (new package)
pandoc-1.12.2.1 (new package)
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring mmorph-1.0.1...
Building mmorph-1.0.1...
Preprocessing library mmorph-1.0.1...

src/Control/Monad/Morph.hs:76:8:
    Could not find module `Control.Applicative.Backwards'
    It is a member of the hidden package `applicative-extras-0.1.8'.
    Perhaps you need to add `applicative-extras' to the build-depends in 
your .cabal file.
    It is a member of the hidden package `transformers-0.3.0.0'.
    Perhaps you need to add `transformers' to the build-depends in your 
.cabal file.
    Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
blaze-builder-conduit-1.0.0 depends on mmorph-1.0.1 which failed to install.
conduit-1.0.9.3 depends on mmorph-1.0.1 which failed to install.
http-conduit-1.9.6 depends on mmorph-1.0.1 which failed to install.
mmorph-1.0.1 failed during the building phase. The exception was:
ExitFailure 1
pandoc-1.12.2.1 depends on mmorph-1.0.1 which failed to install.
resourcet-0.4.10 depends on mmorph-1.0.1 which failed to install.
yaml-0.8.5.2 depends on mmorph-1.0.1 which failed to install.
zlib-conduit-1.0.0 depends on mmorph-1.0.1 which failed to install.


 cabal install mmorph --reinstall
Resolving dependencies...
In order, the following will be installed:
mmorph-1.0.1 (reinstall)
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring mmorph-1.0.1...
Building mmorph-1.0.1...
Preprocessing library mmorph-1.0.1...
[1 of 2] Compiling Control.Monad.Morph ( src/Control/Monad/Morph.hs, 
dist/build/Control/Monad/Morph.o )
[2 of 2] Compiling Control.Monad.Trans.Compose ( 
src/Control/Monad/Trans/Compose.hs, 
dist/build/Control/Monad/Trans/Compose.o )
Registering mmorph-1.0.1...
Installing library in /home/bolker/.cabal/lib/mmorph-1.0.1/ghc-7.4.1
Registering mmorph-1.0.1...


-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186-93e7-0dc10bbdacfe%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[-- Attachment #2: Type: text/html, Size: 4665 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-22 18:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-04 23:30 cabal install: mmorph dependency hell? Ben Bolker
     [not found] ` <4abea295-706b-4186-93e7-0dc10bbdacfe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-05  0:06   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
     [not found]     ` <01d34fec-f7e7-4c8e-8d7e-5bd92f60a963-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-05  0:10       ` Ben Bolker
2014-01-05  1:09   ` John MacFarlane
     [not found]     ` <20140105010956.GA19596-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2014-01-05  2:37       ` Ben Bolker
     [not found]         ` <52C8C576.9070708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 19:59           ` John MacFarlane
     [not found]             ` <20140105195901.GB30945-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2014-01-05 20:39               ` Ben Bolker
     [not found]                 ` <52C9C2E5.805-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 21:58                   ` Josef Svenningsson
     [not found]                     ` <CAGF=PZ+ENyT4uLTDtT8VKAAV+=1Zgq7_kUE0RSAYTXQChO8+oQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-05 22:04                       ` Ben Bolker
     [not found]                         ` <52C9D6D6.5050001-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-05 22:28                           ` Ben Bolker
     [not found]                             ` <f015423a-7676-4adc-9933-f8e27107d821-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-05 22:49                               ` Ben Bolker
     [not found]                                 ` <15eeb1bf-2376-49aa-8091-230149ce56c5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-06  4:57                                   ` John MacFarlane
     [not found]                                     ` <20140106045701.GA15596-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-01-18  0:21                                       ` Mario Marić
2014-01-22 18:25                       ` Josef Svenningsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).