CFT: MythTV Fixes
Torfinn Ingolfsen
torfinn.ingolfsen at broadpark.no
Sun Nov 9 03:53:02 PST 2008
On Tue, 04 Nov 2008 22:55:43 +0100
Bernhard Froehlich <decke at bluelife.at> wrote:
> I've also updated my archive to include that patch:
>
> http://home.bluelife.at/ports/mythtv-cft-041108.tar.gz
MythTV seems to be a tough beast to tame. :-)
I decided to test the archive above on a new machine, this time a SMP
machine running FreeBSD 5.4-prerelease:
tingo at kg-vm$ uname -a
FreeBSD kg-vm.kg4.no 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #3: Sun Nov 2 10:44:32 CET 2008 root at kg-vm.kg4.no:/usr/obj/usr/src/sys/SMP amd64
Note: this machine has not had any MythTV ports installed before, and I am not doing anything
"behind the scenes" here - I just untar the archive and do 'make' and 'make install'. I select default options.
Here goes:
root at kg-vm# pwd
/usr/ports/multimedia/mythtv-frontend
root at kg-vm# uname -a
FreeBSD kg-vm.kg4.no 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #3: Sun Nov 2 10:44:32 CET 2008 root at kg-vm.kg4.no:/usr/obj/usr/src/sys/SMP amd64
root at kg-vm# make clean
===> Cleaning for qmake-3.3.8_1
===> Cleaning for qt-3.3.8_9
===> Cleaning for lame-3.97_1
===> Cleaning for libmng-1.0.10
===> Cleaning for lcms-1.17,1
===> Cleaning for mythtv-frontend-0.21
root at kg-vm# make showconfig
===> The following configuration options are available for mythtv-frontend-0.21:
ARTS=off "arts sound driver"
JACK=off "JACK sound driver"
===> Use 'make config' to modify these settings
root at kg-vm# make
===> Vulnerability check disabled, database not found
===> Found saved configuration for mythtv-frontend-0.21
===> Extracting for mythtv-frontend-0.21
=> MD5 Checksum OK for mythtv-0.21.tar.bz2.
=> SHA256 Checksum OK for mythtv-0.21.tar.bz2.
===> Patching for mythtv-frontend-0.21
===> Applying FreeBSD patches for mythtv-frontend-0.21
===> mythtv-frontend-0.21 depends on executable: qmake - found
===> mythtv-frontend-0.21 depends on file: /usr/local/bin/moc - found
===> mythtv-frontend-0.21 depends on executable: gmake - found
===> mythtv-frontend-0.21 depends on shared library: mp3lame.0 - found
===> mythtv-frontend-0.21 depends on shared library: freetype.9 - found
===> Configuring for mythtv-frontend-0.21
distcc: not found
ccache: not found
imlib2-config: not found
gnome-config: not found
: Permission denied
# Basic Settings
Compile type release
Compiler cache no
DistCC no
install prefix /usr/local
CPU x86_64 (amd64)
big-endian no
MMX enabled yes
CMOV enabled yes
CMOV is fast no
# Input Support
Joystick menu default
lirc support no
Video4Linux sup. no
ivtv support no
FireWire support no
DVB support no [/usr/include]
DBox2 support no
HDHomeRun support no
IPTV support no
# Sound Output Support
OSS support yes
ALSA support no
aRts support no
JACK support no
libfftw3 support no
# Video Output Support
x11 support yes
xrandr support yes
xv support yes
XvMC support yes
XvMC VLD support yes
XvMC pro support yes
XvMC OpenGL sup. no
XvMC libs -lviaXvMCPro
OpenGL video no
OpenGL vsync no
DirectFB no
Fribidi formatting no
# Misc Features
multi threaded libavcodec yes
Frontend yes
Backend yes
# Bindings
bindings_perl no
bindings_python no
Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak
===> Building for mythtv-frontend-0.21
cd libs && /usr/local/bin/qmake libs.pro "QMAKE=/usr/local/bin/qmake" -o Makefile
cd libs && gmake -f Makefile
gmake[1]: Entering directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs'
cd libavutil && /usr/local/bin/qmake libavutil.pro "QMAKE=/usr/local/bin/qmake" -o Makefile
cd libavutil && gmake -f Makefile
gmake[2]: Entering directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs/libavutil'
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o adler32.o adler32.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o mathematics.o mathematics.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o integer.o integer.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o lls.o lls.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o log.o log.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o mem.o mem.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o rational.o rational.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o intfloat_readwrite.o intfloat_readwrite.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o crc.o crc.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o des.o des.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o md5.o md5.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o fifo.o fifo.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o aes.o aes.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o tree.o tree.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o lzo.o lzo.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o base64.o base64.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o random.o random.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o rc4.o rc4.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o sha1.o sha1.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I.. -I../.. -I../../../../../../../local/include -o string.o string.c
rm -f libmythavutil-0.21.so.0.21.0 libmythavutil-0.21.so libmythavutil-0.21.so.0 libmythavutil-0.21.so.0.21
c++ -Wl,-rpath,/usr/local/lib -pthread -shared -Wl,-soname,libmythavutil-0.21.so.0 -o libmythavutil-0.21.so.0.21.0 adler32.o mathematics.o integer.o lls.o log.o mem.o rational.o intfloat_readwrite.o crc.o des.o md5.o fifo.o aes.o tree.o lzo.o base64.o random.o rc4.o sha1.o string.o -L/usr/local/lib
ln -s libmythavutil-0.21.so.0.21.0 libmythavutil-0.21.so
ln -s libmythavutil-0.21.so.0.21.0 libmythavutil-0.21.so.0
ln -s libmythavutil-0.21.so.0.21.0 libmythavutil-0.21.so.0.21
gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs/libavutil'
cd libavcodec && /usr/local/bin/qmake libavcodec.pro "QMAKE=/usr/local/bin/qmake" -o Makefile
cd libavcodec && gmake -f Makefile
gmake[2]: Entering directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs/libavcodec'
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -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 -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I../../../../../../../local/include -I/usr/local/include -o bitstream.o bitstream.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -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 -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I../../../../../../../local/include -I/usr/local/include -o utils.o utils.c
cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -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 -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I../../../../../../../local/include -I/usr/local/include -o allcodecs.o allcodecs.c
allcodecs.c: In function `avcodec_register_all':
allcodecs.c:119: error: `ENABLE_MSZH_DECODER' undeclared (first use in this function)
allcodecs.c:119: error: (Each undeclared identifier is reported only once
allcodecs.c:119: error: for each function it appears in.)
allcodecs.c:133: error: `ENABLE_RPZA_DECODER' undeclared (first use in this function)
allcodecs.c:171: error: `ENABLE_ZLIB_ENCODER' undeclared (first use in this function)
allcodecs.c:171: error: `ENABLE_ZLIB_DECODER' undeclared (first use in this function)
allcodecs.c:172: error: `ENABLE_ZMBV_ENCODER' undeclared (first use in this function)
allcodecs.c:172: error: `ENABLE_ZMBV_DECODER' undeclared (first use in this function)
allcodecs.c:228: error: `ENABLE_PCM_ZORK_ENCODER' undeclared (first use in this function)
allcodecs.c:228: error: `ENABLE_PCM_ZORK_DECODER' undeclared (first use in this function)
gmake[2]: *** [allcodecs.o] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs/libavcodec'
gmake[1]: *** [sub-libavcodec] Error 2
gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs'
gmake: *** [sub-libs] Error 2
*** Error code 2
Stop in /usr/ports/multimedia/mythtv-frontend.
*** Error code 1
Stop in /usr/ports/multimedia/mythtv-frontend.
HTH
--
Regards,
Torfinn Ingolfsen
More information about the freebsd-multimedia
mailing list