I just upgraded from bookworm to trixie because I could no longer compile some dependencies for tidalcycles due to some linker error. I completely nuked my install binutils and other important packages trying to fix that, so I finally upgraded to trixie.
this fixed my compile problems, so tidal installed fine, but now my existing Boottidal.hs will n longer work :-/
GHCi, version 9.6.6: https://www.haskell.org/ghc/ :? for help
ghci>
/home/kaos/tidalcode/BootTidal.hs:25:49: error: [GHC-88464]
Variable not in scope: required :: Maybe Value
|
25 | espeakShape = OSC "/espeak" $ ArgList [("word", required),
| ^^^^^^^^
the same Boottidal.hs works fine on my other (ubuntu) laptop what could be wrong?
$ ghc-pkg list --package-db $HOME/.cabal/store/ghc-9.12.2-inplace/package.db tidal
when in doubt, install current tidal?
GHC's package management is ... sometimes not obvious. yes, it's a vast improvement over previous states (no package management) but yeah.
NB (you don't need this) the ghc version (9.6) looks ancient. But that's what trixie offers by default, and I just confirmed that I can build tidal-1.10 with ghc-9.6
"install current GHC" is an adventure - of fighting the ghc installed by your distributions's package manager.
[EDIT] "fighting" can also happen between library versions (current one from hackage, vs. old one from distribution). While checking this for Debian, I found that tidal is no longer in debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057722 (it is in bookworm, but not in trixie?)
I was upgrading from bookworm specifically because I was having tidal (dependencies) compile problems.
The GHC battle... I guess I'll need to do it, but the compilation and installation looked fine.
The line is to use espeak from tidal (it used to work on this laptop, and still works on my other laptop...) as from this post
I'm feeling this is not the problem..., but I'll crosspost to check
tidal version:
Loaded package environment from /home/kaos/.ghc/x86_64-linux-9.6.6/environments/default
GHCi, version 9.6.6: https://www.haskell.org/ghc/ :? for help
ghci> import Sound.Tidal.Context
ghci> tidal_version
"1.10.1"
ghci>