<html><body>
<p><font size="4">  </font>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="100%" valign="middle"><font size="4">I want to build one myth plugin on my mythdora os.<br>
I have two computers installed MythDora, and I remove mythtv from one of these two computers, and then through the following way:<br>
#yum install libmyth-devel<br>
to install the corresponding softwares and get those header files for building plugin. <br>
Then I tried to build mythnews, the official plugin, the building process is as following:<br>
and got libmythnews.so file, and then I copy this libmythnews.so file to my another mythdora system installed full mythdora, and add one button on mainmenu.xml.<br>
However, when I choose this button, one warning message appear: &quot;The problem: The mythnew plugin was compiled against libmyth version:0.20.2007 0124-1, but the installed libmyth is at version:0.20.20060828-3 . You probably want to recompile the mythnews plugin after doing a make distclean&quot;<br>
but I can't solve this problem when I tried to make clean and make distclean.<br>
As for my situation, how to develop plugin on mythdora? or which way to develop plugin is the compared easer and convient one? <br>
<br>
<br>
<br>
///////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
////////////////////    building mythnews process: //////////////////////////////////////////<br>
///////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
[root@localhost mythplugins]# cd mythnews/<br>
[root@localhost mythnews]# dir<br>
AUTHORS  ChangeLog  COPYING  i18n  mythnews  </font><a href="http://mythnews.pro/" target="_blank"><u><font size="4" color="#0000FF">mythnews.pro</font></u></a><font size="4">  README<br>
[root@localhost mythnews]# qmake<br>
[root@localhost mythnews]# make<br>
cd mythnews &amp;&amp; qmake </font><a href="http://mythnews.pro/" target="_blank"><u><font size="4" color="#0000FF">mythnews.pro</font></u></a><font size="4"> -o Makefile<br>
cd mythnews &amp;&amp; make -f Makefile <br>
make[1]: Entering directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythpl <br>
ugins/mythnews/mythnews'<br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/li<br>
b/glib-2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  - <br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH<br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr <br>
/lib/qt-3.3/include -o main.o main.cpp<br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/li<br>
b/glib-2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  -<br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH <br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr<br>
/lib/qt-3.3/include -o mythnews.o mythnews.cpp<br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/li<br>
b/glib-2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  -<br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH <br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr<br>
/lib/qt-3.3/include -o mythnewsconfig.o mythnewsconfig.cpp <br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/li<br>
b/glib-2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  -<br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH <br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr<br>
/lib/qt-3.3/include -o newsengine.o newsengine.cpp <br>
/usr/lib/qt-3.3/bin/moc mythnews.h -o moc_mythnews.cpp<br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib- 2.0 -I/usr/li<br>
b/glib-2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  - <br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH<br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr <br>
/lib/qt-3.3/include -o moc_mythnews.o moc_mythnews.cpp<br>
/usr/lib/qt-3.3/bin/moc mythnewsconfig.h -o moc_mythnewsconfig.cpp<br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/li<br>
b/glib- 2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  -<br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH<br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt- 3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr<br>
/lib/qt-3.3/include -o moc_mythnewsconfig.o moc_mythnewsconfig.cpp<br>
/usr/lib/qt-3.3/bin/moc newsengine.h -o moc_newsengine.cpp <br>
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/li<br>
b/glib-2.0/include -Wno-non-virtual-dtor -Wall -W -g -D_REENTRANT -DPIC -fPIC  -<br>
D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DQT_TH <br>
READ_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib/qt-3.3/mkspecs/def<br>
ault -I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include -I/usr<br>
/lib/qt-3.3/include -o moc_newsengine.o moc_newsengine.cpp <br>
rm -f libmythnews.so<br>
g++ -shared -o libmythnews.so main.o mythnews.o mythnewsconfig.o newsengine.o mo<br>
c_mythnews.o moc_mythnewsconfig.o moc_newsengine.o  -L/usr/kde/3.3/lib -L/usr/li<br>
b/qt-3.3/lib -L/usr/local/lib -lqt-mt -lpthread <br>
make[1]: Leaving directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythplu<br>
gins/mythnews/mythnews'<br>
cd i18n &amp;&amp; qmake </font><a href="http://i18n.pro/" target="_blank"><u><font size="4" color="#0000FF">i18n.pro</font></u></a><font size="4"> -o Makefile<br>
cd i18n &amp;&amp; make -f Makefile <br>
make[1]: Entering directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythpl<br>
ugins/mythnews/i18n'<br>
gcc -c -pipe -Wall -W -O3 -fomit-frame-pointer -Wall -Wno-switch -fomit-frame-po<br>
inter  -D_GNU_SOURCE -DPREFIX=\&quot;/usr/local\&quot; -DMMX -Di386 -D_FILE_OFFSET_BITS=64 <br>
 -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include -I/usr/kde/3.3/inclu<br>
de -I/usr/local/include -o dummy.o dummy.c<br>
g++  -o i18n dummy.o    -L/usr/kde/3.3/lib -L/usr/local/lib<br>
make[1]: Leaving directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythplu <br>
gins/mythnews/i18n'<br>
[root@localhost mythnews]# make install<br>
( [ -d mythnews ] &amp;&amp; cd mythnews ; grep &quot;^qmake_all:&quot; Makefile &amp;&amp; make -f Makefi<br>
le qmake_all; ) || true<br>
( [ -d i18n ] &amp;&amp; cd i18n ; grep &quot;^qmake_all:&quot; Makefile &amp;&amp; make -f Makefile qmake <br>
_all; ) || true<br>
( [ -d mythnews ] &amp;&amp; cd mythnews ; make -f Makefile install; ) || true<br>
make[1]: Entering directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythpl<br>
ugins/mythnews/mythnews'<br>
cp -f &quot;libmythnews.so&quot; &quot;/usr/local/lib/mythtv/plugins/libmythnews.so&quot;<br>
cp -f &quot;news-sites.xml&quot; &quot;/usr/local/share/mythtv/mythnews/&quot;<br>
cp -f &quot;images/news-info-bg.png&quot; &quot;/usr/local/share/mythtv/themes/default/&quot; <br>
cp -f &quot;news-ui.xml&quot; &quot;/usr/local/share/mythtv/themes/default/&quot;<br>
make[1]: Leaving directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythplu                                           gins/mythnews/mythnews' <br>
( [ -d i18n ] &amp;&amp; cd i18n ; make -f Makefile install; ) || true<br>
make[1]: Entering directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythpl                                           ugins/mythnews/i18n' <br>
cp -f &quot;mythnews_it.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_es.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot; <br>
cp -f &quot;mythnews_ca.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot; <br>
cp -f &quot;mythnews_nl.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_de.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_dk.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot; <br>
cp -f &quot;mythnews_pt.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_sv.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_fr.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot; <br>
cp -f &quot;mythnews_ja.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_si.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_et.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot; <br>
cp -f &quot;mythnews_fi.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_nb.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot;<br>
cp -f &quot;mythnews_ru.qm&quot; &quot;/usr/local/share/mythtv/i18n/&quot; <br>
make[1]: Leaving directory `/home/mythtv/mythtv_build/release-0-20-fixes/mythplu                                           gins/mythnews/i18n'<br>
[root@localhost mythnews]#<br>
////////////////////////////////////////////////////////////////////////////////////////////////////////// </font></td></tr>
</table>
<br>
</body></html>