[mythtv] Re: Gentoo myth CVS ebuilds

Rob Rosenfeld mythtv.org at rosenfeld.to
Sun Nov 21 03:40:04 UTC 2004

Downloaded them and tried to emerge cvs mythtv today.

22:28:29 root (664) # ACCEPT_KEYWORDS="~x86" emerge -pv  mythtv

These are the packages that I would merge, in order:

Calculating dependencies   ...done!
[ebuild     U ] media-tv/mythtv-5 [0.16] +X +alsa -arts -cle266 -debug
-directfb -dvb -lcd +lirc +mmx +nls +nvidia +opengl +oss +xv 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/portage

22:28:41 root (665) #

1)  Had to add code to ebuild to disable vldXvMC in settings.pro.
Wouldn't compile on my system which makes sense cause I don't have via
anything and do want to use XvMC on my nvidia which settings.pro
indicates is a conflict.  The emerge died with a complaint about a
non-existent /usr/X11R6/include/X11/extensions/vldXvMC.h file.

        sed -e 's:CONFIG += using_xvmc using_xvmc_vld:#CONFIG +=
using_xvmc using_xvmc_vld:' \
                -e 's:DEFINES += USING_XVMC USING_XVMC_VLD:#DEFINES +=
                -e 's:EXTRA_LIBS += -lviaXvMC -lXvMC:#EXTRA_LIBS +=
-lviaXvMC -lXvMC:' \
                -i 'settings.pro' || die "disable vldXvMC failed"

2)  Ebuild still fails later on.  Can you help get past this?

g++ -c -pipe -Wall -W -O2 -march=athlon-xp -pipe -fomit-frame-pointer
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include
-I../libmythsamplerate -I../libmythsoundtouch -I/usr/qt/3/include -o
moc_lirc.o moc_lirc.cpp
rm -f libmyth-0.16.so.0.16.0 libmyth-0.16.so libmyth-0.16.so.0
g++ -Wl,-rpath,/usr/qt/3/lib -shared -Wl,-soname,libmyth-0.16.so.0 -o
libmyth-0.16.so.0.16.0 dialogbox.o lcddevice.o mythcontext.o
mythwidgets.o oldsettings.o remotefile.o settings.o themedmenu.o util.o
mythwizard.o uitypes.o xmlparse.o mythplugin.o mythdialogs.o
audiooutput.o inetcomms.o httpcomms.o mythmedia.o uilistbtntype.o
uiphoneentry.o generictree.o managedlist.o DisplayRes.o DisplayResX.o
volumecontrol.o volumebase.o audiooutputbase.o audiooutputoss.o
mythcdrom.o mythmediamonitor.o mythcdrom-linux.o audiooutputalsa.o
jsmenu.o jsmenuevent.o lirc.o lircevent.o screensaver-x11.o
moc_dialogbox.o moc_lcddevice.o moc_mythcontext.o moc_mythwidgets.o
moc_settings.o moc_themedmenu.o moc_mythwizard.o moc_uitypes.o
moc_mythdialogs.o moc_inetcomms.o moc_httpcomms.o moc_mythmedia.o
moc_uilistbtntype.o moc_uiphoneentry.o moc_managedlist.o moc_mythcdrom.o
moc_mythmediamonitor.o moc_jsmenu.o moc_lirc.o  -L/usr/qt/3/lib
-L/usr/X11R6/lib -L../libmythsamplerate -lmythsamplerate-0.16
-L../libmythsoundtouch -lmythsoundtouch-0.16 -lasound -llirc_client
-L/usr/X11R6/lib -lXinerama -lqt-mt -lXext -lX11 -lm -lpthread

cannot find -lmythsoundtouch-0.16
collect2: ld returned 1 exit status
make: *** [libmyth-0.16.so.0.16.0] Error 1
make: Leaving directory `/var/tmp/portage/mythtv-5/work/mythtv/libs/libmyth'

!!! ERROR: media-tv/mythtv-5 failed.
!!! Function src_compile, Line 179, Exitcode 2
!!! (no error message)

More information about the mythtv-dev mailing list