Closed michaelmariaott closed 8 months ago
I confirm this happens when building with ghc-9.0.2 and ghc-9.2.4. I can build with ghc-8.10.7.
I recommend that this issue's title mentions the error message, and that the text (if not the title) mentions the compiler version. I think it's got nothing do to with a specific OS.
Anyway the issue seems to be known, and fixed: https://github.com/spell-music/csound-expression/pull/68 but it's not on hackage?
So, one way to build with ghc-9 is:
git clone https://github.com/spell-music/csound-expression/
cd csound-expression
cabal install --lib all
Sorry for late reply, I've tried stackage LTS-20.5 with ghc 9.2.5 and it compiles
I've uploaded updated version to master. It needs no change in the code but the version of depndnecy data-fix had to be updated.
Also library can be built with stack by cloning the repo:
git clone https://github.com/spell-music/csound-expression/
cd csound-expression
make build
I guess this issue is related: https://github.com/spell-music/csound-expression/issues/72
So the problim is caused by the hashable package
I see. So the way to build (from hackage) currently is
cabal install --lib csound-expression -w /opt/ghc/ghc-9.2.5/bin/ghc --constraint "hashable<1.3.4"
This (old hashable) also pins text
to a pre-2 version (and that can't be built with base
of ghc-9.4) Ah well.
I've updated the package on github repo. Fixed lots of bugs an updated it to the new GHC. I plan to remove hashable dependency.
But Ihavn't uploaded the new version to hackage yet. I will release when I fix one issue. So it can be installed that way for a while
I guess you still haven't fixed that one issue?
Love this package, and would be great to see an up-to-date working version on Hackage again!
ok, i'll give it a try
Please use newer versions of the ghc. Fixed today to work for ghc 9.6.4 and 9.8
Hello,
I followed the Introduction, but
cabal install csound-expression
failed due to a build error. This is the build-log: