# Problem installing Tidal Cycles

**URL:** <https://forum.toplap.org/t/problem-installing-tidal-cycles/1297>\
**Category:** TidalCycles\
**Created:** [12 May 2020 06:17 UTC](https://forum.toplap.org/t/problem-installing-tidal-cycles/1297 "2020-05-12T06:17:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MegumiSoft](https://forum.toplap.org/user_avatar/forum.toplap.org/megumisoft/32/710_2.png) [@MegumiSoft](https://forum.toplap.org/u/MegumiSoft)\
**Post date:** [12 May 2020 06:17 UTC](https://forum.toplap.org/t/problem-installing-tidal-cycles/1297/1 "2020-05-12T06:17:59Z")

</div>

Hello, I’ve actually go just one issue when installing tidal but I just can’t figure out whats wrong if I performed all steps correctly, please help! I want to start so badly!  
thanks in advance.

this is the promt I get, haskell install all done, dunno what’s wrong.

PS C:\WINDOWS\system32\> cabal install tidal  
Resolving dependencies…  
Build profile: -w ghc-8.10.1 -O1  
In order, the following will be built (use -v for more details):

- network-3.1.1.1 (lib:network) (requires build)
- hosc-0.17 (lib) (requires build)
- tidal-1.4.9 (lib) (requires build)  
Starting network-3.1.1.1 (all, legacy fallback)

Failed to build network-3.1.1.1. The failure occurred during the configure  
step.  
Build log (  
C:\Users\SamuelGonzález\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-3d4d12ff250f7809f8fb1b66d00b9b19689c1bdc.log  
):  
Configuring network-3.1.1.1…  
cabal.exe: The package has a ‘./configure’ script. If you are on Windows, This  
requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. If you  
are not on Windows, ensure that an ‘sh’ command is discoverable in your path.

cabal.exe: Failed to build network-3.1.1.1 (which is required by tidal-1.4.9).  
See the build log above for details.

I realy want to start making music , lol, I’m sure you are the only one who can help me out whit this mess.

Best regards.

---

<div class="post-metadata">

**Author:** ![jwaldmann](https://forum.toplap.org/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jwaldmann](https://forum.toplap.org/u/jwaldmann)\
**Post date:** [12 May 2020 10:26 UTC](https://forum.toplap.org/t/problem-installing-tidal-cycles/1297/2 "2020-05-12T10:26:11Z")

</div>

The error message says

> If you are on Windows, This requires a Unix compatibility toolchain  
> such as MinGW+MSYS or Cygwin.

Do you have this?

From where did you install GHC? mingw might be included, as it is in [GHC 8.8.3 download — The Glasgow Haskell Compiler](https://www.haskell.org/ghc/download_ghc_8_8_3.html#windows64) . But that is only the compiler, you need extra tools, as in [Haskell Platform](https://www.haskell.org/platform/#windows)

Alternatively, use a docker container [GitHub - virtuaCode/docker-tidal: Docker-Compose setup for TidalCycles](https://github.com/virtuaCode/docker-tidal)

PS: some background here: GHC on MS-Windows has its (install) problems, and the core developers know about it: [#18104: More user-friendly Windows packaging · Issues · Glasgow Haskell Compiler / GHC · GitLab](https://gitlab.haskell.org/ghc/ghc/issues/18104) Industrial (paying) users seem to prefer Unix anyway, where all the tooling just works, so GHC developers focus on enhancing the compiler. - Paying? Yes, they sponsor developer time.

---

<div class="post-metadata">

**Author:** ![MegumiSoft](https://forum.toplap.org/user_avatar/forum.toplap.org/megumisoft/32/710_2.png) [@MegumiSoft](https://forum.toplap.org/u/MegumiSoft)\
**Post date:** [12 May 2020 22:36 UTC](https://forum.toplap.org/t/problem-installing-tidal-cycles/1297/3 "2020-05-12T22:36:51Z")

</div>

Hi, there thanks for the promt reply, I really appreciated, this error code has been driving me crazy \>-\>

I manually installed Cygwin as you recomended and that part of the error code disapeared, which is nice, I guess, but I still get that network buil failure, any Ideas of what could be wrong? I’ve uptaded haskell many times already to make sure it was properly installed.

promt:

PS C:\WINDOWS\system32\> cabal install tidal  
Resolving dependencies…  
Build profile: -w ghc-8.10.1 -O1  
In order, the following will be built (use -v for more details):

- network-3.1.1.1 (lib:network) (requires build)
- hosc-0.17 (lib) (requires build)
- tidal-1.4.9 (lib) (requires build)  
Starting network-3.1.1.1 (all, legacy fallback)

Failed to build network-3.1.1.1. The failure occurred during the configure  
step.  
Build log (  
C:\Users\SamuelGonzález\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-736b4596da292059fa9c4fc97025a47e7ac15be4.log  
):  
Configuring network-3.1.1.1…  
configure: error: invalid variable name: `"–prefix’  
cabal.exe: Failed to build network-3.1.1.1 (which is required by tidal-1.4.9).  
See the build log above for details.

also I’ve downloaded the GHC rar file to get the complier but I dunno where to paste that folder.

thanks in advance, have a nice one.

---

<div class="post-metadata">

**Author:** ![yaxu](https://forum.toplap.org/user_avatar/forum.toplap.org/yaxu/32/3_2.png) [@yaxu](https://forum.toplap.org/u/yaxu)\
**Post date:** [13 May 2020 14:06 UTC](https://forum.toplap.org/t/problem-installing-tidal-cycles/1297/4 "2020-05-13T14:06:37Z")

</div>

Hm, if you installed haskell-dev with choco, that really should come with everything you need for installing Tidal.

Did you try the process here?  
[https://www.haskell.org/platform/#windows](https://www.haskell.org/platform/#windows)

---

<div class="post-metadata">

**Author:** ![MegumiSoft](https://forum.toplap.org/user_avatar/forum.toplap.org/megumisoft/32/710_2.png) [@MegumiSoft](https://forum.toplap.org/u/MegumiSoft)\
**Post date:** [13 May 2020 19:55 UTC](https://forum.toplap.org/t/problem-installing-tidal-cycles/1297/5 "2020-05-13T19:55:29Z")

</div>

Thanks again for the reply, I’ve watched and shared your ted talk it was funny and interesting!

I did, I followed all steps promptly at least I think so, I tried to re-run choco install bypaassing the restriction policy and force haskell re-Installation (–force) then cabal install haskell and I keep getting same result.

I just noticed this warning whithin choco installatiion promt code, dunno if is a big deal or not,

ADVERTENCIA(warning in spanish): Not setting tab completion: Profile file does not exist at  
‘C:\Users\SamuelGonzález\Documents\WindowsPowerShell\Microsoft.PowerShell\_profile.ps1’.

and then the whole promt:

PS C:\WINDOWS\system32\> Get-ExecutionPolicy  
Bypass  
PS C:\WINDOWS\system32\> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘[https://chocolatey.org/install.ps1](https://chocolatey.org/install.ps1)’))  
Getting latest version of the Chocolatey package for download.  
Getting Chocolatey from [https://chocolatey.org/api/v2/package/chocolatey/0.10.15](https://chocolatey.org/api/v2/package/chocolatey/0.10.15).  
Extracting C:\Users\SAMUEL~1\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\SAMUEL~1\AppData\Local\Temp\chocolatey\chocInstall…  
Installing chocolatey on this machine  
Creating ChocolateyInstall as an environment variable (targeting ‘Machine’)  
Setting ChocolateyInstall to ‘C:\ProgramData\chocolatey’  
WARNING: It’s very likely you will need to close and reopen your shell  
before you can use choco.  
Restricting write permissions to Administrators  
We are setting up the Chocolatey package repository.  
The packages themselves go to ‘C:\ProgramData\chocolatey\lib’  
(i.e. C:\ProgramData\chocolatey\lib\yourPackageName).  
A shim file for the command line goes to ‘C:\ProgramData\chocolatey\bin’  
and points to an executable in ‘C:\ProgramData\chocolatey\lib\yourPackageName’.

Creating Chocolatey folders if they do not already exist.

WARNING: You can safely ignore errors related to missing log files when  
upgrading from a version of Chocolatey less than 0.9.9.  
‘Batch file could not be found’ is also safe to ignore.  
‘The system cannot find the file specified’ - also safe.  
ADVERTENCIA: Not setting tab completion: Profile file does not exist at  
‘C:\Users\SamuelGonzález\Documents\WindowsPowerShell\Microsoft.PowerShell\_profile.ps1’.  
Chocolatey (choco.exe) is now ready.  
You can call choco from anywhere, command line or powershell by typing choco.  
Run choco /? for a list of functions.  
You may need to shut down and restart powershell and/or consoles  
first prior to using choco.  
Ensuring chocolatey commands are on the path  
Ensuring chocolatey.nupkg is in the lib folder  
PS C:\WINDOWS\system32\> choco  
Chocolatey v0.10.15  
Please run ‘choco -?’ or ‘choco -?’ for help menu.  
PS C:\WINDOWS\system32\> cabal user-config init -f  
Writing default configuration to  
C:\Users\SamuelGonzález\AppData\Roaming\cabal\config  
PS C:\WINDOWS\system32\> choco install haskell-dev  
Chocolatey v0.10.15  
Installing the following packages:  
haskell-dev  
By installing you accept licenses for the packages.  
haskell-dev v0.0.1 already installed.  
Use --force to reinstall, specify a version to install, or try upgrade.

Chocolatey installed 0/1 packages.  
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:

- haskell-dev - haskell-dev v0.0.1 already installed.  
Use --force to reinstall, specify a version to install, or try upgrade.

Did you know the proceeds of Pro (and some proceeds from other  
licensed editions) go into bettering the community infrastructure?  
Your support ensures an active community, keeps Chocolatey tip top,  
plus it nets you some awesome features!  
[https://chocolatey.org/compare](https://chocolatey.org/compare)  
PS C:\WINDOWS\system32\> choco install haskell-dev --force  
Chocolatey v0.10.15  
Installing the following packages:  
haskell-dev  
By installing you accept licenses for the packages.  
haskell-dev v0.0.1 already installed. Forcing reinstall of version ‘0.0.1’.  
Please use upgrade if you meant to upgrade to a new version.  
Progress: Downloading haskell-dev 0.0.1… 100%

haskell-dev v0.0.1 (forced) [Approved]  
haskell-dev package files install completed. Performing other installation steps.  
The install of haskell-dev was successful.  
Software install location not explicitly set, could be in package or  
default install location if installer.

Chocolatey installed 1/1 packages.  
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).  
PS C:\WINDOWS\system32\> refreshenv  
Refreshing environment variables from registry for cmd.exe. Please wait…Finished…  
PS C:\WINDOWS\system32\> cabal install tidal  
Resolving dependencies…  
Build profile: -w ghc-8.10.1 -O1  
In order, the following will be built (use -v for more details):

- network-3.1.1.1 (lib:network) (requires build)
- hosc-0.17 (lib) (requires build)
- tidal-1.4.9 (lib) (requires build)  
Starting network-3.1.1.1 (all, legacy fallback)

Failed to build network-3.1.1.1. The failure occurred during the configure  
step.  
Build log (  
C:\Users\SamuelGonzález\AppData\Roaming\cabal\logs\ghc-8.10.1\network-3.1.1.1-3d4d12ff250f7809f8fb1b66d00b9b19689c1bdc.log  
):  
Configuring network-3.1.1.1…  
cabal.exe: The package has a ‘./configure’ script. If you are on Windows, This  
requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. If you  
are not on Windows, ensure that an ‘sh’ command is discoverable in your path.

cabal.exe: Failed to build network-3.1.1.1 (which is required by tidal-1.4.9).  
See the build log above for details.

Thats the whole promt of the process I just ran, I hope I’m not giving you a big headache with this problem , thanks in Advance !
