public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* updating pandoc. Some progress
@ 2016-03-30 12:31 Uwe Brauer
       [not found] ` <877fgkm9k0.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Uwe Brauer @ 2016-03-30 12:31 UTC (permalink / raw)
  To: pandoc-discuss

Hi

I downloaded the binaries found
in
https://www.haskell.org/ghc/download_ghc_7_6_3#x86linux
./configure --prefix=/home/oub/h2
   220  11:12   make install

Then

/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc
--with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install cabal-install

And obtained
,----
| 
| cabal: Error: some packages failed to install:
| Cabal-1.22.8.0 failed during the building phase. The exception was:
| ExitFailure 1
| HTTP-4000.3.3 depends on mtl-2.2.1 which failed to install.
| cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install.
| mtl-2.2.1 failed during the configure step. The exception was:
| ExitFailure 1
| network-uri-2.6.1.0 depends on mtl-2.2.1 which failed to install.
| parsec-3.1.9 depends on mtl-2.2.1 which failed to install.
`----


And then

/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc
--with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install pandoc

Which of course also failed.
,----
| /home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc --with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install pandoc
| Resolving dependencies...
| cabal: cannot configure directory-1.2.0.0. It requires time <1.5
`----

Any ideas?

thanks

Uwe Brauer 


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

* Re: updating pandoc. Some progress
       [not found] ` <877fgkm9k0.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-03-30 17:25   ` John MACFARLANE
       [not found]     ` <20160330172523.GA79111-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: John MACFARLANE @ 2016-03-30 17:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Is there a reason you used ghc 7.6.3 and not the most recent
version 7.10.3 (which provides several binary packages for
linux)?  I'd suggest using the latest, though pandoc cabal
builds are regularly tested on travis with versions back to 7.4.2.

You might also look at
https://launchpad.net/~hvr/+archive/ubuntu/ghc
which provides ubuntu packages for various ghc and
cabal-install versions.

>| cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install.
>| mtl-2.2.1 failed during the configure step. The exception was:
>| ExitFailure 1

If you go back in the log to the part that is installing
mtl, you may be able to see what went wrong.  Sometimes
ExitFailure 1 indicates that the build failed through
resource exhaustion, which can happen on low-memory systems.


+++ Uwe Brauer [Mar 30 16 12:31 ]:
>Hi
>
>I downloaded the binaries found
>in
>https://www.haskell.org/ghc/download_ghc_7_6_3#x86linux
>./configure --prefix=/home/oub/h2
>   220  11:12   make install
>
>Then
>
>/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc
>--with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install cabal-install
>
>And obtained
>,----
>|
>| cabal: Error: some packages failed to install:
>| Cabal-1.22.8.0 failed during the building phase. The exception was:
>| ExitFailure 1
>| HTTP-4000.3.3 depends on mtl-2.2.1 which failed to install.
>| cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install.
>| mtl-2.2.1 failed during the configure step. The exception was:
>| ExitFailure 1
>| network-uri-2.6.1.0 depends on mtl-2.2.1 which failed to install.
>| parsec-3.1.9 depends on mtl-2.2.1 which failed to install.
>`----
>
>
>And then
>
>/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc
>--with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install pandoc
>
>Which of course also failed.
>,----
>| /home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc --with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install pandoc
>| Resolving dependencies...
>| cabal: cannot configure directory-1.2.0.0. It requires time <1.5
>`----
>
>Any ideas?
>
>thanks
>
>Uwe Brauer
>
>-- 
>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/877fgkm9k0.fsf%40gmail.com.
>For more options, visit https://groups.google.com/d/optout.


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

* Re: updating pandoc. Some progress
       [not found]     ` <20160330172523.GA79111-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
@ 2016-03-30 18:01       ` oub
       [not found]         ` <79525b70-dd30-4e4e-bbdd-952f4b740f8d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2016-03-31  9:12       ` oub
  1 sibling, 1 reply; 9+ messages in thread
From: oub @ 2016-03-30 18:01 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1304 bytes --]



On Wednesday, March 30, 2016 at 5:25:39 PM UTC, John MacFarlane wrote:
>
> Is there a reason you used ghc 7.6.3 and not the most recent 
> version 7.10.3 (which provides several binary packages for 
> linux)?  I'd suggest using the latest, though pandoc cabal 
> builds are regularly tested on travis with versions back to 7.4.2. 
>

well the older one, had one generic binary packages, the more recent ones 
(7.6.3) had binaries for several distributions
but mine Ubuntu 10.04 was not among them. 

I will try anyhow and report back 

>
> You might also look at 
> https://launchpad.net/~hvr/+archive/ubuntu/ghc 
> which provides ubuntu packages for various ghc and 
> cabal-install versions. 
>
>
nope Lucid is not amoung them.

-- 
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/79525b70-dd30-4e4e-bbdd-952f4b740f8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2544 bytes --]

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

