Uninstall and new install TidalCycles on MacOS 10.13.6

Unfortunately I was not successful updating TC. I still run 1.0.6. or 1.0.13. - I don’t know - on a MacbookPro 2013 under MacOS 10.13.6. A friend told me, that he had the same problem under MacOS 10.13. He uninstalled TC and reinstalled a newer Version successfully. I would try out the same now. How do I uninstall TC? How do I find the hidden folders and files?

You could remove ~/.cabal and ~/.ghc folders and then try with cabal update and cabal install tidal (or maybe cabal install tidal --lib, if you have a recent version of haskell installed)

Thank you for your hints. I did what you suggested, removed cabal and ghc folders and the I at first executed cabal update and then cabal install tidal and that is result:

Last login: Tue Jan 28 17:12:00 on ttys000
Cosmokrator:~ Axel$ cabal update


=== Configuration for cabal has been written to
/Users/Axel/.cabal/config

=== Executables will be installed in:
/Users/Axel/Library/Haskell/bin

You may wish to place this on your PATH by adding the following
line to your ~/.bash_profile:

export PATH="$HOME/Library/Haskell/bin:$PATH"

=== When documentation is built, a master index to all documentation
will be placed in:

/Users/Axel/Library/Haskell/doc/index.html

You may wish to bookmark that file once it gets built (after the
first cabal install).

Downloading the latest package list from hackage.haskell.org
Cosmokrator:~ Axel$ cabal install tidal
Warning: --root-cmd is no longer supported, see
https://github.com/haskell/cabal/issues/3353 (if you didn’t type --root-cmd,
comment out root-cmd in your ~/.cabal/config file)
Resolving dependencies…
Downloading blaze-builder-0.4.1.0…
Downloading cabal-doctest-1.0.8…
Configuring cabal-doctest-1.0.8…
Downloading clock-0.8…
Downloading colour-2.3.5…
Configuring blaze-builder-0.4.1.0…
Configuring clock-0.8…
Downloading data-binary-ieee754-0.4.4…
Downloading data-default-class-0.1.2.0…
Configuring colour-2.3.5…
Building cabal-doctest-1.0.8…
Building blaze-builder-0.4.1.0…
Configuring data-default-class-0.1.2.0…
Downloading parsec-3.1.14.0…
Building clock-0.8…
Building colour-2.3.5…
Configuring data-binary-ieee754-0.4.4…
Downloading base-orphans-0.8.2…
Configuring parsec-3.1.14.0…
Configuring base-orphans-0.8.2…
Building data-default-class-0.1.2.0…
Building data-binary-ieee754-0.4.4…
Building parsec-3.1.14.0…
Building base-orphans-0.8.2…
Installed data-default-class-0.1.2.0
Downloading primitive-0.7.0.0…
Installed data-binary-ieee754-0.4.4
Downloading semigroups-0.19.1…
Configuring primitive-0.7.0.0…
Failed to install primitive-0.7.0.0
Build log ( /Users/Axel/.cabal/logs/ghc-8.2.1/primitive-0.7.0.0-1rqSA3iNIcc2vIuRgdFLF1.log ):
cabal: Entering directory ‘/var/folders/jz/r92pc8s54wz9c9cpfqh9jlw40000gp/T/cabal-tmp-5813/primitive-0.7.0.0’
cabal: Leaving directory ‘/var/folders/jz/r92pc8s54wz9c9cpfqh9jlw40000gp/T/cabal-tmp-5813/primitive-0.7.0.0’
Downloading tagged-0.8.6…
Installed cabal-doctest-1.0.8
Configuring semigroups-0.19.1…
Configuring tagged-0.8.6…
Installed clock-0.8
Building semigroups-0.19.1…
Building tagged-0.8.6…
Installed semigroups-0.19.1
Installed blaze-builder-0.4.1.0
Installed base-orphans-0.8.2
Installed tagged-0.8.6
Installed colour-2.3.5
Installed parsec-3.1.14.0
Updating documentation index
/Users/Axel/Library/Haskell/share/doc/x86_64-osx-ghc-8.2.1/index.html
cabal: Error: some packages failed to install:
math-functions-0.3.3.0-EsutRsqoPqWIKzpzYLCK65 depends on
math-functions-0.3.3.0 which failed to install.
mwc-random-0.14.0.0-264LfpJVv6KKSmtfpicDbh depends on mwc-random-0.14.0.0
which failed to install.
primitive-0.7.0.0-1rqSA3iNIcc2vIuRgdFLF1 failed during the configure step. The
exception was:
dieVerbatim: user error (cabal: The package ‘primitive’ requires Cabal library
version -any && >=2.2
but no suitable version is installed.
)
tidal-1.4.7-7b1Sz5P3a1m4sq46N8coYF depends on tidal-1.4.7 which failed to
install.
vector-0.12.0.3-HqVH9N0dVY123yj19gotKT depends on vector-0.12.0.3 which failed
to install.
vector-th-unbox-0.2.1.7-DyzOaQIkECj3gvbg25VLtP depends on
vector-th-unbox-0.2.1.7 which failed to install.
Cosmokrator:~ Axel$

And furthermore, when I try to start some code in Atom now I get this error:


Custom ghci path configured: ~/.ghcup/bin/ghci

Ghci command: /Users/Axel/.ghcup/bin/ghci Ghc-pkg command: /Users/Axel/.ghcup/bin/ghc-pkg

Load BootTidal.hs from /Users/Axel/.atom/packages/tidalcycles/lib/BootTidal.hs

/bin/sh: /Users/Axel/.ghcup/bin/ghci: No such file or directory


How can I Load BootTidal.hs from /Users/Axel/.atom/packages/tidalcycles/lib/BootTidal.hs ?

I just wanted to tell, that I got it all fixed now:

I started with new installing Haskell with

curl --proto ‘=https’ --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

and then I got cabal and TC 1.4.7 installed.

1 Like