jgm / jgm/gitit

Error while installing gitit over cabal.

Open
#332 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.3k
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,

I'm pretty not sure if I'm at the right place for this bug.

I was running my gitit over a long time on my Debian machine which works great. Recently i switched over to OpenBSD (5.2) with ghc-7.0.4 . My steps to install were the following:
- Installed cabal from http://www.haskell.org/cabal/download.html as tar.gz
- Started `cabal update`
- Started `cabal install gitit`

The Problem is that the compiling throws errors on `zip-archive-0.1.1.8` (a dependency of `pandoc 1.9.4.5`)

```
Building zip-archive-0.1.1.8...
Preprocessing library zip-archive-0.1.1.8...
[1 of 1] Compiling Codec.Archive.Zip ( Codec/Archive/Zip.hs, dist/build/Codec/Archive/Zip.o )
Codec/Archive/Zip.hs:413:13: Not in scope: `lookAheadM'
Codec/Archive/Zip.hs:486:10: Not in scope: `lookAhead'
Codec/Archive/Zip.hs:514:33: Not in scope: `lookAhead'
Codec/Archive/Zip.hs:575:10: Not in scope: `lookAhead'
cabal: Error: some packages failed to install:
```

The point is: what does cabal mean? The dependency for pandoc is zip-archive (≥0.1.1.7 & <0.2). Which would match to `zip-archive-0.1.2.1` as well (which i can build withou any problems!). Why does cabal choose the 0.1.1.8 version.

Would be great if anyone could tell me how to fix that. Perhaps with some `cabal` magic (to use 0.1.2.1) or some thing.

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.