[mythtv-users] .19 -lGL issue
Robert Denier
rdenier at finiteinfinity.org
Sun Feb 26 09:59:39 UTC 2006
The test system was a standard .18.1 system running gentoo linux on an amd
cpu. I can submit more details later if needed.
emerge -pv mythtv-0.19-r1.ebuild
yields the following:
[snip]
[ebuild U ] media-tv/mythtv-0.19-r1 [0.18.1-r2] +alsa (-altivec) +arts
-dbox2 -debug -dvb +dvd +frontendonly -ieee1394 -jack -joystick -lcd +lirc
+mmx -nvidia +oggvorbis -opengl* +oss -unichrome 0 kB
[ebuild N ] x11-themes/mythtv-themes-0.19 0 kB
Yes, I have deliberately put in a -opengl USE variable since I was getting an
error related to opengl when I tried to emerge it originally. Unfortunately,
even with the USE keyword I get a log that ends with the partial emerge log
that follows at the end.
I'm reasonably certain that if I had used a standard xorg ebuild then this
probably wouldn't have happened since i emerged it sucessfully on another
machine, but I was using an ATI radeon 7000 video card in this machine that I
had built xorg with patches to support its tv output feature.
I suppose the question is, whether or not opengl is required for myth, and if
so, then I guess that USE keyword is not something you can disable.
FYI: eselect opengl list
yields just the ati option. I'd presume if i had used a normal ebuilt to get
xorg-x11 the xorg-x11 option would be there, and maybe this would have
worked. I'm guessing one solution is to give up on the ATI cards and pick up
a couple fx5200 cards.
At any rate, if anyone thinks of an answer, I'd definitely be curious to hear
it. I will probably order a fx5200 tomorrow anyway though, since they are
not too high, and, well, not having to use a specially compiled and patched
version of xorg-x11 does make things a little easier regardless.
-Robert Denier
-----
[tail end of emerge log]
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../.. -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcodec -I/usr/qt/3/include -o
CommDetectorFactory.o CommDetectorFactory.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../.. -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcodec -I/usr/qt/3/include -o
CommDetectorBase.o CommDetectorBase.cpp
/usr/qt/3/bin/moc CommDetectorBase.h -o moc_CommDetectorBase.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../.. -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcodec -I/usr/qt/3/include -o
moc_CommDetectorBase.o moc_CommDetectorBase.cpp
/usr/qt/3/bin/moc SlotRelayer.h -o moc_SlotRelayer.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../.. -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcodec -I/usr/qt/3/include -o
moc_SlotRelayer.o moc_SlotRelayer.cpp
/usr/qt/3/bin/moc CustomEventRelayer.h -o moc_CustomEventRelayer.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../.. -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcodec -I/usr/qt/3/include -o
moc_CustomEventRelayer.o moc_CustomEventRelayer.cpp
g++ -o mythcommflag main.o ClassicCommDetector.o CommDetectorFactory.o
CommDetectorBase.o moc_CommDetectorBase.o moc_SlotRelayer.o
moc_CustomEventRelayer.o -L/usr/qt/3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libavformat -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19
-lmythavcodec-0.19 -lmyth-0.19 -lfreetype -lmp3lame -lasound -ldvdnav
-L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lXext -lX11 -lm
-lpthread
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythcommflag'
cd mythtvosd && /usr/qt/3/bin/qmake mythtvosd.pro "QMAKE=/usr/qt/3/bin/qmake"
-o Makefile
cd mythtvosd && make -f Makefile
make[2]: Entering directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythtvosd'
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs/libmyth -I/usr/qt/3/include -o
main.o main.cpp
g++ -o mythtvosd main.o -L/usr/qt/3/lib -lfreetype -lmp3lame -lasound
-ldvdnav -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lXext
-lX11 -lm -lpthread
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythtvosd'
cd mythjobqueue && /usr/qt/3/bin/qmake mythjobqueue.pro
"QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd mythjobqueue && make -f Makefile
make[2]: Entering directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythjobqueue'
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/include -I/usr/include -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../.. -I../../libs/libavutil
-I../../libs/libavformat -I../../libs/libavcodec -I/usr/qt/3/include -o
main.o main.cpp
g++ -o mythjobqueue main.o -L/usr/qt/3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libavformat -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19
-lmythavcodec-0.19 -lmyth-0.19 -lfreetype -lmp3lame -lasound -ldvdnav
-L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lXext -lX11 -lm
-lpthread
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythjobqueue'
cd mythuitest && /usr/qt/3/bin/qmake mythuitest.pro
"QMAKE=/usr/qt/3/bin/qmake" -o Makefile
cd mythuitest && make -f Makefile
make[2]: Entering directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythuitest'
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I../../libs/libmythui -I../../libs/libmyth -I/usr/include -I/usr/include
-I/usr/qt/3/include -I/usr/include -I/usr/include -o main.o main.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I../../libs/libmythui -I../../libs/libmyth -I/usr/include -I/usr/include
-I/usr/qt/3/include -I/usr/include -I/usr/include -o test1.o test1.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I../../libs/libmythui -I../../libs/libmyth -I/usr/include -I/usr/include
-I/usr/qt/3/include -I/usr/include -I/usr/include -o btnlisttest.o
btnlisttest.cpp
/usr/qt/3/bin/moc test1.h -o moc_test1.cpp
g++ -c -pipe -march=athlon-xp -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I../../libs/libmythui -I../../libs/libmyth -I/usr/include -I/usr/include
-I/usr/qt/3/include -I/usr/include -I/usr/include -o moc_test1.o
moc_test1.cpp
g++ -o mythuitest main.o test1.o btnlisttest.o moc_test1.o -L/usr/qt/3/lib
-L../../libs/libmyth -L../../libs/libmythui -lmythui-0.19 -lmyth-0.19
-lfreetype -lmp3lame -lasound -ldvdnav -L/usr/X11R6/lib -lXinerama -lXv
-lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [mythuitest] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs/mythuitest'
make[1]: *** [sub-mythuitest] Error 2
make[1]: Leaving directory
`/var/tmp/portage/mythtv-0.19-r1/work/mythtv-0.19/programs'
make: *** [sub-programs] Error 2
!!! ERROR: media-tv/mythtv-0.19-r1 failed.
!!! Function src_compile, Line 173, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status
message.
More information about the mythtv-users
mailing list