Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-03-2005, 03:25 AM   #1
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
ffmpeg srpm rpmbuild patch file?

hi all

i'm having a bit of trouble with ffmpeg, i need to build an rpm with some added plugin
and i followed the instructions on this page

the spec file can be found at

i'm having a problem with line 122 of the spec file

when i run rpmbuild it comes back asking me to patch a file
but i have no idea which one

does anyone know which file, or how i can find out which file to patch?
cos when i don't enter a file, it exits with an error

Old 08-04-2005, 07:25 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I could suggest you try this: if you don't have checkinstall, get it and install it. Then get the source package (tar.gz - check it to see if it includes the pluggin) and use checkinstall to run through the steps of installing the tarball. Select the option to write both a binary and source rpm. Then try to build from .src.rpm, or try installing the binary rpm.

The spec file you named clearly names three patch files. Check /usr/src/redhat/SOURCES to see if it contains the source tarball, and three patch files named in the spec file (patch0, patch2, and patch3). If you don't have them, find them and park them in the SOURCES directory with the tarball, then try again.

Your reference to line 122 of the spec file is vague, and I don't have the patience to count the lines, or try to extract the text from the html, then open in an editor which will show line numbers. In future, if you reference a line number, please also include a quote of the line. It'll help anyone who is trying to help you. Saves a lot of time.

Since rpmbuild bombed with an error message in re a patch file, it would also help if you copied the exact error message into your post

No offense intended; no flame intended. Just some things I've learned in trying to get info in re my owm problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with rpmbuild and template.spec file abefroman Linux - Software 0 11-27-2005 12:18 AM
ffmpeg srpm build error texi2html dtra Linux - Software 0 10-21-2005 12:39 AM
Looking for ggc4 ffmpeg patch FunkyRes Linux - Software 0 04-25-2005 09:52 AM
Problems with libpng not found when using rpmbuild on a .src file superduty455 Linux - Software 5 09-16-2004 03:15 PM
splitting large file - with ffmpeg or vcdimager zstingx Linux - General 2 11-02-2003 10:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration