Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Description of problem or question:
Walking through the documentation for Building HandBrake for BSD, I get an "Illegal variable name" when I enter the command
What shell are you using? If FOO="bar" yields an error instead of setting the value of the variable FOO to bar, then there's a shell/system issue at play.
BradleyS wrote: ↑Sun Jul 26, 2020 5:09 am
What shell are you using? If FOO="bar" yields an error instead of setting the value of the variable FOO to bar, then there's a shell/system issue at play.
I honestly have no idea what you're reffering to. I've ssh'd into my server via Putty.
Putty is great. That said, the basic commands you are issuing are failing horribly for unknown reasons. I'm not sure what to suggest here, seems to be a shell and/or Putty settings issue.
Indeed, the documentation for FreeBSD is not written for C Shell (csh) but for Bourne Shell (sh). There's even a Bash-ism in the guide because I had some weird issue with the if statement IIRC (will try to fix with single brackets and patience eventually).
For now, a quick fix would be to install Bash Shell (pkg install bash) which is already listed as a requirement, then use Bash at least temporarily for the build. So your first command via Putty would be "bash" without the quotes, then the rest of the commands should work.