* 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
[parent not found: <4abea295-706b-4186-93e7-0dc10bbdacfe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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 1:09 ` John MacFarlane 1 sibling, 1 reply; 14+ messages in thread From: kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg @ 2014-01-05 0:06 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 4476 bytes --] All 'cabal install' operations place their executables into $HOME/.cabal/bin/ Hence you need to set your PATH to include this directory. Try this, in a shell terminal window: export PATH=$HOME/.cabal/bin:$PATH cabal install pandoc and see if it works then.... Am Sonntag, 5. Januar 2014 00:30:44 UTC+1 schrieb Ben Bolker: > > 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/01d34fec-f7e7-4c8e-8d7e-5bd92f60a963%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. [-- Attachment #2: Type: text/html, Size: 5955 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <01d34fec-f7e7-4c8e-8d7e-5bd92f60a963-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [not found] ` <01d34fec-f7e7-4c8e-8d7e-5bd92f60a963-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2014-01-05 0:10 ` Ben Bolker 0 siblings, 0 replies; 14+ messages in thread From: Ben Bolker @ 2014-01-05 0:10 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw On 14-01-04 07:06 PM, kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org wrote: > All 'cabal install' operations place their executables into > $HOME/.cabal/bin/ > > Hence you need to set your PATH to include this directory. > > Try this, in a shell terminal window: > > export PATH=$HOME/.cabal/bin:$PATH > cabal install pandoc > > > and see if it works then.... Thanks for quick reply. Alas, I already had my PATH set ... Ben Bolker > > > Am Sonntag, 5. Januar 2014 00:30:44 UTC+1 schrieb Ben Bolker: > > 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 > <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 a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/Livq5W1reqI/unsubscribe. > To unsubscribe from this group and all its topics, 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/01d34fec-f7e7-4c8e-8d7e-5bd92f60a963%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: cabal install: mmorph dependency hell? [not found] ` <4abea295-706b-4186-93e7-0dc10bbdacfe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2014-01-05 0:06 ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg @ 2014-01-05 1:09 ` John MacFarlane [not found] ` <20140105010956.GA19596-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org> 1 sibling, 1 reply; 14+ messages in thread From: John MacFarlane @ 2014-01-05 1:09 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Odd, it's trying to downgrade the version of transformers that mmorph depends on. I'm not sure why. It could be that one of the other packages it needs to install is incompatible with the latest transformers (though I don't think that's the case). Or maybe one of the other pandoc dependencies that you compiled earlier is linked against transformers-0.2.2.0. Have you tried doing a 'cabal clean' before 'cabal install --reinstall'? +++ Ben Bolker [Jan 04 14 15:30 ]: > 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 > [1]https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186- > 93e7-0dc10bbdacfe%40googlegroups.com. > For more options, visit [2]https://groups.google.com/groups/opt_out. > > References > > 1. https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186-93e7-0dc10bbdacfe%40googlegroups.com > 2. https://groups.google.com/groups/opt_out ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <20140105010956.GA19596-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: Ben Bolker @ 2014-01-05 2:37 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw On 14-01-04 08:09 PM, John MacFarlane wrote: > Odd, it's trying to downgrade the version of transformers > that mmorph depends on. I'm not sure why. It could be that > one of the other packages it needs to install is incompatible > with the latest transformers (though I don't think that's the > case). Or maybe one of the other pandoc dependencies that you > compiled earlier is linked against transformers-0.2.2.0. > > Have you tried doing a 'cabal clean' before 'cabal install --reinstall'? If I just do a plain "cabal clean" in an arbitrary directory (e.g. my home directory) I get "cabal: No cabal file found ..." I had downloaded Haskell-MMorph-Library from git already (during previous attempts). In that directory, "cabal clean" apparently works. So do "cabal install" or "cabal install --reinstall", but when I run "cabal install pandoc" I get the same issue -- it claims it needs to reinstall mmorph and downgrade transformers: mmorph-1.0.1 (reinstall) changes: transformers-0.3.0.0 -> 0.2.2.0 followed by the same errors as shown below. I tried purging everything and starting over -- http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over https://gist.github.com/simonmichael/1185421 but still no luck (reports that mmorph-1.0.1 failed to install: the precise error messages are too far back in my console history to see. I *could* run it all again and save the error log if anyone thought it would be useful ...) > > +++ Ben Bolker [Jan 04 14 15:30 ]: >> 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 >> [1]https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186- >> 93e7-0dc10bbdacfe%40googlegroups.com. >> For more options, visit [2]https://groups.google.com/groups/opt_out. >> >> References >> >> 1. https://groups.google.com/d/msgid/pandoc-discuss/4abea295-706b-4186-93e7-0dc10bbdacfe%40googlegroups.com >> 2. https://groups.google.com/groups/opt_out > ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <52C8C576.9070708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: John MacFarlane @ 2014-01-05 19:59 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw +++ Ben Bolker [Jan 04 14 21:37 ]: > On 14-01-04 08:09 PM, John MacFarlane wrote: > > Odd, it's trying to downgrade the version of transformers > > that mmorph depends on. I'm not sure why. It could be that > > one of the other packages it needs to install is incompatible > > with the latest transformers (though I don't think that's the > > case). Or maybe one of the other pandoc dependencies that you > > compiled earlier is linked against transformers-0.2.2.0. > > > > Have you tried doing a 'cabal clean' before 'cabal install --reinstall'? > > If I just do a plain "cabal clean" in an arbitrary directory (e.g. my > home directory) I get "cabal: No cabal file found ..." Oh, I thought you were installing from the pandoc source directory, not doing "cabal install pandoc." So, never mind about the 'clean'. > I tried purging everything and starting over -- > > http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over > > https://gist.github.com/simonmichael/1185421 > > but still no luck (reports that mmorph-1.0.1 failed to install: the > precise error messages are too far back in my console history to see. I > *could* run it all again and save the error log if anyone thought it > would be useful ...) This is really strange. I had no trouble on my debian box. Go ahead and send the full error log, maybe that will help. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <20140105195901.GB30945-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: Ben Bolker @ 2014-01-05 20:39 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw On 14-01-05 02:59 PM, John MacFarlane wrote: > +++ Ben Bolker [Jan 04 14 21:37 ]: >> On 14-01-04 08:09 PM, John MacFarlane wrote: >>> Odd, it's trying to downgrade the version of transformers >>> that mmorph depends on. I'm not sure why. It could be that >>> one of the other packages it needs to install is incompatible >>> with the latest transformers (though I don't think that's the >>> case). Or maybe one of the other pandoc dependencies that you >>> compiled earlier is linked against transformers-0.2.2.0. >>> >>> Have you tried doing a 'cabal clean' before 'cabal install --reinstall'? >> >> If I just do a plain "cabal clean" in an arbitrary directory (e.g. my >> home directory) I get "cabal: No cabal file found ..." > > Oh, I thought you were installing from the pandoc source directory, > not doing "cabal install pandoc." So, never mind about the 'clean'. > >> I tried purging everything and starting over -- >> >> http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over >> >> https://gist.github.com/simonmichael/1185421 >> >> but still no luck (reports that mmorph-1.0.1 failed to install: the >> precise error messages are too far back in my console history to see. I >> *could* run it all again and save the error log if anyone thought it >> would be useful ...) > > This is really strange. I had no trouble on my debian box. Go ahead > and send the full error log, maybe that will help. I purged, did 'cabal update', and then 'cabal install pandoc'. Output is posted at http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . Thank you for all help ... Ben Bolker ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <52C9C2E5.805-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: Josef Svenningsson @ 2014-01-05 21:58 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 3522 bytes --] Hi, I did some investigation and it seems that mmorph has gotten the dependency constraints wrong for the transformers package. I've fixed the constraint and submitted a pull request to the mmorph repository. Hopefully it should be incorporated soon https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 But right now you can try 'cabal install pandoc --constraint=transformers==0.3.0.0' which forces the right version of the transformers package. If you're lucky that's all that is needed. HTH Josef On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker <bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > On 14-01-05 02:59 PM, John MacFarlane wrote: > > +++ Ben Bolker [Jan 04 14 21:37 ]: > >> On 14-01-04 08:09 PM, John MacFarlane wrote: > >>> Odd, it's trying to downgrade the version of transformers > >>> that mmorph depends on. I'm not sure why. It could be that > >>> one of the other packages it needs to install is incompatible > >>> with the latest transformers (though I don't think that's the > >>> case). Or maybe one of the other pandoc dependencies that you > >>> compiled earlier is linked against transformers-0.2.2.0. > >>> > >>> Have you tried doing a 'cabal clean' before 'cabal install > --reinstall'? > >> > >> If I just do a plain "cabal clean" in an arbitrary directory (e.g. my > >> home directory) I get "cabal: No cabal file found ..." > > > > Oh, I thought you were installing from the pandoc source directory, > > not doing "cabal install pandoc." So, never mind about the 'clean'. > > > >> I tried purging everything and starting over -- > >> > >> > http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over > >> > >> https://gist.github.com/simonmichael/1185421 > >> > >> but still no luck (reports that mmorph-1.0.1 failed to install: the > >> precise error messages are too far back in my console history to see. I > >> *could* run it all again and save the error log if anyone thought it > >> would be useful ...) > > > > This is really strange. I had no trouble on my debian box. Go ahead > > and send the full error log, maybe that will help. > > I purged, did 'cabal update', and then 'cabal install pandoc'. Output > is posted at > http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . > > Thank you for all help ... > > Ben Bolker > > -- > 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/52C9C2E5.805%40gmail.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAGF%3DPZ%2BENyT4uLTDtT8VKAAV%2B%3D1Zgq7_kUE0RSAYTXQChO8%2BoQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. [-- Attachment #2: Type: text/html, Size: 5471 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <CAGF=PZ+ENyT4uLTDtT8VKAAV+=1Zgq7_kUE0RSAYTXQChO8+oQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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-22 18:25 ` Josef Svenningsson 1 sibling, 1 reply; 14+ messages in thread From: Ben Bolker @ 2014-01-05 22:04 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw On 14-01-05 04:58 PM, Josef Svenningsson wrote: > Hi, > > I did some investigation and it seems that mmorph has gotten the > dependency constraints wrong for the transformers package. I've fixed > the constraint and submitted a pull request to the mmorph repository. > Hopefully it should be incorporated soon > > https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 > > But right now you can try 'cabal install pandoc > --constraint=transformers==0.3.0.0' which forces the right version of > the transformers package. If you're lucky that's all that is needed. > > HTH > > Josef This is fantastic. Your solution is not working for me yet but it gives me hope. (I've managed to f*** my current pandoc installation by nuking my .ghc/.cabal tree -- note to self, MOVE TO BACKUP LOCATION rather than deleting!!!, so I'm now getting a little desperate ...) Ben Bolker > > > > On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker <bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > On 14-01-05 02:59 PM, John MacFarlane wrote: > > +++ Ben Bolker [Jan 04 14 21:37 ]: > >> On 14-01-04 08:09 PM, John MacFarlane wrote: > >>> Odd, it's trying to downgrade the version of transformers > >>> that mmorph depends on. I'm not sure why. It could be that > >>> one of the other packages it needs to install is incompatible > >>> with the latest transformers (though I don't think that's the > >>> case). Or maybe one of the other pandoc dependencies that you > >>> compiled earlier is linked against transformers-0.2.2.0. > >>> > >>> Have you tried doing a 'cabal clean' before 'cabal install > --reinstall'? > >> > >> If I just do a plain "cabal clean" in an arbitrary directory > (e.g. my > >> home directory) I get "cabal: No cabal file found ..." > > > > Oh, I thought you were installing from the pandoc source directory, > > not doing "cabal install pandoc." So, never mind about the 'clean'. > > > >> I tried purging everything and starting over -- > >> > >> > http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over > >> > >> https://gist.github.com/simonmichael/1185421 > >> > >> but still no luck (reports that mmorph-1.0.1 failed to install: the > >> precise error messages are too far back in my console history to > see. I > >> *could* run it all again and save the error log if anyone thought it > >> would be useful ...) > > > > This is really strange. I had no trouble on my debian box. Go ahead > > and send the full error log, maybe that will help. > > I purged, did 'cabal update', and then 'cabal install pandoc'. Output > is posted at > http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . > > Thank you for all help ... > > Ben Bolker > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/52C9C2E5.805%40gmail.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/Livq5W1reqI/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAGF%3DPZ%2BENyT4uLTDtT8VKAAV%2B%3D1Zgq7_kUE0RSAYTXQChO8%2BoQ%40mail.gmail.com. > For more options, visit https://groups.google.com/groups/opt_out. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <52C9D6D6.5050001-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: Ben Bolker @ 2014-01-05 22:28 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 6563 bytes --] On Sunday, January 5, 2014 5:04:06 PM UTC-5, Ben Bolker wrote: > > On 14-01-05 04:58 PM, Josef Svenningsson wrote: > > Hi, > > > > I did some investigation and it seems that mmorph has gotten the > > dependency constraints wrong for the transformers package. I've fixed > > the constraint and submitted a pull request to the mmorph repository. > > Hopefully it should be incorporated soon > > > > https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 > > > > But right now you can try 'cabal install pandoc > > --constraint=transformers==0.3.0.0' which forces the right version of > > the transformers package. If you're lucky that's all that is needed. > > > > HTH > > > > Josef > > This is fantastic. Your solution is not working for me yet but it > gives me hope. (I've managed to f*** my current pandoc installation by > nuking my .ghc/.cabal tree -- note to self, MOVE TO BACKUP LOCATION > rather than deleting!!!, so I'm now getting a little desperate ...) > > Ben Bolker > > > > > > > > > On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker <bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > <mailto:bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > > > On 14-01-05 02:59 PM, John MacFarlane wrote: > > > +++ Ben Bolker [Jan 04 14 21:37 ]: > > >> On 14-01-04 08:09 PM, John MacFarlane wrote: > > >>> Odd, it's trying to downgrade the version of transformers > > >>> that mmorph depends on. I'm not sure why. It could be that > > >>> one of the other packages it needs to install is incompatible > > >>> with the latest transformers (though I don't think that's the > > >>> case). Or maybe one of the other pandoc dependencies that you > > >>> compiled earlier is linked against transformers-0.2.2.0. > > >>> > > >>> Have you tried doing a 'cabal clean' before 'cabal install > > --reinstall'? > > >> > > >> If I just do a plain "cabal clean" in an arbitrary directory > > (e.g. my > > >> home directory) I get "cabal: No cabal file found ..." > > > > > > Oh, I thought you were installing from the pandoc source > directory, > > > not doing "cabal install pandoc." So, never mind about the > 'clean'. > > > > > >> I tried purging everything and starting over -- > > >> > > >> > > > http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over > > >> > > >> https://gist.github.com/simonmichael/1185421 > > >> > > >> but still no luck (reports that mmorph-1.0.1 failed to install: > the > > >> precise error messages are too far back in my console history to > > see. I > > >> *could* run it all again and save the error log if anyone thought > it > > >> would be useful ...) > > > > > > This is really strange. I had no trouble on my debian box. Go > ahead > > > and send the full error log, maybe that will help. > > > > I purged, did 'cabal update', and then 'cabal install pandoc'. > Output > > is posted at > > http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . > > > > Thank you for all help ... > > > > Ben Bolker > > > > -- > > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > <mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > <mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/pandoc-discuss/52C9C2E5.805%40gmail.com. > > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > > You received this message because you are subscribed to a topic in the > > Google Groups "pandoc-discuss" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/pandoc-discuss/Livq5W1reqI/unsubscribe. > > > To unsubscribe from this group and all its topics, 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/CAGF%3DPZ%2BENyT4uLTDtT8VKAAV%2B%3D1Zgq7_kUE0RSAYTXQChO8%2BoQ%40mail.gmail.com. > > > For more options, visit https://groups.google.com/groups/opt_out. > Still failing. Any ideas ... ???? cabal install pandoc --reinstall --force-reinstalls --constraint=transformers==0.3.0.0 Resolving dependencies... cabal: Could not resolve dependencies: trying: pandoc-1.12.2.1 (user goal) trying: pandoc-1.12.2.1:+http-conduit next goal: http-conduit (dependency of pandoc-1.12.2.1:+http-conduit) rejecting: http-conduit-2.0.0.3, 2.0.0.2, 2.0.0.1, 2.0.0 (conflict: pandoc-1.12.2.1:http-conduit => http-conduit>=1.9 && <1.10) trying: http-conduit-1.9.6 trying: regex-compat-0.95.1/installed-cee... (dependency of http-conduit-1.9.6) trying: regex-base-0.93.2/installed-f73... (dependency of regex-compat-0.95.1/installed-cee...) trying: transformers-base-0.4.1/installed-d27... (dependency of http-conduit-1.9.6) next goal: mtl (dependency of pandoc-1.12.2.1) rejecting: mtl-2.0.1.0/installed-e35... (conflict: transformers-base => transformers==0.3.0.0/installed-f23..., mtl => transformers==0.2.2.0/installed-815...) rejecting: mtl-2.1.2, 2.1.1, 2.1, 2.0.1.0, 2.0.0.0, 1.1.1.1, 1.1.1.0, 1.1.0.2, 1.1.0.1, 1.1.0.0, 1.0 (conflict: regex-base => mtl==2.0.1.0/installed-e35...) Backjump limit reached (change with --max-backjumps). -- 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/f015423a-7676-4adc-9933-f8e27107d821%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. [-- Attachment #2: Type: text/html, Size: 14350 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <f015423a-7676-4adc-9933-f8e27107d821-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: Ben Bolker @ 2014-01-05 22:49 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 7880 bytes --] On Sunday, January 5, 2014 5:28:28 PM UTC-5, Ben Bolker wrote: > > > > On Sunday, January 5, 2014 5:04:06 PM UTC-5, Ben Bolker wrote: >> >> On 14-01-05 04:58 PM, Josef Svenningsson wrote: >> > Hi, >> > >> > I did some investigation and it seems that mmorph has gotten the >> > dependency constraints wrong for the transformers package. I've fixed >> > the constraint and submitted a pull request to the mmorph repository. >> > Hopefully it should be incorporated soon >> > >> > https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 >> > >> > But right now you can try 'cabal install pandoc >> > --constraint=transformers==0.3.0.0' which forces the right version of >> > the transformers package. If you're lucky that's all that is needed. >> > >> > HTH >> > >> > Josef >> >> This is fantastic. Your solution is not working for me yet but it >> gives me hope. (I've managed to f*** my current pandoc installation by >> nuking my .ghc/.cabal tree -- note to self, MOVE TO BACKUP LOCATION >> rather than deleting!!!, so I'm now getting a little desperate ...) >> >> Ben Bolker >> >> > >> > >> > >> > On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker <bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> > <mailto:bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: >> > >> > On 14-01-05 02:59 PM, John MacFarlane wrote: >> > > +++ Ben Bolker [Jan 04 14 21:37 ]: >> > >> On 14-01-04 08:09 PM, John MacFarlane wrote: >> > >>> Odd, it's trying to downgrade the version of transformers >> > >>> that mmorph depends on. I'm not sure why. It could be that >> > >>> one of the other packages it needs to install is incompatible >> > >>> with the latest transformers (though I don't think that's the >> > >>> case). Or maybe one of the other pandoc dependencies that you >> > >>> compiled earlier is linked against transformers-0.2.2.0. >> > >>> >> > >>> Have you tried doing a 'cabal clean' before 'cabal install >> > --reinstall'? >> > >> >> > >> If I just do a plain "cabal clean" in an arbitrary directory >> > (e.g. my >> > >> home directory) I get "cabal: No cabal file found ..." >> > > >> > > Oh, I thought you were installing from the pandoc source >> directory, >> > > not doing "cabal install pandoc." So, never mind about the >> 'clean'. >> > > >> > >> I tried purging everything and starting over -- >> > >> >> > >> >> > >> http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over >> > >> >> > >> https://gist.github.com/simonmichael/1185421 >> > >> >> > >> but still no luck (reports that mmorph-1.0.1 failed to install: >> the >> > >> precise error messages are too far back in my console history to >> > see. I >> > >> *could* run it all again and save the error log if anyone >> thought it >> > >> would be useful ...) >> > > >> > > This is really strange. I had no trouble on my debian box. Go >> ahead >> > > and send the full error log, maybe that will help. >> > >> > I purged, did 'cabal update', and then 'cabal install pandoc'. >> Output >> > is posted at >> > http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . >> > >> > Thank you for all help ... >> > >> > Ben Bolker >> > >> > -- >> > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > <mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> > To post to this group, send email to >> pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > <mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/pandoc-discuss/52C9C2E5.805%40gmail.com. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> > -- >> > You received this message because you are subscribed to a topic in the >> > Google Groups "pandoc-discuss" group. >> > To unsubscribe from this topic, visit >> > >> https://groups.google.com/d/topic/pandoc-discuss/Livq5W1reqI/unsubscribe. >> >> > To unsubscribe from this group and all its topics, 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/CAGF%3DPZ%2BENyT4uLTDtT8VKAAV%2B%3D1Zgq7_kUE0RSAYTXQChO8%2BoQ%40mail.gmail.com. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> > > Still failing. Any ideas ... ???? > > cabal install pandoc --reinstall --force-reinstalls > --constraint=transformers==0.3.0.0 > Resolving dependencies... > cabal: Could not resolve dependencies: > trying: pandoc-1.12.2.1 (user goal) > trying: pandoc-1.12.2.1:+http-conduit > next goal: http-conduit (dependency of pandoc-1.12.2.1:+http-conduit) > rejecting: http-conduit-2.0.0.3, 2.0.0.2, 2.0.0.1, 2.0.0 (conflict: > pandoc-1.12.2.1:http-conduit => http-conduit>=1.9 && <1.10) > trying: http-conduit-1.9.6 > trying: regex-compat-0.95.1/installed-cee... (dependency of > http-conduit-1.9.6) > trying: regex-base-0.93.2/installed-f73... (dependency of > regex-compat-0.95.1/installed-cee...) > trying: transformers-base-0.4.1/installed-d27... (dependency of > http-conduit-1.9.6) > next goal: mtl (dependency of pandoc-1.12.2.1) > rejecting: mtl-2.0.1.0/installed-e35... (conflict: transformers-base => > transformers==0.3.0.0/installed-f23..., mtl => > transformers==0.2.2.0/installed-815...) > rejecting: mtl-2.1.2, 2.1.1, 2.1, 2.0.1.0, 2.0.0.0, 1.1.1.1, 1.1.1.0, > 1.1.0.2, > 1.1.0.1, 1.1.0.0, 1.0 (conflict: regex-base => mtl== > 2.0.1.0/installed-e35...) > Backjump limit reached (change with --max-backjumps). > Finally got pandoc installed (phew), by using a bunch of probably unjustified brute force. I tried cloning the forked version of mmorph, but that didn't seem to help. Eventually I did: cabal install pandoc --reinstall --force-reinstalls --constraint=transformers==0.3.0.0 --max-backjumps=10000 which worked, but gave lots of dire warnings of the form Configuring highlighting-kate-0.5.5.1... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package regex-base-0.93.2 requires mtl-2.0.1.0 package parsec-3.1.4 requires mtl-2.1.2 package highlighting-kate-0.5.5.1 requires mtl-2.1.2 package mtl-2.0.1.0 requires transformers-0.2.2.0 package mtl-2.1.2 requires transformers-0.3.0.0 Building highlighting-kate-0.5.5.1... Preprocessing library highlighting-kate-0.5.5.1... So -- I'm OK now but will hope this is a temporary and localized glitch, and doesn't hit anyone else or recur in the future. (Looking forward to using the 'pause' functionality in slides!) > > -- 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/15eeb1bf-2376-49aa-8091-230149ce56c5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. [-- Attachment #2: Type: text/html, Size: 17141 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <15eeb1bf-2376-49aa-8091-230149ce56c5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [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> 0 siblings, 1 reply; 14+ messages in thread From: John MacFarlane @ 2014-01-06 4:57 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Glad you got it to work. Sorry you had so much trouble. I'm not sure why: these troubles -- 'cabal install pandoc' works very smoothly for me on debian. One thing you might try is doing a sandboxed install: http://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html You'd need to get the pandoc source, and you'd probably need a more recent cabal-install: cabal install cabal-install Another thought: Look at your ~/.cabal/config. Does it have 'user-install: False'? (Or, are you cabal installing pandoc as root?) If so, that is a bad idea. On debian, I've found the best approach is to install the haskell-platform using apt-get, then install everything else in your user directory with cabal install. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <20140106045701.GA15596-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>]
* Re: cabal install: mmorph dependency hell? [not found] ` <20140106045701.GA15596-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org> @ 2014-01-18 0:21 ` Mario Marić 0 siblings, 0 replies; 14+ messages in thread From: Mario Marić @ 2014-01-18 0:21 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 1926 bytes --] Hi to all! I tried to install pandoc with: cabal update > cabal install pandoc but also got this error at the end: cabal: Error: some packages failed to install: > conduit-1.0.10 depends on mmorph-1.0.1 which failed to install. > http-client-conduit-0.2.0.1 depends on mmorph-1.0.1 which failed to > install. > http-conduit-2.0.0.3 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.3.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.3 depends on mmorph-1.0.1 which failed to install. Luckily I found this topic and tried: 'cabal install pandoc --reinstall --force-reinstalls --constraint=transformers==0.3.0.0' and everything went without error or warning at the end of the installation. I done that on a fresh install of Ubuntu 12.04.3 LTS inside my home directory (not as a root) and with haskell-platform installed via apt-get. It would be great to fix this so that 'cabal update && cabal install pandoc' is sufficient to install/update pandoc. There is suggestion to change dependency at GitHub issue: https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 Thx John for this great tool, and Ben for ironing this issue out. :) Cheers, -- m.m -- 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/fab0a88f-802e-4e9b-bbca-426db07cfb93%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. [-- Attachment #2: Type: text/html, Size: 2719 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: cabal install: mmorph dependency hell? [not found] ` <CAGF=PZ+ENyT4uLTDtT8VKAAV+=1Zgq7_kUE0RSAYTXQChO8+oQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2014-01-05 22:04 ` Ben Bolker @ 2014-01-22 18:25 ` Josef Svenningsson 1 sibling, 0 replies; 14+ messages in thread From: Josef Svenningsson @ 2014-01-22 18:25 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 3980 bytes --] Just to let everyone know that a new version of the mmorph package has been released which fixes the problem we discovered here earlier. Hopefully this will make pandoc easier to install. http://hackage.haskell.org/package/mmorph-1.0.2 Josef On Sun, Jan 5, 2014 at 10:58 PM, Josef Svenningsson < josef.svenningsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi, > > I did some investigation and it seems that mmorph has gotten the > dependency constraints wrong for the transformers package. I've fixed the > constraint and submitted a pull request to the mmorph repository. Hopefully > it should be incorporated soon > > https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 > > But right now you can try 'cabal install pandoc > --constraint=transformers==0.3.0.0' which forces the right version of the > transformers package. If you're lucky that's all that is needed. > > HTH > > Josef > > > > On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker <bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> On 14-01-05 02:59 PM, John MacFarlane wrote: >> > +++ Ben Bolker [Jan 04 14 21:37 ]: >> >> On 14-01-04 08:09 PM, John MacFarlane wrote: >> >>> Odd, it's trying to downgrade the version of transformers >> >>> that mmorph depends on. I'm not sure why. It could be that >> >>> one of the other packages it needs to install is incompatible >> >>> with the latest transformers (though I don't think that's the >> >>> case). Or maybe one of the other pandoc dependencies that you >> >>> compiled earlier is linked against transformers-0.2.2.0. >> >>> >> >>> Have you tried doing a 'cabal clean' before 'cabal install >> --reinstall'? >> >> >> >> If I just do a plain "cabal clean" in an arbitrary directory (e.g. my >> >> home directory) I get "cabal: No cabal file found ..." >> > >> > Oh, I thought you were installing from the pandoc source directory, >> > not doing "cabal install pandoc." So, never mind about the 'clean'. >> > >> >> I tried purging everything and starting over -- >> >> >> >> >> http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over >> >> >> >> https://gist.github.com/simonmichael/1185421 >> >> >> >> but still no luck (reports that mmorph-1.0.1 failed to install: the >> >> precise error messages are too far back in my console history to see. >> I >> >> *could* run it all again and save the error log if anyone thought it >> >> would be useful ...) >> > >> > This is really strange. I had no trouble on my debian box. Go ahead >> > and send the full error log, maybe that will help. >> >> I purged, did 'cabal update', and then 'cabal install pandoc'. Output >> is posted at >> http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . >> >> Thank you for all help ... >> >> Ben Bolker >> >> -- >> 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/52C9C2E5.805%40gmail.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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/CAGF%3DPZKCOYuyJqcYoUi5D89Q4%2BBjjKCvCgYnhaFztQzHoXRpzg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. [-- Attachment #2: Type: text/html, Size: 6399 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).