Package Details: haskell-hscurses 1.4.2.0-1

Git Clone URL: https://aur.archlinux.org/haskell-hscurses.git (read-only)
Package Base: haskell-hscurses
Description: NCurses bindings for Haskell
Upstream URL: http://hackage.haskell.org/package/hscurses
Licenses: LGPL
Submitter: None
Maintainer: None
Last Packager: shmibs
Votes: 7
Popularity: 0.000000
First Submitted: 2008-06-16 00:05
Last Updated: 2016-04-21 18:54

Latest Comments

shmibs commented on 2017-11-14 05:04

honestly, i have no idea; i stole this package a while ago to fix one little thing and have no business holding onto it.

warp commented on 2017-11-14 04:34

OK, after re-reading the archwiki on haskell, looks like the reason was because it was configured to build the static library. So adding --disable-library-vanilla in PKGBUILD fixed the issue.

But now I run into another issue:
dist/build/UI/HSCurses/Curses_o_split: getDirectoryContents:openDirStream: does not exist (No such file or directory)==> ERROR: A failure occurred in build().

Probably some missing package.

warp commented on 2017-11-14 03:19

I got these errors when I try to build the package, appearinly saying it could not find the Prelude module.

I did ghc-pkg check, nothing is broken.
I have haskell-foundation and haskell-base-prelude installed as suggested at the end of (https://bbs.archlinux.org/viewtopic.php?id=230166) but no avail.

I have not tried installing ghc-static yet but I don't think it is related.

I still fairly new to the haskell tooling, so please any help would be appreciated!

UI/HSCurses/CWString.hsc:19:8: error:
Could not find module ‘Prelude’
There are files missing in the ‘base-4.10.0.0’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
19 | module UI.HSCurses.CWString (
| ^^^^^^^^^^^^^^^^^^^^

UI/HSCurses/CWString.hsc:53:1: error:
Could not find module ‘Data.Char’
There are files missing in the ‘base-4.10.0.0’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
53 | import Data.Char ( ord, chr )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

UI/HSCurses/CWString.hsc:54:1: error:
Could not find module ‘Data.Bits’
There are files missing in the ‘base-4.10.0.0’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
54 | import Data.Bits ( Bits((.|.), (.&.), shift) )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

UI/HSCurses/CWString.hsc:55:1: error:
Could not find module ‘Foreign.C.String’
There are files missing in the ‘base-4.10.0.0’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
55 | import Foreign.C.String
| ^^^^^^^^^^^^^^^^^^^^^^^
==> ERROR: A failure occurred in build().
Aborting...