我对复杂的配置相当陌生,并且正在尝试使用此处的说明在 amazon linux EC2 实例上设置 ffmpeg ...
http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat
...但是我在尝试以下行时碰壁了...
yum install glibc gcc gcc-c++ autoconf automake libtool
这是我遇到的错误...
Package matching glibc-2.5-107.x86_64 already installed. Checking for update.
Package matching autoconf-2.59-12.noarch already installed. Checking for update.
Package matching automake-1.9.6-2.3.el5.noarch already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-54.el5 will be installed
--> Processing Dependency: cpp = 4.1.2-54.el5 for package: gcc-4.1.2-54.el5.x86_64
Package cpp is obsoleted by cpp44, but obsoleting package does not provide for requirements
---> Package gcc-c++.x86_64 0:4.1.2-54.el5 will be installed
--> Processing Dependency: libstdc++ = 4.1.2-54.el5 for package: gcc-c++-4.1.2-54.el5.x86_64
--> Processing Dependency: libstdc++-devel = 4.1.2-54.el5 for package: gcc-c++-4.1.2-54.el5.x86_64
---> Package libtool.x86_64 0:1.5.22-7.el5_4 will be installed
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-54.el5 will be installed
--> Processing Dependency: cpp = 4.1.2-54.el5 for package: gcc-4.1.2-54.el5.x86_64
Package cpp is obsoleted by cpp44, but obsoleting package does not provide for requirements
---> Package gcc-c++.x86_64 0:4.1.2-54.el5 will be installed
--> Processing Dependency: libstdc++ = 4.1.2-54.el5 for package: gcc-c++-4.1.2-54.el5.x86_64
---> Package libstdc++-devel.x86_64 0:4.1.2-54.el5 will be installed
--> Processing Dependency: libstdc++ = 4.1.2-54.el5 for package: libstdc++-devel-4.1.2-54.el5.x86_64
--> Processing Dependency: /usr/lib64/libstdc++.so.6 for package: libstdc++-devel-4.1.2-54.el5.x86_64
--> Processing Dependency: /usr/lib64/libstdc++.so.6 for package: libstdc++-devel-4.1.2-54.el5.x86_64
--> Processing Conflict: gcc-4.6.2-1.8.amzn1.noarch conflicts libtool < 2.2.10-4.6.2
--> Processing Conflict: gcc-c++-4.6.2-1.8.amzn1.noarch conflicts libtool < 2.2.10-4.6.2
--> Finished Dependency Resolution
Error: Package: gcc-4.1.2-54.el5.x86_64 (centos)
Requires: cpp = 4.1.2-54.el5
Installed: cpp46-4.6.2-2.65.amzn1.x86_64 (@amzn-main)
cpp = 4.6.2-2.65.amzn1
Available: cpp-4.1.2-54.el5.x86_64 (centos)
cpp = 4.1.2-54.el5
cpp = 4.1.1-52.el5
Available: cpp44-4.4.6-4.77.amzn1.x86_64 (amzn-main)
cpp = 4.4.6-4.77.amzn1
Available: cpp47-4.7.0-5.68.amzn1.x86_64 (amzn-main)
cpp = 4.7.0-5.68.amzn1
Available: cpp47-4.7.2-2.69.amzn1.x86_64 (amzn-updates)
cpp = 4.7.2-2.69.amzn1
Error: Package: libstdc++-devel-4.1.2-54.el5.x86_64 (centos)
Requires: /usr/lib64/libstdc++.so.6
Available: libstdc++-4.1.2-54.el5.x86_64 (centos)
Not found
Error: gcc-c++ conflicts with libtool
Error: gcc conflicts with libtool
Error: Package: gcc-c++-4.1.2-54.el5.x86_64 (centos)
Requires: libstdc++ = 4.1.2-54.el5
Installed: libstdc++46-4.6.2-2.65.amzn1.x86_64 (@amzn-main)
libstdc++ = 4.6.2-2.65.amzn1
Installed: libstdc++47-4.7.2-2.69.amzn1.x86_64 (@amzn-updates)
libstdc++ = 4.7.2-2.69.amzn1
Available: libstdc++-4.1.2-54.el5.i386 (centos)
libstdc++ = 4.1.2-54.el5
libstdc++ = 4.1.1-52.el5
Available: libstdc++44-4.4.6-4.77.amzn1.i686 (amzn-main)
libstdc++ = 4.4.6-4.77.amzn1
Available: libstdc++47-4.7.0-5.68.amzn1.i686 (amzn-main)
libstdc++ = 4.7.0-5.68.amzn1
Error: Package: libstdc++-devel-4.1.2-54.el5.x86_64 (centos)
Requires: libstdc++ = 4.1.2-54.el5
Installed: libstdc++46-4.6.2-2.65.amzn1.x86_64 (@amzn-main)
libstdc++ = 4.6.2-2.65.amzn1
Installed: libstdc++47-4.7.2-2.69.amzn1.x86_64 (@amzn-updates)
libstdc++ = 4.7.2-2.69.amzn1
Available: libstdc++-4.1.2-54.el5.i386 (centos)
libstdc++ = 4.1.2-54.el5
libstdc++ = 4.1.1-52.el5
Available: libstdc++44-4.4.6-4.77.amzn1.i686 (amzn-main)
libstdc++ = 4.4.6-4.77.amzn1
Available: libstdc++47-4.7.0-5.68.amzn1.i686 (amzn-main)
libstdc++ = 4.7.0-5.68.amzn1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest