You are not logged in.

#1 2012-10-18 11:43:37

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

can't find a way to install pandoc - cabal or AUR (SOLVED)

I am running Arch x86-64 and can't get pandoc up and running.  I've tried the AUR packages as well as adding Haskell repo's as shown in the wiki, and also cabal with the available ghc.

At this point I'm back to the arch standard GHC and cabal-install.  I did a 'pacman -Rnsc haskell cabal-install' and then went ahead and deleted my ~/.cabal and my ~/.ghc and this did a 'cabal update', this is what I get when I run 'cabal install pandoc'

cabal: The following packages are likely to be broken by the reinstalls:
haskell98-2.0.0.2
ghc-7.6.1
Cabal-1.16.0
bin-package-db-0.0.0.0
Use --force-reinstalls if you want to install anyway

Some in Google Groups said that they do the force reinstalls anyway, but when I try that things really do get broken.  This is what I end up with:

cabal: Error: some packages failed to install:
citeproc-hs-0.3.5 depends on directory-1.0.0.3 which failed to install.
directory-1.0.0.3 failed during the building phase. The exception was:
ExitFailure 1
highlighting-kate-0.5.3.3 depends on regex-pcre-builtin-0.94.2.1.7.7 which
failed to install.
pandoc-1.9.4.2 depends on regex-pcre-builtin-0.94.2.1.7.7 which failed to
install.
process-1.1.0.2 depends on directory-1.0.0.3 which failed to install.
regex-pcre-builtin-0.94.2.1.7.7 failed during the building phase. The
exception was:
ExitFailure 1
temporary-1.1.2.4 depends on directory-1.0.0.3 which failed to install.
texmath-0.6.1.1 failed during the configure step. The exception was:
ExitFailure 1
zip-archive-0.1.2.1 depends on directory-1.0.0.3 which failed to install.

So, I'm at a loss and need to install pandoc the power tool.

Last edited by originalsurfmex (2012-10-28 11:40:33)

Offline

#2 2012-10-19 01:53:32

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: can't find a way to install pandoc - cabal or AUR (SOLVED)

since the above post, im nearly sure i've tried everything:

-all the haskell options in AUR, including Haskell-Platform
-Haskell sources from the Haskell Dev Team
-Building Haskell-Platform from source (same error as from the AUR pkgbuild - the one with OpenGL)
-cabal-dev (won't build)

i did see this problem with current ghc:
https://github.com/jgm/pandoc/issues/608

has anyone had sucess recently in Arch x86-64?

Last edited by originalsurfmex (2012-10-19 01:58:24)

Offline

#3 2012-10-21 13:31:07

mloskot
Member
From: London, United Kingdom
Registered: 2012-06-01
Posts: 86
Website

Re: can't find a way to install pandoc - cabal or AUR (SOLVED)

Currently, there is a problem indeed, see Ian Ross' blog post about it:

Haskell on Arch Linux:

Unfortunately, there seems to be a problem. The new cabal-install version can’t read its own default configuration file and just fails more or less immediately. There seems to be a fix, but it’s not yet percolated into the Arch packages.

IMHO, you'd be better posting Haskell questions to http://www.haskell.org/mailman/listinfo/arch-haskell


Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400  | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M

Offline

#4 2012-10-28 11:40:03

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: can't find a way to install pandoc - cabal or AUR (SOLVED)

Thanks for directing me to the list.  Here is what solved the problem, for now:

On Sat, Oct 13, 2012 at 11:00:40PM +0000, Xyne wrote:
> Where is [haskell-old]? I really need pandoc.

[haskell-old]
Server = http://www.kiwilight.com/haskell/old/$arch

/M

I added the [haskell-old] repo in addition to the other haskell repo's suggested in the Arch Wiki.  All is good now, installed via pacman and not cabal.

Offline

#5 2025-05-14 05:28:53

aditya_an1l
Member
Registered: 2025-05-08
Posts: 2

Re: can't find a way to install pandoc - cabal or AUR (SOLVED)

For me, the following command worked:

yay -Sy pandoc

Using the -Sy flair did the trick

Offline

Board footer

Powered by FluxBB