public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Error by building latest pull
@ 2018-09-25 16:06 Cesar Romani
  2018-09-25 16:25 ` John MacFarlane
  0 siblings, 1 reply; 4+ messages in thread
From: Cesar Romani @ 2018-09-25 16:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I'm building pandoc on Windows 7. After using the following command:

cabal --force-reinstalls install

I get:

--------------------
Resolving dependencies...
cabal.exe: Could not resolve dependencies:
trying: pandoc-2.3 (user goal)
next goal: hslua-module-text (dependency of pandoc-2.3)
rejecting: hslua-module-text-0.1.2.1/installed-C9d...,
hslua-module-text-0.1.2.1, hslua-module-text-0.1.2, hslua-module-text-0.1.1,
hslua-module-text-0.1 (conflict: pandoc => hslua-module-text>=0.2 && <0.3)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: pandoc, hslua-module-text
--------------------

-- 
Cesar


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

* Re: Error by building latest pull
  2018-09-25 16:06 Error by building latest pull Cesar Romani
@ 2018-09-25 16:25 ` John MacFarlane
       [not found]   ` <m28t3pbl42.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2018-09-25 16:25 UTC (permalink / raw)
  To: Cesar Romani, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


Did you 'cabal update'?

Cesar Romani <cesar.romani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I'm building pandoc on Windows 7. After using the following command:
>
> cabal --force-reinstalls install
>
> I get:
>
> --------------------
> Resolving dependencies...
> cabal.exe: Could not resolve dependencies:
> trying: pandoc-2.3 (user goal)
> next goal: hslua-module-text (dependency of pandoc-2.3)
> rejecting: hslua-module-text-0.1.2.1/installed-C9d...,
> hslua-module-text-0.1.2.1, hslua-module-text-0.1.2, hslua-module-text-0.1.1,
> hslua-module-text-0.1 (conflict: pandoc => hslua-module-text>=0.2 && <0.3)
> After searching the rest of the dependency tree exhaustively, these were the
> goals I've had most trouble fulfilling: pandoc, hslua-module-text
> --------------------
>
> -- 
> Cesar
>
> -- 
> 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/podmav%24sum%241%40blaine.gmane.org.
> For more options, visit https://groups.google.com/d/optout.


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

* Re: Error by building latest pull
       [not found]   ` <m28t3pbl42.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2018-09-25 18:54     ` Cesar Romani
  0 siblings, 0 replies; 4+ messages in thread
From: Cesar Romani @ 2018-09-25 18:54 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

On 25/09/2018 11:25 a.m., John MacFarlane wrote:
 >
 > Did you 'cabal update'?
 >

Thanks, that did it. Sorry for the noise.

Regards,

-- 
Cesar


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

* Error by building latest pull
@ 2018-10-17 14:51 Cesar Romani
  0 siblings, 0 replies; 4+ messages in thread
From: Cesar Romani @ 2018-10-17 14:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I'm building pandoc on windows 7. After doing:
cabal update
cabal --force-reinstalls install

I get:

--------------------
Resolving dependencies...
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring pandoc-2.4...
Building pandoc-2.4...
Failed to install pandoc-2.4
Build log ( 
C:\Users\caesar\AppData\Roaming\cabal\logs\ghc-8.2.2\pandoc-2.4-YtLQ5qbRmeKusGxmBHkXq.log 
):
Preprocessing library for pandoc-2.4..
Building library for pandoc-2.4..
[109 of 133] Compiling Text.Pandoc.Readers.Muse ( 
src\Text\Pandoc\Readers\Muse.hs, dist\build\Text\Pandoc\Readers\Muse.o )

src\Text\Pandoc\Readers\Muse.hs:153:73: error:
     Variable not in scope: allTheSame :: [Char] -> Bool
     |
153 |         maxIndent = length $ takeWhile (isSpaceChar . head) $ 
takeWhile allTheSame $ transpose lns
     | 
        ^^^^^^^^^^

src\Text\Pandoc\Readers\Muse.hs:154:31: error:
     • Ambiguous type variable ‘a0’ arising from a use of ‘==’
       prevents the constraint ‘(Eq a0)’ from being solved.
       Relevant bindings include
         same :: [a0] -> Bool
           (bound at src\Text\Pandoc\Readers\Muse.hs:154:9)
       Probable fix: use a type annotation to specify what ‘a0’ should be.
       These potential instances exist:
         instance (Eq b, Eq a) => Eq (Either a b)
           -- Defined in ‘Data.Either’
         instance (Eq k, Eq a) => Eq (M.Map k a)
           -- Defined in ‘Data.Map.Internal’
         instance Eq a => Eq (Set.Set a) -- Defined in ‘Data.Set.Internal’
         ...plus 54 others
         ...plus 242 instances involving out-of-scope types
         (use -fprint-potential-instances to see them all)
     • In the first argument of ‘zipWith’, namely ‘(==)’
       In the first argument of ‘(<*>)’, namely ‘zipWith (==)’
       In the second argument of ‘(.)’, namely ‘(zipWith (==) <*> drop 1)’
     |
154 |         same = and . (zipWith (==) <*> drop 1)
     |                               ^^^^
cabal: Leaving directory '.'
cabal.exe: Error: some packages failed to install:
pandoc-2.4-YtLQ5qbRmeKusGxmBHkXq failed during the building phase. The
exception was:
ExitFailure 1
--------------------

Many thanks in advance,

-- 
Cesar

-- 
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/pq7i62%24pc4%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.


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

end of thread, other threads:[~2018-10-17 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 16:06 Error by building latest pull Cesar Romani
2018-09-25 16:25 ` John MacFarlane
     [not found]   ` <m28t3pbl42.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2018-09-25 18:54     ` Cesar Romani
2018-10-17 14:51 Cesar Romani

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).