Building FFmpeg on RHEL4

↘锁芯ラ 提交于 2019-12-10 10:13:45

问题


StackOverflow has yet to fail me, so don't let me down this time!

I need to build FFmpeg on RHEL4 ... yes, 4!

The version of make on RHEL4 is 3.80, and the Makefile that ./configure generates when configuring FFmpeg does not seem to be compatible. When I make it throws a parse error every time.

This happens on pretty much every software pkg I try and build.

My applications group (at work) will not upgrade this machine, so please skip the suggestions to upgrade to RHEL5 or 6.

What are my options for installing FFmpeg?


回答1:


Your question specified that doing a proper upgrade (i.e., upgrading the system's GNU Make package) is out of the question. However, since you have privileges to the system C compiler, I recommend building GNU Make 3.82 (latest and greatest) and installing it in your home directory for personal use.

Software is at: http://mirrors.kernel.org/gnu/make/

Unpack it, configure, build, and install:

./configure --prefix=$HOME
make
make install

Note that the last step is not prefixed by 'sudo'. This will install 'make' as ~/bin/make. After configuring FFmpeg, call '~/bin/make` and everything should build fine.

I just tested this myself.



来源:https://stackoverflow.com/questions/9626960/building-ffmpeg-on-rhel4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!