<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD><TITLE>Compiling error on SuSE 8.1 with QT3.3.0</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093001709-19022004>I have begun from scratch. Untar the
sources,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093001709-19022004>./configure</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093001709-19022004>qmake mythtv.pro</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093001709-19022004>make</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093001709-19022004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093001709-19022004>then this :</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>eg.o mpegts.o
mpegtsenc.o mpjpeg.o nut.o os_support.o rm.o psxstr.o raw.o flic.o audi<BR>o.o
segafilm.o swf.o utils.o wav.o wc3movie.o westwood.o yuv4mpeg.o
sierravmd.o -W<BR>l,-rpath,/usr/lib/qt3/lib
-L/usr/lib/qt3/lib -L/usr/X11R6/lib -lqt-mt -lpthread -lX<BR>ext -lX11
-lm<BR>ln -s libmythavformat-0.14.so.0.14.0 libmythavformat-0.14.so<BR>ln -s
libmythavformat-0.14.so.0.14.0 libmythavformat-0.14.so.0<BR>ln -s
libmythavformat-0.14.so.0.14.0 libmythavformat-0.14.so.0.14<BR>make[2]: Leaving
directory `/home/tone/Documents/mythTV/mythtv-0.14/libs/libavformat'<BR>cd
libmyth && qmake -o Makefile<BR>cd libmyth && make -f
Makefile<BR>make[2]: Entering directory
`/home/tone/Documents/mythTV/mythtv-0.14/libs/libmyth'<BR>g++ -c -pipe -Wall -W
-O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC<BR>-D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV
-DQT_<BR>NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/local/include
-I/usr/lib/qt3/include -I/usr/lib/q<BR>t3/mkspecs/default -o dialogbox.o
dialogbox.cpp<BR>cc1plus: warning: changing search order for system directory
"/usr/local/include"<BR>cc1plus: warning: as it has already been
specified as a non-system directory<BR>In file included from
dialogbox.cpp:12:<BR>mythcontext.h:19:2: #error <STRONG>You need Qt version
>= 3.1.0 to compile MythTV</STRONG>.<BR>make[2]: *** [dialogbox.o] Error
1<BR>make[2]: Leaving directory
`/home/tone/Documents/mythTV/mythtv-0.14/libs/libmyth'<BR>make[1]: ***
[sub-libmyth] Error 2<BR>make[1]: Leaving directory
`/home/tone/Documents/mythTV/mythtv-0.14/libs'<BR>make: *** [sub-libs] Error
2<BR></FONT></DIV>
<DIV><SPAN class=093001709-19022004></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT
size=2>I've compiled the qt lib from scratch so that I have the requiered qt.</FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004></SPAN></FONT></FONT></FONT><SPAN
class=093001709-19022004></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>H<SPAN class=093001709-19022004>mm. The $QTDIR is correct, it points
</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004>coruscant:~ # echo
$QTDIR<BR>/usr/lib/qt3<BR></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004><SPAN class=093001709-19022004>coruscant:~
# </SPAN> echo
$PATH<BR>/usr/lib/qt3/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin:usr/local/ant/bin</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004>Are there more vars where the path of qt must be
in?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004>No i see that I've installed the
qt-x11-free-3.3.0.tar.gz...</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=093001709-19022004>I do not think that this is the right.... Or?</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></SPAN></FONT></FONT></FONT>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> mythtv-users-bounces@mythtv.org
[mailto:mythtv-users-bounces@mythtv.org] <B>Im Auftrag von
</B>Greg<BR><B>Gesendet:</B> Mittwoch, 18. Februar 2004 20:36<BR><B>An:</B>
'Discussion about mythtv'<BR><B>Betreff:</B> RE: [mythtv-users] Compiling error
on SuSE 8.1 with QT3.3.0<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004>Hi Tom,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004>I managed to get it installed on suse 9.0 after having
the same errors.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004>What I did (YMMV) was as follows:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004>First check to see if you have QTDIR set
right</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=093552619-18022004><FONT
color=#0000ff> <FONT
face="Lucida Console"><STRONG>echo
$QTDIR</STRONG></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Console" color=#0000ff size=2><SPAN
class=093552619-18022004><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004>Should be /usr/lib/qt3. If you still have problems then
do:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Lucida Console" color=#0000ff size=2><SPAN
class=093552619-18022004><STRONG> make
clean</STRONG></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Console" color=#0000ff size=2><SPAN
class=093552619-18022004><STRONG> make
distclean</STRONG></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Console" color=#0000ff size=2><SPAN
class=093552619-18022004><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=093552619-18022004>Followed by:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Console" color=#0000ff size=2><SPAN
class=093552619-18022004><STRONG></STRONG></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><SPAN class=093552619-18022004>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial"><STRONG><FONT
color=#0000ff><SPAN class=093552619-18022004>
</SPAN>./configure<o:p></o:p></FONT></STRONG></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial"><STRONG><FONT
color=#0000ff><SPAN class=093552619-18022004> </SPAN>qmake
mythtv.pro<o:p></o:p></FONT></STRONG></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial"><STRONG><FONT
color=#0000ff><SPAN class=093552619-18022004> </SPAN>make
qmake</FONT></STRONG></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Lucida Console'; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial"><STRONG><o:p><FONT
color=#0000ff size=2></FONT></o:p></STRONG></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
color=#0000ff><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Then edit ALL of
the makefiles under your source directory and replace $(QTDIR) with </SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt">/usr/lib/qt3. <SPAN
class=093552619-18022004>This is easy to do with </SPAN>jedit, you can do a
search in <SPAN class=093552619-18022004>your mythtv build directory</SPAN>
and replace all instances.</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
color=#0000ff><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt"></SPAN></FONT></FONT> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt"></SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><o:p><SPAN
class=093552619-18022004><FONT
color=#0000ff>HTH</FONT></SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT color=#0000ff size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><o:p><SPAN
class=093552619-18022004>Greg</SPAN></o:p></SPAN></FONT></P></SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<P><FONT face=Arial size=2>I've installed qt3.3 on my SuSE 8.1.</FONT>
<BR><FONT face=Arial size=2>When I try to configure, qmake, make my mythtv it
crashs.</FONT> </P>
<P><FONT face=Arial size=2>I'm not so good in debugging.</FONT> </P>
<P><FONT face=Arial size=2>Hope someone can give me a hint to solve this
problem.</FONT> <SPAN class=093552619-18022004><FONT face=Arial
color=#0000ff size=2> </FONT></SPAN></P></BLOCKQUOTE></BODY></HTML>