Re: Mythtv-0.21 build error

2009-04-01 Thread Vasadi I. Claudiu Florin
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

2009-04-01 Thread Mark Busby




--- On Tue, 3/31/09, Mark Busby redt...@sbcglobal.net wrote:

 From: Mark Busby redt...@sbcglobal.net
 Subject: Re: Mythtv-0.21 build error
 To: help help freebsd-questions@freebsd.org
 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


Mythtv-0.21 build error

2009-03-31 Thread Mark Busby

uname -a FreeBSD muz.sbcglobal.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  
1 14:37:25 UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
 i386

portsnap is up to date.

Building myth-0.21 throws this error,

creating usr/local
creating usr/local/lib
creating usr/local/lib/python2.5
creating usr/local/lib/python2.5/site-packages
creating usr/local/lib/python2.5/site-packages/MythTV
copying build/lib/MythTV/MythLog.py - 
usr/local/lib/python2.5/site-packages/MythTV
copying build/lib/MythTV/MythDB.py - 
usr/local/lib/python2.5/site-packages/MythTV
copying build/lib/MythTV/MythVideo.py - 
usr/local/lib/python2.5/site-packages/MythTV
copying build/lib/MythTV/MythTV.py - 
usr/local/lib/python2.5/site-packages/MythTV
copying build/lib/MythTV/__init__.py - 
usr/local/lib/python2.5/site-packages/MythTV
byte-compiling usr/local/lib/python2.5/site-packages/MythTV/MythLog.py to 
MythLog.pyc
byte-compiling usr/local/lib/python2.5/site-packages/MythTV/MythDB.py to 
MythDB.pyc
byte-compiling usr/local/lib/python2.5/site-packages/MythTV/MythVideo.py to 
MythVideo.pyc
byte-compiling usr/local/lib/python2.5/site-packages/MythTV/MythTV.py to 
MythTV.pyc
byte-compiling usr/local/lib/python2.5/site-packages/MythTV/__init__.py to 
__init__.pyc
running install_egg_info
Writing usr/local/lib/python2.5/site-packages/MythTV-0.21-py2.5.egg-info
gmake[2]: Leaving directory 
`/usr/ports/multimedia/mythtv/work/mythtv-0.21/bindings/python'
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mythtv/work/mythtv-0.21/bindings'
( [ -d config ]  cd config ; gmake -f Makefile install; ) || true
gmake[1]: Entering directory 
`/usr/ports/multimedia/mythtv/work/mythtv-0.21/config'
gmake[1]: `install' is up to date.
gmake[1]: Leaving directory 
`/usr/ports/multimedia/mythtv/work/mythtv-0.21/config'
cp: 
/usr/ports/multimedia/mythtv/work/mythtv-0.21/programs/mythtv-setup/mythtv-setup:
 No such file or directory
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.

muz# cd /usr/ports/multimedia/mythtv/work/mythtv-0.21/programs/mythtv-setup
muz# ls
Makefilebackendsettings.o   main.cpp
backendsettings.cpp checksetup.cpp  main.o
backendsettings.cpp.origchecksetup.hmythtv-setup.pro
backendsettings.h   checksetup.osetup.xml
muz#

Thanks for all your work on this port.
___
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

2009-03-31 Thread Mark Busby




--- On Tue, 3/31/09, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote:

 From: Vasadi I. Claudiu Florin claudiu.vas...@gmail.com
 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
 redt...@sbcglobal.net 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


Re: Mythtv-0.21 build error

2009-03-31 Thread Vasadi I. Claudiu Florin

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

2009-03-31 Thread Mark Busby

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