[mythtv-users] Help compiling mythtv from svn on Fedora

John Nissley jnissley at nissley.org
Fri Aug 28 13:10:27 UTC 2009


On Wednesday 26 August 2009 23:31:09 Jarod Wilson wrote:
>/  On Wednesday 26 August 2009 22:16:19 John Nissley wrote:
/>/  >  I am running a Fedora 10 and Fedora 11 FE/BE combination.  I am now
/>/  >  interested in learning how to build from svn since there are aften some
/>/  >  fixes I would like to add but I have to wait until the next RPM build on
/>/  >  ATRPMS since I can not seem to figure out how to build it myself.
/>/  >
/>/  >  I found the Installing MythTV SVN on Fedora guide in the wiki but I can
/>/  >  not seem to complete the procedure.  I get the whole way to the qmake
/>/  >  line and then the build fails.
/>/  >
/>/  >  qmake PREFIX=/usr/local mythtv.pro
/>/  >  settings.pro:72: Unknown replace function: unique
/>/  >
/>/  >  Any ideas why this is happening or maybe another piece of documentation
/>/  >  that I can use?
/>/
/>/  Both ATrpms and RPM Fusion have svn trunk MythTV packages. Look at
/>/  their respective spec files for clues on how to build. There's also
/>/  a spec file in mythtv svn that more or less mirrors the RPM Fusion
/>/  svn trunk spec file.
/
Or run the script 'build_myth.sh' which builds the rpm packages for you.  It's
in trunk/packaging/rpm.  I prefer building rpms so it's easy to uninstall when
running trunk.  Just in case.  ;-)

-- Harry O.

-----------------------------------------------------------------------------------
I like the idea of building the RPM's because of the easy uninstall.  Thanks for
pointing that out and I have tried to do the RPM build and ran into some problems.
It appears that everything is going along fine until it reaches the vdpau section.
It appears that the vdpau include file is not present.

In file included from vdpau.c:32:
vdpau.h:47:25: error: vdpau/vdpau.h: No such file or directory
vdpau.h:48:29: error: vdpau/vdpau_x11.h: No such file or directory
In file included from vdpau.c:32:
vdpau.h:67: error: expected specifier-qualifier-list before 'VdpVideoSurface'
vdpau.c: In function 'ff_vdpau_h264_set_reference_frames':
vdpau.c:45: error: 'VdpReferenceFrameH264' undeclared (first use in this function)
vdpau.c:45: error: (Each undeclared identifier is reported only once
vdpau.c:45: error: for each function it appears in.)
vdpau.c:45: error: 'rf' undeclared (first use in this function)
vdpau.c:45: error: 'rf2' undeclared (first use in this function)
vdpau.c:52: error: 'struct vdpau_render_state' has no member named 'info'
vdpau.c:68: error: 'struct vdpau_render_state' has no member named 'info'
vdpau.c:71: error: 'struct vdpau_render_state' has no member named 'surface'
vdpau.c:79: error: 'VDP_TRUE' undeclared (first use in this function)

How to I resolve this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090828/febce728/attachment.htm>


More information about the mythtv-users mailing list