一半君的总结纸

听话只听一半君

CentOS 7 从源码安装最新版 vlc (失败)

加了几个repo都还没有,也许7太新了

configure的时候出现错误提示

gcc: error: unrecognized command line option '-fforce-mem'

整蛊半天失败了..最后还是老老实实用了搜到的一个Nux! Dektop repo

运行如下命令添加repo

rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

之后就可以

yum install vlc

参考:
cc1: error: unrecognized command line option “-fforce-mem”

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: