Giter VIP home page Giter VIP logo

tidal-bootstrap's People

Contributors

davidgranstrom avatar highharmonics2 avatar kendfss avatar ndr-brt avatar vism2889 avatar yaxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tidal-bootstrap's Issues

Does homebrew still support haskell-platform?

I got following error trying to install haskell-platform on OSX

brew install haskell-platform
Error: No available formula with the name "haskell-platform"
We no longer package haskell-platform. Consider installing ghc,
cabal-install and stack instead:
brew install ghc cabal-install stack

Should the script need an update?

Select right supercollider version for mac

There are currently two different supercollider versions available for Mac, you have to pick the correct one. There is 'Mac OS 10.13 and later', and 'legacy' for supercollider 3.12.1.

Currently the installer is picking an older 3.11.2, for bigsur. It seems this doesn't work on the newest macos installs.

Currently it is installing a .zip. The newer packages are .dmgs. I don't know how to install these from the command line and don't have a mac to test.

So it would be great if someone could at minimum create and test two bootstrap scripts, one that installs the legacy supercollider, and one that installs the other one. Of course it should also install the sc3-plugins to match.

In a perfect world there would just be one script, that would check the OS version and install the right files.

Script doesn't work without sudo

Not sure if it's the way that homebrew was installed on this computer way back when, but the script doesn't work unless I run it under sudo. Here's the error I get:

fatal: could not create leading directories of '/usr/local/Library/Taps/caskroom/homebrew-cask': Permission denied
Could not setup brew cask, quitting.

python version?

having trouble using the install script, mainly getting this output:

File "/Users/morganvisnesky/Downloads/davidgranstrom-tidal-bootstrap-55b6864/tidal-bootstrap.command", line 77
    print "Please respond with 'yes' or 'no'"
                                            ^
SyntaxError: Missing parentheses in call to 'print'
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Guessing it's because I have my machine defaulting to python3.6?
Is there a way around this? Thanks for your time!

Missing brackets in print function

Reported from: #3

Traceback (most recent call last):
File "./tidal-bootstrap.command", line 283, in 
main()
File "./tidal-bootstrap.command", line 279, in main
check_packages()
File "./tidal-bootstrap.command", line 175, in check_packages
+ "Sorry, all packages could not be installed"
TypeError: bad operand type for unary +: 'str'

Make installation more robust

There are hopefully improvements with the latest script but still getting reports of problems, lets use this thread to field them

Move to tidalcycles org?

This script is great but needs a tweak, I think to install haskell core rather than haskell platform.

I'm wondering though whether it'd better to move it under the tidalcycles org at this point for community support there? I have a feeling we discussed this before on the tidal slack room (now a rocketchat room on http://talk.lurk.org).

does not add haskel env to zsh

This section of the bootstrap script will download haskell and add its commands to the path for bash, but not zsh, the default shell in MacOS Catalina.

#### CHECK FOR HASKELL
if [ -e ~/.ghcup/bin/cabal ]; then
printf "$COLOR_PURPLE[2]$normal Haskell found, skipping install of that...\n"
else
printf "$COLOR_PURPLE[2]$normal Installing Haskell (via 'ghcup')...\n"
curl https://get-ghcup.haskell.org -sSf | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh 2>&1 > /tmp/ghcup-install.log
if [ $(grep -c ghcup ~/.bashrc) -ne 0 ]; then
printf "$COLOR_PURPLE[2.1]$normal Adding ghcup initialisation to ~/.bashrc...\n"
echo '. $HOME/.ghcup/env' >> "$HOME/.bashrc"
fi
fi

Be smarter about SuperCollider.app location

Many users drag and drop the SuperCollider directory (which contains SuperCollider.app) into Applications. The install script does traverse sub dirs in Applications, maybe make an exception if it finds a SuperCollider/ dir.

Bootstrap script doesn't set up PATH correctly in fish shell

I use fish as my default shell and the bootstrap script does not set the path or Haskell environment

I note this comment:

## Haskell install assumes .bashrc with macOS no .bashrc or .zshrc is created

I think something needs to be added to these lines for the fish shell case:

echo 'source ${HOME}/.ghcup/env' >> "${HOME}/.bashrc"
echo 'source ${HOME}/.ghcup/env' >> "${HOME}/.zshrc"

I was able to hack mine by adding

set PATH $HOME/.ghcup/bin $PATH

to then end of my config.fish

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.