-
Notifications
You must be signed in to change notification settings - Fork 88
./h265ize: 5: ./h265ize: declare: not found #1
Comments
Are you using the bash or sh shell? |
Try doing 'sh h265ize' instead of './h265ize'. |
both produced same error. Your script compatible with user without sudo? I havent tried run it with sudo yet |
I can't imagine anything that would require sudo. Just tried it on a user account. Worked just fine. Can you try running the command 'declare'. |
BTW, you aren't running this on any specialized hardware right, like a rasp pi or using cygwin? |
It shows many lines of codes |
Hmmm. Then it should be working. Is that all the output you get when you try running it? |
Yup. Only that. I reinstalled my server just to use your script😅 |
:( now I have to make sure you can get it running :D |
This is the full output. Hope it helps.
|
What output do you get when you run |
Is there something wrong ? T_T |
Lol. You definitely have a strange version of sh installed. Idk how in ubuntu but you might want to try to update sh. root@sparling ~ # sh --version
GNU bash, version 4.3.33(1)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. |
Im using Ubuntu 14.04.. You? |
Arch Linux. |
A quick fix might be changing the first line Edit: So ummm it's suppose to be Edit 2: I just changed it to bash. You shouldn't have any problems now. Redownload the script and tell me if your still having problems. |
Nice! You fix it. I did a search on google and turn out #! was the problem. Then I see you fix the code. |
I run this script as a normal user.Got this errors
The text was updated successfully, but these errors were encountered: