好吧,所以我在互联网上上上下下想弄清楚我做错了什么……但我却身处荒野之中。我基本上是试图在我的FFmpeg专用服务器上安装CENTOS 6.6,方法是按照下面的说明:https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
在整个过程中,一切似乎都很顺利。当一切完成后,我输入"ffmpeg“按回车,然后继续得到这个极其丑陋的错误:
-bash:-bash::命令未找到
我不太喜欢shell,但是今天一整天都在用它,我可以说这意味着它的安装不正确。所以,我试着重新安装它,它告诉我现在所有的软件包都已经存在了.这里有一个副本,如果我正在做什么,我得到了什么:
root@server1 [~]# ffmpeg -version
-bash: ffmpeg: command not found
root@server1 [~]# yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel
Loaded plugins: fastestmirror, priorities, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: centos-distro.cavecreek.net
* updates: mirrors.easynews.com
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version
Package gcc-c++-4.4.7-11.el6.x86_64 already installed and latest version
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package nasm-2.07-7.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version
Nothing to do任何想法或帮助都是非常感谢的!
发布于 2015-02-11 23:55:40
好的,我注意到,我意识到有一个错误
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.因此,我刚刚创建了/tmp目录并运行了以下命令:
export TMPDIR=$HOME/tmp然后运行安装命令!
https://stackoverflow.com/questions/28466540
复制相似问题