can't compile me-tv-0.8.10 on Fedora 10

Asked by Martin on 2009-05-08

Hi,
I can't compile me-tv-0.8.10 on Fedora 10, the following error message appears:

main_window.cc: In member function 'void MainWindow::create_engine()':
main_window.cc:833: error: cannot allocate an object of abstract type 'XineLibEngine'
xine_lib_engine.h:33: note: because the following virtual functions are pure within 'XineLibEngine':
engine.h:48: note: virtual void Engine::set_subtitle_stream(gint)
main_window.cc:845: error: cannot allocate an object of abstract type 'LibGStreamerEngine'
lib_gstreamer_engine.h:32: note: because the following virtual functions are pure within 'LibGStreamerEngine':
engine.h:48: note: virtual void Engine::set_subtitle_stream(gint)

me-tv-0.8.7 compiles fine and work on Fedora 10 !

installed xine packages:
# rpm -qa |grep xine
xine-lib-devel-1.1.16.3-2.fc10.i386
xine-0.99.5-5.fc10.i386
xine-lib-1.1.16.3-2.fc10.i386

Configure summary:

 Source code location .......: .
 Compiler ...................: gcc
 Compiler flags .............: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
 Enable compile warnings ....: minimum
 Enable more warnings .......: no
 Extra Compiler Warnings ....: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -Wno-unused
 Debug support ..............: no
 Installing into prefix .....: /usr

Optional engines support:
 xine engine ................: yes
 libvlc engine ..............: no
 MPlayer engine .............: no
 xine-lib engine ............: yes
 GStreamer library engine ...: yes

Type make to build Me TV 0.8.10

used gcc version:
gcc-4.3.2-7.i386
and
gstreamer-devel-0.10.21-2.fc10.i386

thanks for any help.

Question information

Language:
English Edit question
Status:
Solved
For:
Me TV Edit question
Assignee:
No assignee Edit question
Solved by:
Martin
Solved:
2009-05-08
Last query:
2009-05-08
Last reply:
2009-05-08
Scott Evans (vk7hse) said : #1

This compiles just fine on ubuntu 9.04!

is there any differences in the versions of dependent packages required?

although there are issues with versions 0.8.8 & 0.8.9 do they build ok? (don't install)

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Martin (m-gansser) said : #2

me-tv-0.8.7 is the highest version that compile no newer one.
used configure command is:
./configure --enable-xine-lib-engine --enable-libgstreamer-engine

I can confirm that the those engines don't compile in 0.8.10 and I'll try and fix them for 0.8.11.

You do realize that they are experimental and not supported, right? They are really there for developers to try and get working if they want. I don't recommend distributing them in a end-user package although of course you are free to do whatever you want.

That should be fixed in revision 429 of the development branch.

Martin (m-gansser) said : #5

great, me-tv-0.8.11 solves the problem.
Thanks
Martin

Scott Evans (vk7hse) said : #6

I still think that your problem lies with GCC 4.4, can you attempt to
build using GCC 4.3 and report back...

Although, I have built this using kamric repo in pbuilder and all
compiled just fine (karmic uses GCC 4.4) so as another suggestion, is
there an equivalent to Debian's Alien in Fedora?

Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 74639624

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.