* Re: updating pandoc. Some progress
       [not found]         ` <79525b70-dd30-4e4e-bbdd-952f4b740f8d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-03-30 20:36           ` BP Jonsson
       [not found]             ` <56FC38B8.7000502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: BP Jonsson @ 2016-03-30 20:36 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Den 2016-03-30 kl. 20:01, skrev oub:
> but mine Ubuntu 10.04 was not among them.

Any particular reason you can't or won't upgrade Ubuntu, then?
I can't upgrade Ubuntu on my ancient 32-bit laptop. Are you in a 
similar predicament?

/bpj


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

* Re: updating pandoc. Some progress
       [not found]             ` <56FC38B8.7000502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-03-31  8:32               ` oub
  0 siblings, 0 replies; 9+ messages in thread
From: oub @ 2016-03-31  8:32 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: bpj-J3H7GcXPSITLoDKTGw+V6w


[-- Attachment #1.1: Type: text/plain, Size: 1167 bytes --]



On Wednesday, March 30, 2016 at 8:36:14 PM UTC, BP Jonsson wrote:
>
> Den 2016-03-30 kl. 20:01, skrev oub: 
> > but mine Ubuntu 10.04 was not among them. 
>
> Any particular reason you can't or won't upgrade Ubuntu, then? 
> I can't upgrade Ubuntu on my ancient 32-bit laptop. Are you in a 
> similar predicament? 
>
> /bpj 
>

Well it is a Thinkpad X200 or a X61, I presume I could install 32bit 
Kubuntu 14.04, but right now
my workload is so high that I cannot effort to spend time in upgrading the 
system, because usually there are always 
problems which take some days to iron them 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/8aefcbad-ab90-47ad-8c80-f42508ce4242%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1767 bytes --]

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

* Re: updating pandoc. Some progress
       [not found]     ` <20160330172523.GA79111-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
  2016-03-30 18:01       ` oub
@ 2016-03-31  9:12       ` oub
       [not found]         ` <acd305d6-1a24-4d0f-9c54-26421da3830c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  1 sibling, 1 reply; 9+ messages in thread
From: oub @ 2016-03-31  9:12 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 4493 bytes --]



On Wednesday, March 30, 2016 at 5:25:39 PM UTC, John MacFarlane wrote:
>
> Is there a reason you used ghc 7.6.3 and not the most recent 
> version 7.10.3 (which provides several binary packages for 
> linux)?  I'd suggest using the latest, though pandoc cabal 
> builds are regularly tested on travis with versions back to 7.4.2. 
>

7.10.3: I dowloaded ghc-7.10.3-i386-centos67-linux.tar.bz2 
<http://downloads.haskell.org/%7Eghc/7.10.3/ghc-7.10.3-i386-centos67-linux.tar.bz2>
since it only requires libgmp.so.3 which I have.

However the installation failed with 



/home/oub/h-7.10/lib/ghc-7.10.3/bin/ghc-pkg: error while loading shared 
libraries: libtinfo.so.5: cannot open shared object file: No such file or 
directory
make[1]: *** [install_packages] Error 127
make: *** [install] Error 2


I repeated the installation of 7.6.3
and again mtl was the problem

Cabal-1.22.8.0 failed during the building phase. The exception was:
ExitFailure 1
HTTP-4000.3.3 depends on mtl-2.2.1 which failed to install.
cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install.
mtl-2.2.1 failed during the configure step. The exception was:
ExitFailure 1

I basically closed all applications in order not to run into a memory 
problem I have 4 G RAM and 250 were occupied by the system. 

I will try out now ghc-7.5 and below

>
> You might also look at 
> https://launchpad.net/~hvr/+archive/ubuntu/ghc 
> which provides ubuntu packages for various ghc and 
> cabal-install versions. 
>
> >| cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install. 
> >| mtl-2.2.1 failed during the configure step. The exception was: 
> >| ExitFailure 1 
>
> If you go back in the log to the part that is installing 
> mtl, you may be able to see what went wrong.  Sometimes 
> ExitFailure 1 indicates that the build failed through 
> resource exhaustion, which can happen on low-memory systems. 
>
>
> +++ Uwe Brauer [Mar 30 16 12:31 ]: 
> >Hi 
> > 
> >I downloaded the binaries found 
> >in 
> >https://www.haskell.org/ghc/download_ghc_7_6_3#x86linux 
> >./configure --prefix=/home/oub/h2 
> >   220  11:12   make install 
> > 
> >Then 
> > 
> >/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc 
> >--with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install cabal-install 
> > 
> >And obtained 
> >,---- 
> >| 
> >| cabal: Error: some packages failed to install: 
> >| Cabal-1.22.8.0 failed during the building phase. The exception was: 
> >| ExitFailure 1 
> >| HTTP-4000.3.3 depends on mtl-2.2.1 which failed to install. 
> >| cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install. 
> >| mtl-2.2.1 failed during the configure step. The exception was: 
> >| ExitFailure 1 
> >| network-uri-2.6.1.0 depends on mtl-2.2.1 which failed to install. 
> >| parsec-3.1.9 depends on mtl-2.2.1 which failed to install. 
> >`---- 
> > 
> > 
> >And then 
> > 
> >/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc 
> >--with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install pandoc 
> > 
> >Which of course also failed. 
> >,---- 
> >| /home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h2/bin/ghc 
> --with-ghc-pkg=/home/oub/h2/bin/ghc-pkg install pandoc 
> >| Resolving dependencies... 
> >| cabal: cannot configure directory-1.2.0.0. It requires time <1.5 
> >`---- 
> > 
> >Any ideas? 
> > 
> >thanks 
> > 
> >Uwe Brauer 
> > 
> >-- 
> >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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
> <javascript:>. 
> >To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/877fgkm9k0.fsf%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/acd305d6-1a24-4d0f-9c54-26421da3830c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 7625 bytes --]

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

* Re: updating pandoc. Some progress
       [not found]         ` <acd305d6-1a24-4d0f-9c54-26421da3830c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-03-31 12:15           ` oub
       [not found]             ` <28b906b2-40e3-41b0-baf5-0ea0fee3f527-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: oub @ 2016-03-31 12:15 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1299 bytes --]


