Re: Mythtv-0.21 build error
--- On Tue, 3/31/09, Mark Busby wrote: > From: Mark Busby > Subject: Re: Mythtv-0.21 build error > To: "help help" > Date: Tuesday, March 31, 2009, 5:42 PM > After doing make clean, and restarting the build of > mythtv-0.21 port. > > This is the error on make install > snip snip > ../../../../../../../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. I was able to build and install Mythtv-0.21 after I did make clean in /usr/ports, then cvsup ports. (undoing a couple of portsnap updates) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Mythtv-0.21 build error
Right, then try a workaround. Download a source freom the web and compile it manually and tell us if it gives you errors. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Mythtv-0.21 build error
After doing make clean, and restarting the build of mythtv-0.21 port. This is the error on make install l-dtor -D__STDC_CONSTANT_MACROS -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../libmyth -I../.. -I.. -I../../../../../../../local/include -I/usr/local/include -o moc_myththemedmenu.o moc_myththemedmenu.cpp /usr/local/bin/moc mythdialogbox.h -o moc_mythdialogbox.cpp g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../libmyth -I../.. -I.. -I../../../../../../../local/include -I/usr/local/include -o moc_mythdialogbox.o moc_mythdialogbox.cpp rm -f libmythui-0.21.so.0.21.0 libmythui-0.21.so libmythui-0.21.so.0 libmythui-0.21.so.0.21 g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -shared -Wl,-soname,libmythui-0.21.so.0 -o libmythui-0.21.so.0.21.0 mythmainwindow.o mythpainter.o mythimage.o myththemebase.o mythpainter_qt.o xmlparsebase.o mythscreenstack.o mythscreentype.o mythgesture.o mythuitype.o mythuiimage.o mythuitext.o mythuistatetype.o mythlistbutton.o mythfontproperties.o mythuibutton.o myththemedmenu.o mythdialogbox.o mythuiclock.o moc_mythmainwindow.o moc_mythuitype.o moc_mythuibutton.o moc_mythlistbutton.o moc_myththemedmenu.o moc_mythdialogbox.o -L/usr/local/lib -L/usr/local/lib -lqt-mt -lXext -lX11 -lm ln -s libmythui-0.21.so.0.21.0 libmythui-0.21.so ln -s libmythui-0.21.so.0.21.0 libmythui-0.21.so.0 ln -s libmythui-0.21.so.0.21.0 libmythui-0.21.so.0.21 gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmythui' cd libmyth && qmake libmyth.pro -spec /usr/local/share/qt/mkspecs/freebsd-g++ -o Makefile cd libmyth && gmake -f Makefile gmake[2]: Entering directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -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=pentiumpro -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -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. ___ freebsd-questions@freebsd.org mailing list http:/
Re: Mythtv-0.21 build error
This is what I would do if I were you: 0.1) do a cvsup (or whatever) so the ports are up to date and: 1) try a make deinstall;make clean;make distclean;make build (and if the file is present do a make install) if that doesn't work 2) (workaround) download from the web a source code, compile it and: 2.a) copy the file in the work dir of the ports and do make install (this requires a make build be made) or 2.b) install it from that package !!! REMEMBER !!! if step 1 fails write a mail to the maintainer of the port with the error specifiyng the output of the uname -a, the output of ls /var/db/pkg and the error you encountered, and also what you did to solve the problem (usually the workaround). dunno why I seem to missed another way of solving this. Suddenly forgot it... happens once in a whille. Will e-mail it to you if/when I remember it ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Mythtv-0.21 build error
--- On Tue, 3/31/09, Vasadi I. Claudiu Florin wrote: > From: Vasadi I. Claudiu Florin > Subject: Re: Mythtv-0.21 build error > To: redt...@sbcglobal.net > Date: Tuesday, March 31, 2009, 4:18 PM > On Wed, 01 Apr 2009 00:16:26 +0300, Mark Busby > wrote: > > > mythtv-setup > > > find / -type f -name mythtv-setup -print > > does it find any files ? None are found. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"