lanceseidman / PiCAST

PiCAST turns your $35 Raspberry Pi in to a Chromecast like Device.
https://munchron.com
1.77k stars 264 forks source link

picast on Ubuntu MATE 16.04 #33

Open tritonger opened 8 years ago

tritonger commented 8 years ago

I have an Ubuntu Mate 16.04 running on the Pi. I am using the setup.sh script to get picast intalled.

The script works fine, till it states the following error:

setup.sh: 63: read: Illegal option -n

setup.sh: 65: setup.sh: [[: not found

Maybe the read tool in ubuntu is different? "read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]"

Do you have any idea? (I am not the Linux pro, so sorry if the solution is trivial)

And when I try to start picast I get the following message:

user1@pi02:~/PiCAST$ /etc/init.d/picast start /usr/bin/env: ‘node’: No such file or director

The rights seems to be ok user1@pi02:~/PiCAST$ ls -lah /etc/init.d/ | grep picast -rwxr-xr-x 1 root root 360 Apr 29 15:29 pi

Do you have any idea?

In which path should this .cfg file, which is mentioned in the youtube tutorial has to be?

Cheers!

Aevyz commented 8 years ago

Did the installation work? Had a problem where the installation failed because I forgot to install Git (kinda embarrassing and ironic). The installation looked kind of normal if you were not paying attention. You might want to double check whether or not you installed Git.

Follow up: Did you install make?