# Mac OSX - new install / cannot start tidal on Mac OSX catalina

**URL:** <https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192>\
**Category:** TidalCycles\
**Tags:** installation\
**Created:** [5 April 2020 22:36 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192 "2020-04-05T22:36:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![montoyamoraga](https://uzu.lurk.org/user_avatar/uzu.lurk.org/montoyamoraga/32/90_2.png) [@montoyamoraga](https://uzu.lurk.org/u/montoyamoraga)\
**Post date:** [5 April 2020 22:36 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/1 "2020-04-05T22:36:20Z")

</div>

hi everyone!

i am having a lot of trouble figuring out Haskell and ghc again, i would like to uninstall everything and start from scratch, it's confusing for me the difference between Haskell/ghc/cabal/haskell.

Right now my VScode crashes like this:

Warning: GHCi | Loaded package environment from /Users/montoyamoraga/.ghc/x86\_64-darwin-8.6.5/environments/default  
Prelude\> Prelude\> Warning: GHCi |  
Warning: GHCi | : error:  
Warning: GHCi | Ambiguous module name ‘Sound.Tidal.Context’:  
Warning: GHCi | it was found in multiple packages:  
Warning: GHCi | tidal-1.4.7 tidal-1.4.7 tidal-1.4.7 tidal-1.4.7 tidal-1.4.7  
Warning: GHCi |  
Warning: GHCi | :6:39: error: Not in scope: ‘oLatency’  
Warning: GHCi |  
Warning: GHCi | :6:55: error: Not in scope: ‘oAddress’  
Warning: GHCi |  
Warning: GHCi | :6:79: error: Not in scope: ‘oPort’

And my SuperCollider like this:

\*\*\* ERROR: dlopen '/Users/montoyamoraga/Library/Application Support/SuperCollider/Extensions/SC3plugins/StkInst.scx' err 'dlopen(/Users/montoyamoraga/Library/Application Support/SuperCollider/Extensions/SC3plugins/StkInst.scx, 2): no suitable image found. Did find:  
/Users/montoyamoraga/Library/Application Support/SuperCollider/Extensions/SC3plugins/StkInst.scx: code signature in (/Users/montoyamoraga/Library/Application Support/SuperCollider/Extensions/SC3plugins/StkInst.scx) not valid for use in process using Library Validation: library load disallowed by system policy'

---

<div class="post-metadata">

**Author:** ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)\
**Post date:** [5 April 2020 22:45 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/2 "2020-04-05T22:45:22Z")

</div>

Hi @montoyamoraga,

This is an annoying and by now longstanding bug in Haskell…

You can fix it by deleting `/Users/montoyamoraga/.ghc/x86_64-darwin-8.6.5/environments/default` (the file mentioned at the top of the message as the ‘package environment’), and running `cabal install tidal --lib` again.

---

<div class="post-metadata">

**Author:** ![montoyamoraga](https://uzu.lurk.org/user_avatar/uzu.lurk.org/montoyamoraga/32/90_2.png) [@montoyamoraga](https://uzu.lurk.org/u/montoyamoraga)\
**Post date:** [5 April 2020 23:08 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/3 "2020-04-05T23:08:10Z")

</div>

thank you @yaxu!  
that made the trick, now it's working 🙂

---

<div class="post-metadata">

**Author:** ![ana.mora](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ana.mora/32/96_2.png) [@ana.mora](https://uzu.lurk.org/u/ana.mora)\
**Post date:** [6 April 2020 02:08 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/4 "2020-04-06T02:08:10Z")

</div>

Hello,

I’ve tried to install using the automated installations, but it seems that they are some errors. I have the version 10.15.4

```nohighlight
Warning: Some package(s) failed to build. Try rerunning with -j1 if you can't

see the error.

Failed to build blaze-builder-0.4.1.0. The failure occurred during the

configure step.

Build log (

/Users/alfonsinamora/.cabal/logs/ghc-8.6.5/blz-bldr-0.4.1.0-af16b40d.log ):

Configuring library for blaze-builder-0.4.1.0..

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

`gcc' failed in phase `C Compiler'. (Exit code: 1)

Failed to build base-orphans-0.8.2. The failure occurred during the configure

step.

Build log (

/Users/alfonsinamora/.cabal/logs/ghc-8.6.5/bs-rphns-0.8.2-1e2a10d1.log ):

Configuring library for base-orphans-0.8.2..

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

`gcc' failed in phase `C Compiler'. (Exit code: 1)

Failed to build cabal-doctest-1.0.8. The failure occurred during the configure

step.

Build log (

/Users/alfonsinamora/.cabal/logs/ghc-8.6.5/cbl-dctst-1.0.8-e54e25ea.log ):

Configuring library for cabal-doctest-1.0.8..

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

`gcc' failed in phase `C Compiler'. (Exit code: 1)

Failed to build clock-0.8. The failure occurred during the configure step.

Build log ( /Users/alfonsinamora/.cabal/logs/ghc-8.6.5/clck-0.8-112cf969.log

):

Configuring library for clock-0.8..

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

`gcc' failed in phase `C Compiler'. (Exit code: 1)

Failed to build colour-2.3.5. The failure occurred during the configure step.

Build log ( /Users/alfonsinamora/.cabal/logs/ghc-8.6.5/clr-2.3.5-73772319.log

):

Configuring library for colour-2.3.5..

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

`gcc' failed in phase `C Compiler'. (Exit code: 1)

cabal: Failed to build blaze-builder-0.4.1.0 (which is required by

tidal-1.4.8). See the build log above for details.

Failed to build base-orphans-0.8.2 (which is required by tidal-1.4.8). See the

build log above for details.

Failed to build cabal-doctest-1.0.8 (which is required by tidal-1.4.8). See

the build log above for details.

Failed to build clock-0.8 (which is required by tidal-1.4.8). See the build

log above for details.

Failed to build colour-2.3.5 (which is required by tidal-1.4.8). See the build

log above for details.

That is one thing, the other error seems to be in SC

Fetching https://github.com/supercollider-quarks/quarks.git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git a PrimitiveFailedError
ERROR: Quark 'SuperDirt' not found
CALL STACK:
	Exception:reportError
		arg this = <instance of Error>
	Nil:handleError
		arg this = nil
		arg error = <instance of Error>
	Thread:handleError
		arg this = <instance of Thread>
		arg error = <instance of Error>
	Object:throw
		arg this = <instance of Error>
	Meta_Quark:new
		arg this = <instance of Meta_Quark>
		arg name = "SuperDirt"
		arg refspec = nil
		arg url = nil
		arg localPath = nil
		var args = nil
	Meta_Quarks:install
		arg this = <instance of Meta_Quarks>
		arg name = "SuperDirt"
		arg refspec = nil
		var path = nil
		var quark = nil
	String:include
		arg this = "SuperDirt"
	< closed FunctionDef > (no arguments or variables)
	Interpreter:interpretPrintCmdLine
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "include("SuperDirt");"SuperD..."
		var doc = nil
		var ideClass = nil
	Process:interpretPrintCmdLine
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Quark 'SuperDirt' not found

```

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)\
**Post date:** [6 April 2020 07:33 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/5 "2020-04-06T07:33:26Z")

</div>

Hi @ana.mora,

This tends to fix this problem:

```bash
xcode-select --install

```

Possibly you might also need this:

```bash
xcode-select --reset

```

Hope that helps, let me know how it goes!

---

<div class="post-metadata">

**Author:** ![ana.mora](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ana.mora/32/96_2.png) [@ana.mora](https://uzu.lurk.org/u/ana.mora)\
**Post date:** [6 April 2020 13:28 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/6 "2020-04-06T13:28:25Z")

</div>

Thank you for your help. I think it was working pretty well. No error messages until I opened Atom.

I boot tidalCycles and the window below was fine I guess:  
Ghc-pkg command: /Users/alfonsinamora/.ghcup/bin/ghc-pkg  
Load BootTidal.hs from /Users/alfonsinamora/.atom/packages/tidalcycles/lib/BootTidal.hs  
Loaded package environment from /Users/alfonsinamora/.ghc/x86\_64-darwin-8.6.5/environments/default  
t\>  
t\>Listening for controls on 127.0.0.1:6010  
t\>  
Then when I tried to run the line d1 $ sound “bd sn” something went wrong.

Failed to send. Is the ‘SuperDirt’ target running? Network.Socket.sendBuf: does not exist (Connection refused)

Thank you once again and sorry for all the inconveniences.

---

<div class="post-metadata">

**Author:** ![heavy.lifting](https://uzu.lurk.org/user_avatar/uzu.lurk.org/heavy.lifting/32/150_2.png) [@heavy.lifting](https://uzu.lurk.org/u/heavy.lifting)\
**Post date:** [7 April 2020 16:33 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/7 "2020-04-07T16:33:40Z")

</div>

Hi @ana.mora - what happens when you run SuperDirt.start in SuperCollider?

---

<div class="post-metadata">

**Author:** ![ana.mora](https://uzu.lurk.org/user_avatar/uzu.lurk.org/ana.mora/32/96_2.png) [@ana.mora](https://uzu.lurk.org/u/ana.mora)\
**Post date:** [7 April 2020 17:06 UTC](https://uzu.lurk.org/t/mac-osx-new-install-cannot-start-tidal-on-mac-osx-catalina/192/8 "2020-04-07T17:06:00Z")

</div>

Thanks a lot! There was a file of SC in a wrong location, I put it in the right place. Now everything works !! Thanks @yaxu and @heavy.lifting for your help !!! Looking forward to start 🙂
