[mythtv-users] Compiling

Mitch Gore mitchell.gore at gmail.com
Sat Jul 14 20:52:50 UTC 2007


hi,

I am trying to compile mythtv svn for the first time to get my SA4250HDC
firewire channel changer to work.  (tkt#3727).  I am following the guides to
upgrade to svn from fedora core rpms.  what i do a make command i get this:

[myth at mythtv mythtv]$ make
cd libs && make -f Makefile
make[1]: Entering directory `/home/myth/mythtv_build/mythtv/libs'
cd libavutil && make -f Makefile
make[2]: Entering directory `/home/myth/mythtv_build/mythtv/libs/libavutil'
qmake "PREFIX=/usr" -o Makefile libavutil.pro
/bin/sh: qmake: command not found
make[2]: *** [Makefile] Error 127
make[2]: Leaving directory `/home/myth/mythtv_build/mythtv/libs/libavutil'
make[1]: *** [sub-libavutil] Error 2
make[1]: Leaving directory `/home/myth/mythtv_build/mythtv/libs'
make: *** [sub-libs] Error 2
[myth at mythtv mythtv]$


How do i get qmake in my users path?  if i log in as root i can get qmake to
work:

[root at mythtv mythtv]# make
cd libs && make -f Makefile
make[1]: Entering directory `/home/myth/mythtv_build/mythtv/libs'
cd libavutil && make -f Makefile
make[2]: Entering directory `/home/myth/mythtv_build/mythtv/libs/libavutil'
qmake "PREFIX=/usr" -o Makefile libavutil.pro
make[2]: Leaving directory `/home/myth/mythtv_build/mythtv/libs/libavutil'
make[2]: Entering directory `/home/myth/mythtv_build/mythtv/libs/libavutil'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/myth/mythtv_build/mythtv/libs/libavutil'
cd libavcodec && make -f Makefile
make[2]: Entering directory `/home/myth/mythtv_build/mythtv/libs/libavcodec'
qmake "PREFIX=/usr" -o Makefile libavcodec.pro
make[2]: Leaving directory `/home/myth/mythtv_build/mythtv/libs/libavcodec'
make[2]: Entering directory `/home/myth/mythtv_build/mythtv/libs/libavcodec'
gcc -c -pipe -march=pentium4 -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -w -fomit-frame-pointer
-O3 -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
-DHAVE_XVMC -DHAVE_XVMC_VLD -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/lib/qt-3.3/mkspecs/default -I. -I.. -I../.. -I../libavutil
-I../libswscale -I/usr/lib/qt-3.3/include -o xvmcvideo.o xvmcvideo.c
In file included from xvmcvideo.c:43:
xvmc_render.h:12:34: error: X11/extensions/Xvlib.h: No such file or
directory
xvmc_render.h:13:36: error: X11/extensions/XvMClib.h: No such file or
directory
make[2]: *** [xvmcvideo.o] Error 1
make[2]: Leaving directory `/home/myth/mythtv_build/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/home/myth/mythtv_build/mythtv/libs'
make: *** [sub-libs] Error 2
[root at mythtv mythtv]#


but it says i getting xvmc errors.  Is it ok to compile as root?

What are these xvmc errors.

here is the ./configure statement i am using:
./configure --prefix=/usr/local --enable-directx --enable-xvmc
--enable-xvmc-opengl --enable-opengl-vsync --enable-hdhomerun --enable-lirc
--enable-ivtv --enable-firewire --enable-audio-alsa --enable-proc-opt


Output:

[root at mythtv mythtv]# ./configure --prefix=/usr/local --enable-directx
--enable-xvmc --enable-xvmc-opengl --enable-opengl-vsync --enable-hdhomerun
--enable-lirc --enable-ivtv --enable-firewire --enable-audio-alsa
--enable-proc-opt
# Basic Settings
Compile type     release
Compiler cache   no
DistCC           no
Install prefix   /usr/local
CPU              x86_32 (model name     : Intel(R) Pentium(R) 4 CPU 3.40GHz)
big-endian       no
MMX enabled      yes

# Input Support
Joystick menu    yes
lirc support     yes
Apple Remote     no
Video4Linux sup. yes
ivtv support     yes
FireWire support yes
DVB support      yes [/usr/include]
DBox2 support    yes
HDHomeRun sup.   yes
IPTV support     yes

# Sound Output Support
OSS support      yes
ALSA support     no
aRts support     no
JACK support     no
DTS passthrough  no

# Video Output Support
x11 support      yes
xrandr support   yes
xv support       yes
XvMC support     yes
XvMC VLD support yes
XvMC pro support no
XvMC OpenGL sup. no
XvMC libs        -lXvMCW
Mac acceleration no
OpenGL vsync     yes
DirectFB         no

# Misc Features
Frontend         yes
Backend          yes

# Bindings
bindings_perl    yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

WARNING: When using --enable-proc-opt you must include the
         output of ./configure along with any bug report.

[root at mythtv mythtv]#


Some info on the system and what i need:
P4 3.4ghz
1gig ram
nvidia 6200
hdhomerun
pvr-150
firewire capture

Advice?  Suggestions? Solutions?

Thanks,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070714/51e59cf1/attachment.htm 


More information about the mythtv-users mailing list