FFMPEG installation failed with following error.
—-
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
—-
Tried the normal fix.
—-
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
export: Command not found.
—-
On further investigation, noticed that server was using tcsh shell. All shells don’t support ‘export’. For example, bash shell support it, but ‘tcsh’ dont support.
You can use command ‘setenv’ in cases like this.
setenv TMPDIR /usr/local/src/tmp
Hope this helps.