好的,所以我上下互联网试图找出我做错了什么......然而我却无处可去。 我基本上是按照此处的说明在 CENTOS 6.6 专用服务器上安装 FFmpeg :https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
在整个过程中,一切似乎都很顺利。当它全部完成后,我输入" ffmpeg"点击输入并继续得到这个非常难看的错误:
-bash:-bash :: command not found
我不是一个贝壳家伙,但今天整天都在使用它,我可以说这意味着它没有正确安装。所以,我尝试重新安装它,它告诉我现在所有的包已经存在......如果我正在做什么以及我得到什么,这是一个副本:
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
非常感谢任何想法或帮助!
答案 0 :(得分:1)
好的,在多注意之后,我意识到发生了错误
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
然后运行安装命令!