So far I have tried out
ghc-7.6.1
ghc-7.6.3
ghc-7.4.2
ghc-7.10.3

I could not install ghc-7.10.3 as I wrote in an earlier message, the other 
ghc version I could.
However 
/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h-7.6/bin/ghc 
--with-ghc-pkg=/home/oub/h-7.6/bin/ghc-pkg --disable-library-profiling 
install cabal-install
(using all the different ghc versions)

failed always with the message
Cabal-1.22.8.0 failed during the building phase. The exception was:
ExitFailure 1
HTTP-4000.3.3 depends on mtl-2.2.1 which failed to install.
cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install.

so it seems the evil mtl package caused the installation problem.

anybody has an idea?

thanks

Uwe Brauer 

-- 
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/28b906b2-40e3-41b0-baf5-0ea0fee3f527%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1784 bytes --]

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

* Re: updating pandoc. Some progress
       [not found]             ` <28b906b2-40e3-41b0-baf5-0ea0fee3f527-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-03-31 13:13               ` Daniel Bergey
  2016-03-31 13:36                 ` Uwe Brauer
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Bergey @ 2016-03-31 13:13 UTC (permalink / raw)
  To: oub, pandoc-discuss

Try adding this flag to your cabal install line:

--constraint='transformers installed'

I think that will give cabal enough guidance to pick an older version of
mtl, which plays better with GHC-7.6.

Daniel

On 2016-03-31 at 08:15, oub <oub.oub.oub-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> So far I have tried out
> ghc-7.6.1
> ghc-7.6.3
> ghc-7.4.2
> ghc-7.10.3
>
> I could not install ghc-7.10.3 as I wrote in an earlier message, the other 
> ghc version I could.
> However 
> /home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h-7.6/bin/ghc 
> --with-ghc-pkg=/home/oub/h-7.6/bin/ghc-pkg --disable-library-profiling 
> install cabal-install
> (using all the different ghc versions)
>
> failed always with the message
> Cabal-1.22.8.0 failed during the building phase. The exception was:
> ExitFailure 1
> HTTP-4000.3.3 depends on mtl-2.2.1 which failed to install.
> cabal-install-1.22.9.0 depends on mtl-2.2.1 which failed to install.
>
> so it seems the evil mtl package caused the installation problem.
>
> anybody has an idea?
>
> thanks
>
> Uwe Brauer 
>
> -- 
> 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/28b906b2-40e3-41b0-baf5-0ea0fee3f527%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


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

* Re: updating pandoc. Some progress
  2016-03-31 13:13               ` Daniel Bergey
@ 2016-03-31 13:36                 ` Uwe Brauer
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Brauer @ 2016-03-31 13:36 UTC (permalink / raw)
  To: Daniel Bergey; +Cc: oub, pandoc-discuss

>>> "Daniel" == Daniel Bergey <bergey-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> writes:

    > Try adding this flag to your cabal install line:
    > --constraint='transformers installed'


thanks

I tried

/home/oub/.cabal/bin/cabal --with-compiler=/home/oub/h-7.6.1/bin/ghc --with-ghc-pkg=/home/oub/h-7.6.1/bin/ghc-pkg --disable-library-profiling  --constraint='transformers installed' install cabal-install

And I obtain

cabal: dependency expected


Uwe 


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

end of thread, other threads:[~2016-03-31 13:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 12:31 updating pandoc. Some progress Uwe Brauer
     [not found] ` <877fgkm9k0.fsf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-03-30 17:25   ` John MACFARLANE
     [not found]     ` <20160330172523.GA79111-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2016-03-30 18:01       ` oub
     [not found]         ` <79525b70-dd30-4e4e-bbdd-952f4b740f8d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-30 20:36           ` BP Jonsson
     [not found]             ` <56FC38B8.7000502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-03-31  8:32               ` oub
2016-03-31  9:12       ` oub
     [not found]         ` <acd305d6-1a24-4d0f-9c54-26421da3830c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-31 12:15           ` oub
     [not found]             ` <28b906b2-40e3-41b0-baf5-0ea0fee3f527-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-31 13:13               ` Daniel Bergey
2016-03-31 13:36                 ` Uwe Brauer

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