我看到了这个教程,但无法让它工作
https://medium.com/ken-m-lai/how-to-install-ffmpeg-on-openshift-d975a6a91d9e#.wvsok37v1
这一步失败了:
cd ffmpeg-2.0.1
make
make install
make
命令和 make install
说找不到一些文件:
Makefile:2: config.mak: No such file or directory
Makefile:48: /common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /library.mak: No such file or directory
Makefile:168: /doc/Makefile: No such file or directory
Makefile:169: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
两者都抛出相同的错误。 任何人都知道如何在 Openshift 上安装 FFMPEG 或如何解决此错误?
最佳答案
1) Type './configure' to create the configuration. A list of configure options is printed by running 'configure --help'.
'configure' can be launched from a directory different from the FFmpeg sources to build the objects out of tree. To do this, use an absolute path when launching 'configure', e.g. '/ffmpegdir/ffmpeg/configure'.
2) Then type 'make' to build FFmpeg. GNU Make 3.81 or later is required.
3) Type 'make install' to install all binaries and libraries you built.
NOTICE
- Non system dependencies (e.g. libx264, libvpx) are disabled by default.
如果您阅读了 INSTALL 自述文件,它说要先运行 ./configure
,您做到了吗?
我没有办法对此进行测试,但查看文件的来源,它似乎在某个时候创建了 config.mak
关于linux - 如何在 Openshift 中安装 FFMPEG?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38556391/