eurorack-blocks icon indicating copy to clipboard operation
eurorack-blocks copied to clipboard

Eurorack-blocks for Max doesn't build properly on macOS Monterey "bash: erbb: command not found"

Open ohmtech-rdi opened this issue 3 years ago • 6 comments

gen~: exported: Macintosh HD:/Users/raf/dev/eurorack-blocks/test/max/artifacts/module_max.cpp
node.script: Build starting
node.script: module: /Users/raf/dev/eurorack-blocks/test/max/
node.script: Error: bash: erbb: command not found
node.script: Error: bash: erbb: command not found
node.script: child process exited with code 127

ohmtech-rdi avatar Aug 07 '22 13:08 ohmtech-rdi

On macOS Monterey, zsh is used by default. But Max still uses bash.

We need to source our environment with the PATH to erbb. So not only we have to fill .zshrc but also .bash_profile in the Max case.

ohmtech-rdi avatar Aug 07 '22 13:08 ohmtech-rdi

Do you have any objections in having fish support?

ricardomatias avatar Dec 20 '22 15:12 ricardomatias

Hi @ricardomatias !

Thanks for the suggestion. I'm not sure exactly on how this could address this issue regarding Max. Could you please elaborate on that?

If this is a general suggestion, I'll be happy to make a new issue for you on this topic.

Please keep us posted. Thanks!

ohmtech-rdi avatar Dec 20 '22 19:12 ohmtech-rdi

It's at most tangentially related, so more of a general suggestion :) Best to open a new issue.

ricardomatias avatar Dec 26 '22 17:12 ricardomatias

Please don't hesitate to open it yourself, as you can probably put more details than me, or otherwise tell me to do it for you. Thanks!

ohmtech-rdi avatar Dec 26 '22 21:12 ohmtech-rdi

Type this command in a bash shell: chsh -s /bin/zsh It will switch your shell from bash to zsh, then no more error from max environment. Everything seems to build correctly.

OmsInSerial avatar Jan 03 '23 11:01 OmsInSerial