LinHES Forums http://forums.linhes.org/ |
|
tweaking code? http://forums.linhes.org/viewtopic.php?f=11&t=83 |
Page 1 of 2 |
Author: | bigjohn [ Thu Nov 06, 2003 10:51 pm ] |
Post subject: | tweaking code? |
is it ok to say, tweak a bit of code and recompile? or is that not a good idea? and if its ok, where is the source Thanks J |
Author: | cesman [ Wed Nov 12, 2003 3:34 am ] |
Post subject: | |
tweak to your heart's content...which souce are you looking for? cesman |
Author: | bigjohn [ Fri Nov 14, 2003 6:23 pm ] |
Post subject: | |
I guess I was assuming that the mythtv code and its modules was placed somewhere where it would be easy to make small changes and recompile it. Is there such a place or do i have to download the code? |
Author: | bigjohn [ Fri Nov 14, 2003 6:32 pm ] |
Post subject: | |
oops i didn't see there was a directory called r4_src for the mythtv user |
Author: | mgordon [ Fri Nov 14, 2003 8:19 pm ] |
Post subject: | |
If I were to modify a local build I am assuming that I would need to grab the latest code from CVS, True or false? Is CVS installed with teh knoppMyth disto? Once I compile with my modifications how to I test my executables locally? Keep in mind that I am a windows NT driver developer. This has been my first experience with unix in 6 years. Thanks, Mike G. |
Author: | cesman [ Fri Nov 14, 2003 8:32 pm ] |
Post subject: | |
mgordon wrote: If I were to modify a local build I am assuming that I would need to grab the latest code from CVS, True or false? False. Only use CVS if you want some new feature that is in CVS.mgordon wrote: Is CVS installed with teh knoppMyth disto? No. That doesn't mean it cannot be done. That a look at the MythTV How-To.mgordon wrote: Once I compile with my modifications how to I test my executables locally? make install. The installed MythTV packages were made with checkinstall, so you can just reinstall the .debs if you messed something up with your build.mgordon wrote: Keep in mind that I am a windows NT driver developer. This has been my first experience with unix in 6 years.
Thanks, Mike G. You're welcome. Keep in mind that everything in MythTV is stock. The code has not in anyway been modified by Dale or I. cesman |
Author: | mgordon [ Sun Nov 16, 2003 2:08 pm ] |
Post subject: | |
Ok, I have decided that I would tweak mythmusic, so I unpacked mythmusic and compiled. The next step is make install (I haven't done this yet). This process puts the libmythmusic.so file into the following directory: /usr/local/lib/mythtv/plugins. I did a little searching and I also found *.so files related to myth in the following directory : /usr/lib and /usr/lib/mythtv/plugins. I am assuming that these directories are for the package that were initially installed. Once I complete the make install I am assuming that the system will pick up my compiled version of mythmusic in usr/local/lib/mythtv/plugins. If I were to break my version of mythmusic I can go back to the original by deleting the *.so file in the /usr/local/lib/mythtv/plugins and the *.so will be used in the /usr/lib/mythtv/plugins directory. Correct? I am a windows developer, Linux newbe and I am being cautious. Thanks, Mike G. |
Author: | cesman [ Sun Nov 16, 2003 8:27 pm ] |
Post subject: | |
cd into the mythmusic sub-dir make distclean vi settings.pro change /usr/local to /usr Then follow the compilation instructions in the How-To. cesman |
Author: | mgordon [ Mon Nov 17, 2003 7:33 am ] |
Post subject: | |
cesman, so by changing /usr/local to /usr the libmythtmusic.so will be put in the correct directory for execution. When you refer to the HOW-TO are you referring to the README that is located with mythmusic or the how-to document on mythtv.org? Thanks for your patience. Mike G. |
Author: | mgordon [ Fri Jan 09, 2004 8:59 pm ] |
Post subject: | |
I am trying to recompile mythtv because the frontend freeze issue has been found. Thanks Mike G. I get the following error: videoout_ivtv.cpp: In destructor `virtual VideoOutputIvtv::~VideoOutputIvtv()': videoout_ivtv.cpp:58: error: syntax error before `[' token videoout_ivtv.cpp:67: error: syntax error before `[' token videoout_ivtv.cpp: In member function `void VideoOutputIvtv::ClearOSD()': videoout_ivtv.cpp:89: error: syntax error before `[' token videoout_ivtv.cpp:98: error: syntax error before `[' token videoout_ivtv.cpp:109: error: invalid types `int[int]' for array subscript videoout_ivtv.cpp:117: error: syntax error before `[' token videoout_ivtv.cpp: In member function `virtual bool VideoOutputIvtv::Init(int, int, float, unsigned int, int, int, int, int, unsigned int)': videoout_ivtv.cpp:174: error: syntax error before `[' token videoout_ivtv.cpp:187: error: syntax error before `[' token videoout_ivtv.cpp:196: error: syntax error before `[' token videoout_ivtv.cpp: In member function `virtual void VideoOutputIvtv::EmbedInWidget(long unsigned int, int, int, int, int)': videoout_ivtv.cpp:267: error: syntax error before `[' token videoout_ivtv.cpp:273: error: syntax error before `[' token videoout_ivtv.cpp: In member function `virtual void VideoOutputIvtv::StopEmbedding()': videoout_ivtv.cpp:287: error: syntax error before `[' token videoout_ivtv.cpp:294: error: syntax error before `[' token videoout_ivtv.cpp: In member function `virtual void VideoOutputIvtv::ProcessFrame(VideoFrame*, OSD*, std::vector<VideoFilter*, std::allocator<VideoFilter*> >&, NuppelVideoPlayer*)': videoout_ivtv.cpp:353: error: syntax error before `[' token videoout_ivtv.cpp:359: error: invalid types `int[int]' for array subscript videoout_ivtv.cpp:367: error: syntax error before `[' token make[2]: *** [videoout_ivtv.o] Error 1 make[2]: Leaving directory `/home/mythtv/r4_src/mythtv-0.12/libs/libmythtv' make[1]: *** [sub-libmythtv] Error 2 make[1]: Leaving directory `/home/mythtv/r4_src/mythtv-0.12/libs' |
Author: | cesman [ Fri Jan 09, 2004 9:28 pm ] |
Post subject: | |
Odd as I had no issues compiling 0.12 at all. Perhaps remove 0.12 and compiling 0.13 from source? |
Author: | mgordon [ Fri Jan 09, 2004 10:05 pm ] |
Post subject: | |
Oh I forgot to mention that I recompilied the kernel to 2.4.22, would that make a difference? When you say remove r12 do you mean dpkg -r myth<tab> until all are gone as stated in a previous post? Thanks for your help. I am looking forward to fixing this front end freeze. Mike G. This is what I did to compile r12. untared source $export QTDIR=/usr/share/qt $export PATH=$PATH:$QTDIR/bin ./configure qmake mythtv.pro make |
Author: | cesman [ Fri Jan 09, 2004 10:08 pm ] |
Post subject: | |
I don't think installing 2.4.22 would have a difference. Yes, dpkg -r myth<tab>. Steps you took look good. |
Author: | mgordon [ Fri Jan 09, 2004 11:08 pm ] |
Post subject: | |
The compile of 2.4.22 was the result of the compile error in mythtv. Bad interaction with the kernel headers. See following link: http://www.gossamer-threads.com/archive ... al_P87071/ Thanks, Mike G. |
Author: | mgordon [ Sat Jan 10, 2004 7:22 am ] |
Post subject: | |
I successfully compilied and installed 0.12 mythtv that was packaged with the distro. Unfortunatly my remote no longer works. Any suggestions. Thanks, Mike G. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |