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@googlegroups.com
>     <mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
>     To post to this group, send email to pandoc-discuss@googlegroups.com
>     <mailto:pandoc-discuss@googlegroups.com>.
>     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@googlegroups.com.
> To post to this group, send email to pandoc-discuss@googlegroups.com.
> 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.