Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in bash nsynth-setup.sh #21

Closed
SarahHopeB opened this issue Apr 4, 2018 · 3 comments
Closed

Error in bash nsynth-setup.sh #21

SarahHopeB opened this issue Apr 4, 2018 · 3 comments

Comments

@SarahHopeB
Copy link

Hi there,
I'm building one of these and following along with the readme: https://github.com/googlecreativelab/open-nsynth-super/blob/master/linux/readme.md

I'm having an issue on Step 6. All other steps were completed without error. However, on the Raspberry Pi when executing
$ bash nsynth-setup.sh

I receive four errors:
line 11: $'\r': command not found
line 12: $'\r: command not found
line 13: syntax error near unexpected token '$' {\r''
line 13: 'setup_audio() {

and then it returns...

One thing that it different from the instructions is that i've copied over the directory structure open-nsynth-super/ and not open-nsynth-super-master/ as I've been unable to locate that...?

Any help would be most appreciated.

@SarahHopeB
Copy link
Author

I had a hunch given the errors that it had to do with my line ending configuration used when I cloned the repo with git... I ended up using web browser instead to download zip package of repo from github. Once I did this (open-nsynth-super-master was the downloaded package). I was able to scp the package over to the Pi and execute the $ bash nsynth-setup.sh step.

Will update shortly once I work thru some of the errors in execution (all related right now to local network being used and packages not downloading, etc..)

@SarahHopeB
Copy link
Author

OK, quick update. After resolving network hiccup and getting nsynth-setup.sh to start pulling packages it continuously failed on cloning openocd. After digging into a bit I found that the primary openocd git repo was in fact unavailable (Couldn't get to it from two other machines either). So, I manually went thru process of pulling from this mirror source and working thru the config/make options (really, just copying from the nsynth-setup.sh script) --> http://repo.or.cz/r/openocd.git

I'm now in the process of scp'ing over the onss_lite_audio package to the Pi. Considering this issue closed.

Thanks!

@nsynthsuper
Copy link
Collaborator

Thanks for the update Sarah and good to know about the repo, will mark as closed for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants