On Mon, March 30, 2009 7:54 pm, Torfinn Ingolfsen wrote: > Hi, > I am trying to install the mythtv 0.21 port (multimedia/mythtv) under > FreeBSd 7.2-prerelease/amd64: > r...@kg-quiet# uname -a > FreeBSD kg-quiet.kg4.no 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Sun > Mar 29 14:46:57 CEST 2009 > r...@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64 > and ports tree updated yesterday: > r...@kg-quiet# ll /usr/ports/IN* > -rw-r--r-- 1 root wheel 19094389 Mar 29 12:14 /usr/ports/INDEX-7 > -rw-r--r-- 1 root wheel 1261454 Mar 29 09:35 /usr/ports/INDEX-7.bz2 > -rw-r--r-- 1 root wheel 33808384 Mar 29 12:15 /usr/ports/INDEX-7.db > > However, when I do > cd /usr/ports/multimedia/mythtv > make > > it barfs after a while with: > gmake[2]: Entering directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' > g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch > -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor > -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC > -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS > -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT > -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. > -I../../../../../../../local/include > -I../../../../../../../local/include -I../libmythsamplerate > -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec > -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include > -I/usr/local/include -o audiooutput.o audiooutput.cpp > g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch > -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor > -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC > -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS > -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT > -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. > -I../../../../../../../local/include > -I../../../../../../../local/include -I../libmythsamplerate > -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec > -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include > -I/usr/local/include -o audiooutputbase.o audiooutputbase.cpp > In file included from audiooutputdigitalencoder.h:5, > from audiooutputbase.cpp:19: > ../../../../../../../local/include/libavcodec/avcodec.h:2353: warning: > 'ImgReSampleContext' is deprecated (declared at > ../../../../../../../local/include/libavcodec/avcodec.h:2347) > ../../../../../../../local/include/libavcodec/avcodec.h:2363: warning: > 'ImgReSampleContext' is deprecated (declared at > ../../../../../../../local/include/libavcodec/avcodec.h:2347) > audiooutputbase.cpp: In member function 'virtual void > AudioOutputBase::Reconfigure(int, int, int, bool, void*)': > audiooutputbase.cpp:360: error: 'codec_id_string' was not declared in this > scope > gmake[2]: *** [audiooutputbase.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' > gmake[1]: *** [sub-libmyth] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' > gmake: *** [sub-libs] Error 2 > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > > Any hints?
Yeah i can reproduce that too. It's because it takes libavcodec from the system path which is wrong. Attached patch fixes that problem but then I get another compile error with Intel XvMC in mythtranscode. That one probably needs further investigation but it might not bite you if you don't have intel onboard graphics. This patch should fix the above problem: (as usual throw it in mythtv/files) http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro --- libs/libmyth/libmyth.pro.orig 2009-03-30 22:55:47.000000000 +0200 +++ libs/libmyth/libmyth.pro 2009-03-30 22:58:01.000000000 +0200 @@ -43,14 +43,14 @@ SOURCES += volumebase.cpp volumecontrol.cpp virtualkeyboard.cpp xmlparse.cpp SOURCES += mythhdd.cpp mythcdrom.cpp storagegroup.cpp dbutil.cpp -INCLUDEPATH += ../libmythsamplerate ../libmythsoundtouch ../libmythfreesurround -INCLUDEPATH += ../libavcodec ../libavutil -INCLUDEPATH += ../.. ../ ./ -DEPENDPATH += ../libmythsamplerate ../libmythsoundtouch -DEPENDPATH += ../libmythfreesurround -DEPENDPATH += ../libavcodec ../libavutil -DEPENDPATH += ../ ../libmythui -DEPENDPATH += ../libmythupnp +INCLUDEPATH = ../libmythsamplerate ../libmythsoundtouch ../libmythfreesurround $${INCLUDEPATH} +INCLUDEPATH = ../libavcodec ../libavutil $${INCLUDEPATH} +INCLUDEPATH = ../.. ../ ./ $${INCLUDEPATH} +DEPENDPATH = ../libmythsamplerate ../libmythsoundtouch $${DEPENDPATH} +DEPENDPATH = ../libmythfreesurround $${DEPENDPATH} +DEPENDPATH = ../libavcodec ../libavutil $${DEPENDPATH} +DEPENDPATH = ../ ../libmythui $${DEPENDPATH} +DEPENDPATH = ../libmythupnp $${DEPENDPATH} LIBS += -L../libmythsamplerate -lmythsamplerate-$${LIBVERSION} -- Bernhard Fröhlich http://www.bluelife.at/ _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"