FFmpeg installation problem on the Linux
Jun 12If you are installing ffmpeg from the SVN and getting the following error log after running ./configure:
./configure
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that /tmp is not mounted
noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file “config.err” produced by configure as this will help
solving the problem.
This means that your /tmp directory has noexec flag and you need to disable it for a while.
Check your /etc/fstab
and locate /tmp
It probably shows something similar below:
LABEL=/tmp /tmp ext3 defaults,noexec,nosuid 1 2
Remove noexec and it should be something like:
LABEL=/tmp /tmp ext3 defaults,nosuid 1 2
Issue
umount /tmp && mount /tmp
And you are set, proceed with the installation of ffmpeg.
If you are getting the following error after running umount and/or mount:
umount: /tmp: device is busy
Then some process is having a file handle open to /tmp directory. You will need to shutdown the daemon before issuing mount commands ukviagras.com.
Filed under: Tips by Linux Admin
If you can’t figure out why /tmp is busy and you can’t unmount and mount it – then I guess you need to reboot after you have removed noexec option in /etc/fstab
Enjoy!
There are ways to install ffmpeg for Fedora, RedHat ES, Centos using pre-compiled RPM’s.
It is very simple… if you are installing as root, make sure you have /root/tmp (you should) and just run
export TMPDIR=$HOME/tmp
before you do your
./configure
make
make install
Good Luck!
thanks for your help, help-me so much.
Thank you so much! Worked for me.