* Failure to build Pandoc 2.0 on Mac OS X
@ 2017-02-04 11:12 Axel Kielhorn
[not found] ` <543C9617-FDB0-4B48-9E11-962C89405A2A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Axel Kielhorn @ 2017-02-04 11:12 UTC (permalink / raw)
To: Pandoc discuss discuss
I would like to try Pandoc 2.0 (from git) but when building with
The Glorious Glasgow Haskell Compilation System, version 7.8.4
i get:
src/Text/Pandoc/Readers/TWiki.hs:495:3:
Overlapping instances for HasQuoteContext ParserState m
arising from a use of ‘singleQuoteStart’
Matching instances:
instance [incoherent] Monad m => HasQuoteContext ParserState m
-- Defined at src/Text/Pandoc/Parsing.hs:955:10
instance PandocMonad m =>
HasQuoteContext
st
(transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT
Text.Pandoc.Readers.HTML.HTMLLocal m)
-- Defined at src/Text/Pandoc/Readers/HTML.hs:1087:10
(The choice depends on the instantiation of ‘m’
To pick the first instance above, use IncoherentInstances
when compiling the other instance declarations)
In a stmt of a 'do' block: singleQuoteStart
In the second argument of ‘($)’, namely
‘do { singleQuoteStart;
withQuoteContext InSingleQuote
$ many1Till inline singleQuoteEnd
>>= (return . B.singleQuoted . B.trimInlines . mconcat) }’
In the expression:
try
$ do { singleQuoteStart;
withQuoteContext InSingleQuote
$ many1Till inline singleQuoteEnd
>>= (return . B.singleQuoted . B.trimInlines . mconcat) }
src/Text/Pandoc/Readers/TWiki.hs:502:3:
Overlapping instances for HasQuoteContext ParserState m
arising from a use of ‘doubleQuoteStart’
Matching instances:
instance [incoherent] Monad m => HasQuoteContext ParserState m
-- Defined at src/Text/Pandoc/Parsing.hs:955:10
instance PandocMonad m =>
HasQuoteContext
st
(transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT
Text.Pandoc.Readers.HTML.HTMLLocal m)
-- Defined at src/Text/Pandoc/Readers/HTML.hs:1087:10
(The choice depends on the instantiation of ‘m’
To pick the first instance above, use IncoherentInstances
when compiling the other instance declarations)
In a stmt of a 'do' block: doubleQuoteStart
In the second argument of ‘($)’, namely
‘do { doubleQuoteStart;
contents <- mconcat
<$> many (try $ notFollowedBy doubleQuoteEnd >> inline);
(withQuoteContext InDoubleQuote
$ doubleQuoteEnd
>> return (B.doubleQuoted $ B.trimInlines contents))
<|> (return $ (B.str "\8220") B.<> contents) }’
In the expression:
try
$ do { doubleQuoteStart;
contents <- mconcat
<$> many (try $ notFollowedBy doubleQuoteEnd >> inline);
(withQuoteContext InDoubleQuote
$ doubleQuoteEnd
>> return (B.doubleQuoted $ B.trimInlines contents))
<|> (return $ (B.str "\8220") B.<> contents) }
Do I need to upgrade my Haskell to 8.0.2?
Axel
--
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/543C9617-FDB0-4B48-9E11-962C89405A2A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Failure to build Pandoc 2.0 on Mac OS X
[not found] ` <543C9617-FDB0-4B48-9E11-962C89405A2A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-02-04 16:39 ` John MacFarlane
[not found] ` <20170204163902.GA92735-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2017-02-04 16:39 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
It's a known issue, which I don't know exactly how to fix.
For now, we're not supporting ghc 7.8 for pandoc 2.
+++ Axel Kielhorn [Feb 04 17 12:12 ]:
>I would like to try Pandoc 2.0 (from git) but when building with
>
>
>The Glorious Glasgow Haskell Compilation System, version 7.8.4
>
>
>i get:
>
>src/Text/Pandoc/Readers/TWiki.hs:495:3:
> Overlapping instances for HasQuoteContext ParserState m
> arising from a use of ‘singleQuoteStart’
> Matching instances:
> instance [incoherent] Monad m => HasQuoteContext ParserState m
> -- Defined at src/Text/Pandoc/Parsing.hs:955:10
> instance PandocMonad m =>
> HasQuoteContext
> st
> (transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT
> Text.Pandoc.Readers.HTML.HTMLLocal m)
> -- Defined at src/Text/Pandoc/Readers/HTML.hs:1087:10
> (The choice depends on the instantiation of ‘m’
> To pick the first instance above, use IncoherentInstances
> when compiling the other instance declarations)
> In a stmt of a 'do' block: singleQuoteStart
> In the second argument of ‘($)’, namely
> ‘do { singleQuoteStart;
> withQuoteContext InSingleQuote
> $ many1Till inline singleQuoteEnd
> >>= (return . B.singleQuoted . B.trimInlines . mconcat) }’
> In the expression:
> try
> $ do { singleQuoteStart;
> withQuoteContext InSingleQuote
> $ many1Till inline singleQuoteEnd
> >>= (return . B.singleQuoted . B.trimInlines . mconcat) }
>
>src/Text/Pandoc/Readers/TWiki.hs:502:3:
> Overlapping instances for HasQuoteContext ParserState m
> arising from a use of ‘doubleQuoteStart’
> Matching instances:
> instance [incoherent] Monad m => HasQuoteContext ParserState m
> -- Defined at src/Text/Pandoc/Parsing.hs:955:10
> instance PandocMonad m =>
> HasQuoteContext
> st
> (transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT
> Text.Pandoc.Readers.HTML.HTMLLocal m)
> -- Defined at src/Text/Pandoc/Readers/HTML.hs:1087:10
> (The choice depends on the instantiation of ‘m’
> To pick the first instance above, use IncoherentInstances
> when compiling the other instance declarations)
> In a stmt of a 'do' block: doubleQuoteStart
> In the second argument of ‘($)’, namely
> ‘do { doubleQuoteStart;
> contents <- mconcat
> <$> many (try $ notFollowedBy doubleQuoteEnd >> inline);
> (withQuoteContext InDoubleQuote
> $ doubleQuoteEnd
> >> return (B.doubleQuoted $ B.trimInlines contents))
> <|> (return $ (B.str "\8220") B.<> contents) }’
> In the expression:
> try
> $ do { doubleQuoteStart;
> contents <- mconcat
> <$> many (try $ notFollowedBy doubleQuoteEnd >> inline);
> (withQuoteContext InDoubleQuote
> $ doubleQuoteEnd
> >> return (B.doubleQuoted $ B.trimInlines contents))
> <|> (return $ (B.str "\8220") B.<> contents) }
>
>Do I need to upgrade my Haskell to 8.0.2?
>
>Axel
>
>--
>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/543C9617-FDB0-4B48-9E11-962C89405A2A%40gmail.com.
>For more options, visit https://groups.google.com/d/optout.
--
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/20170204163902.GA92735%40Johns-MBP.home.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Failure to build Pandoc 2.0 on Mac OS X
[not found] ` <20170204163902.GA92735-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
@ 2017-02-05 10:41 ` Axel Kielhorn
[not found] ` <ECF9BF7B-A3B9-4889-AA47-16B6B98FC9DF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Axel Kielhorn @ 2017-02-05 10:41 UTC (permalink / raw)
To: Pandoc discuss discuss
> Am 04.02.2017 um 17:39 schrieb John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
>
> It's a known issue, which I don't know exactly how to fix.
> For now, we're not supporting ghc 7.8 for pandoc 2.
The cabal file says:
Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
Well, I upgraded to 8.0.2 which was probably a mistake, because now I get:
cabal: Entering directory '.'
Configuring pandoc-2.0...
setup: failed to parse output of 'ghc-pkg dump'
cabal: Leaving directory ‚.'
Pandoc 1.9.2.1 from cabal build without problems.
Should I go back to 7.10.2 or 8.0.1?
Axel
--
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/ECF9BF7B-A3B9-4889-AA47-16B6B98FC9DF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Failure to build Pandoc 2.0 on Mac OS X
[not found] ` <ECF9BF7B-A3B9-4889-AA47-16B6B98FC9DF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-02-05 11:55 ` mb21
[not found] ` <1705a50b-8dd6-45f3-8751-2bac1a20f890-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: mb21 @ 2017-02-05 11:55 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1535 bytes --]
AFAIK ghc 8 and greater is good... btw, if you have trouble with cabal I
can highly recommend stack instead:
https://github.com/jgm/pandoc/blob/master/INSTALL.md#quick-stack-method
On Sunday, February 5, 2017 at 11:41:24 AM UTC+1, Axel Kielhorn wrote:
>
>
> > Am 04.02.2017 um 17:39 schrieb John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org
> <javascript:>>:
> >
> > It's a known issue, which I don't know exactly how to fix.
> > For now, we're not supporting ghc 7.8 for pandoc 2.
>
> The cabal file says:
>
> Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
>
> Well, I upgraded to 8.0.2 which was probably a mistake, because now I get:
>
> cabal: Entering directory '.'
> Configuring pandoc-2.0...
> setup: failed to parse output of 'ghc-pkg dump'
> cabal: Leaving directory ‚.'
>
> Pandoc 1.9.2.1 from cabal build without problems.
>
> Should I go back to 7.10.2 or 8.0.1?
>
> Axel
--
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/1705a50b-8dd6-45f3-8751-2bac1a20f890%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 2428 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Failure to build Pandoc 2.0 on Mac OS X
[not found] ` <1705a50b-8dd6-45f3-8751-2bac1a20f890-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-02-05 12:41 ` Axel Kielhorn
[not found] ` <83FF3DF7-0B47-4FAC-8119-0442EAC9D541-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Axel Kielhorn @ 2017-02-05 12:41 UTC (permalink / raw)
To: Pandoc discuss discuss
> Am 05.02.2017 um 12:55 schrieb mb21 <mauro.bieg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>
> AFAIK ghc 8 and greater is good... btw, if you have trouble with cabal I can highly recommend stack instead: https://github.com/jgm/pandoc/blob/master/INSTALL.md#quick-stack-method
Well, stack installed ghc 8.0.1 and rebuild all the libraries.
Now I have an almost current pandoc.
But I can’t tell whether this is a cabal or a 8.0.2 problem.
Axel
--
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/83FF3DF7-0B47-4FAC-8119-0442EAC9D541%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Failure to build Pandoc 2.0 on Mac OS X
[not found] ` <83FF3DF7-0B47-4FAC-8119-0442EAC9D541-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-02-05 21:14 ` John MacFarlane
[not found] ` <20170205211430.GB5150-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: John MacFarlane @ 2017-02-05 21:14 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
I wonder if ghc 8.0.2 requires a more recent version of
Cabal than you have? We test with ghc 8.0.2 and cabal 1.24.
+++ Axel Kielhorn [Feb 05 17 13:41 ]:
>
>> Am 05.02.2017 um 12:55 schrieb mb21 <mauro.bieg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
>>
>> AFAIK ghc 8 and greater is good... btw, if you have trouble with cabal I can highly recommend stack instead: https://github.com/jgm/pandoc/blob/master/INSTALL.md#quick-stack-method
>
>Well, stack installed ghc 8.0.1 and rebuild all the libraries.
>Now I have an almost current pandoc.
>
>But I can’t tell whether this is a cabal or a 8.0.2 problem.
>
>Axel
>
>--
>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/83FF3DF7-0B47-4FAC-8119-0442EAC9D541%40gmail.com.
>For more options, visit https://groups.google.com/d/optout.
--
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/20170205211430.GB5150%40Johns-MBP.home.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Failure to build Pandoc 2.0 on Mac OS X
[not found] ` <20170205211430.GB5150-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
@ 2017-02-06 16:38 ` Axel Kielhorn
0 siblings, 0 replies; 7+ messages in thread
From: Axel Kielhorn @ 2017-02-06 16:38 UTC (permalink / raw)
To: Pandoc discuss discuss
> Am 05.02.2017 um 22:14 schrieb John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
>
> I wonder if ghc 8.0.2 requires a more recent version of
> Cabal than you have? We test with ghc 8.0.2 and cabal 1.24.
I’m using
cabal-install version 1.24.0.2
compiled using version 1.24.2.0 of the Cabal library
which came with ghc 8.0.2
Versions available: 1.18.1.7, 1.20.0.3, 1.20.0.4, 1.22.6.0, 1.22.7.0,
1.22.8.0, 1.24.0.0, (1.24.1.0), 1.24.2.0 (and 41 others)
Versions installed: 1.24.2.0
Looks good.
Axel
--
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/55DFFD35-9732-420B-8AFE-C30EA52673FE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-02-06 16:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-04 11:12 Failure to build Pandoc 2.0 on Mac OS X Axel Kielhorn
[not found] ` <543C9617-FDB0-4B48-9E11-962C89405A2A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-04 16:39 ` John MacFarlane
[not found] ` <20170204163902.GA92735-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2017-02-05 10:41 ` Axel Kielhorn
[not found] ` <ECF9BF7B-A3B9-4889-AA47-16B6B98FC9DF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-05 11:55 ` mb21
[not found] ` <1705a50b-8dd6-45f3-8751-2bac1a20f890-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-02-05 12:41 ` Axel Kielhorn
[not found] ` <83FF3DF7-0B47-4FAC-8119-0442EAC9D541-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-05 21:14 ` John MacFarlane
[not found] ` <20170205211430.GB5150-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2017-02-06 16:38 ` Axel Kielhorn
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).