On 12/27/2009 11:35 PM, Andrew Robinson wrote:
To try to fix this and preserve all the yum dependencies, I decided I
should download and build the source rpm. (Is this the best approach?) I
downloaded and installed ffmpeg-0.5-3.fc11.src.rpm, which matched the
version from 'rpm -qa | grep ffmpeg' on my system. Looking in the
ffmpeg.spec file, I found these lines:
%{?_with_faac:BuildRequires: faac-devel}
%{?_with_faac:--enable-libfaac --enable-nonfree} \\\
I uncommented those two lines and ran 'rpmbuild -ba ffmpeg.spec'. The
first time, it failed with a list of devel packages I needed. I
installed those with yum. Then it ran for a long time and then errorred
out at the end with these statements:
RPM build errors:
File not found by glob:
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/lib*.so.*
File not found by glob:
/root/rpmbuild/BUILDROOT/ffmpeg-0.5-3.fc11.i386/usr/lib/i686/lib*.so.*
Went back and looked at the ffmpeg.spec file. I realized that when I
uncommented the --enable-libfaac line, I also removed the triple back
slashes for the line continuation. I put those back and reran rpmbuild.
It worked this time. Sorry for wasting the bandwidth :).
Andrew Robinson
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines