Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9141 closed patch (Invalid)

0.24rc1 build fails with --enable-ffmpeg

Reported by: jonno.conder@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no


I am preparing to take over maintenance of the mythtv packages for my distribution (Arch Linux), which until now have used the --enable-ffmpeg switch. I encountered some errors while building, so I thought I'd forward the fixes here. Turns out the --enable-ffmpeg switch isn't needed anyway (I think... please let me know if that isn't the case), but just in case someone wants to use it, this might save them some work.

There might be a cleaner solution than what I've done, but I'll leave that up to you. The two problems were that SRC_DIR was being used incorrectly in the FFmpeg makefile, so it didn't find any ffpreset files and so $(INSTALL) $(DATA_FILES) failed with a syntax error. The other issue is that FFMPEG_VERSION was being set to "SOURCE_VERSION="0.24rc1"", which caused some syntax errors in the FFmpeg source code.

Attachments (1)

build.patch (1.2 KB) - added by jonno.conder@… 10 years ago.
patch to fix build problems

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by jonno.conder@…

Attachment: build.patch added

patch to fix build problems

comment:1 Changed 10 years ago by robertm

Resolution: Invalid
Status: newclosed

--enable--ffmpeg isn't part of out ./configure --help output. Sounds like whoever had the packages before you got too clever for his or her own good, and decided to start enabling options from the portion of the configure script we inherit from ffmpeg. That switch is not (and won't be) supported.

comment:2 Changed 10 years ago by anonymous

Ok, thanks

Note: See TracTickets for help on using tickets.