AW: [mythtv-users] Compiling error on SuSE 8.1 with QT3.3.0

Tom mythtv-tone at to3.de
Thu Feb 19 04:27:04 EST 2004


I have begun from scratch. Untar the sources,
./configure
qmake mythtv.pro
make
 
then this :
 
eg.o mpegts.o mpegtsenc.o mpjpeg.o nut.o os_support.o rm.o psxstr.o raw.o
flic.o audi
o.o segafilm.o swf.o utils.o wav.o wc3movie.o westwood.o yuv4mpeg.o
sierravmd.o    -W
l,-rpath,/usr/lib/qt3/lib  -L/usr/lib/qt3/lib  -L/usr/X11R6/lib -lqt-mt
-lpthread -lX
ext -lX11 -lm
ln -s libmythavformat-0.14.so.0.14.0 libmythavformat-0.14.so
ln -s libmythavformat-0.14.so.0.14.0 libmythavformat-0.14.so.0
ln -s libmythavformat-0.14.so.0.14.0 libmythavformat-0.14.so.0.14
make[2]: Leaving directory
`/home/tone/Documents/mythTV/mythtv-0.14/libs/libavformat'
cd libmyth && qmake -o Makefile
cd libmyth && make -f Makefile
make[2]: Entering directory
`/home/tone/Documents/mythTV/mythtv-0.14/libs/libmyth'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
-D_REENTRANT -fPIC
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
-DUSING_IVTV -DQT_
NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/lib/qt3/include
-I/usr/lib/q
t3/mkspecs/default -o dialogbox.o dialogbox.cpp
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system
directory
In file included from dialogbox.cpp:12:
mythcontext.h:19:2: #error You need Qt version >= 3.1.0 to compile MythTV.
make[2]: *** [dialogbox.o] Error 1
make[2]: Leaving directory
`/home/tone/Documents/mythTV/mythtv-0.14/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/home/tone/Documents/mythTV/mythtv-0.14/libs'
make: *** [sub-libs] Error 2

I've compiled the qt lib from scratch so that I have the requiered qt.
Hmm. The $QTDIR is correct, it points 
 
coruscant:~ # echo $QTDIR
/usr/lib/qt3

 
coruscant:~ #  echo $PATH
/usr/lib/qt3/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/u
sr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/
java/bin:usr/local/ant/bin
 
Are there more vars where the path of  qt must be in?
 
No i see that I've installed the qt-x11-free-3.3.0.tar.gz...
I do not think that this is the right.... Or?


  _____  

Von: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] Im Auftrag von Greg
Gesendet: Mittwoch, 18. Februar 2004 20:36
An: 'Discussion about mythtv'
Betreff: RE: [mythtv-users] Compiling error on SuSE 8.1 with QT3.3.0


Hi Tom,
 
I managed to get it installed on suse 9.0 after having the same errors.
What I did (YMMV) was as follows:
 
First check to see if you have QTDIR set right
 
        echo $QTDIR
 
Should be /usr/lib/qt3. If you still have problems then do:
 
    make clean
    make distclean
 
Followed by:
 
    ./configure

    qmake mythtv.pro

    make qmake

 

Then edit ALL of the makefiles under your source directory and replace
$(QTDIR) with /usr/lib/qt3. This is easy to do with jedit, you can do a
search in your mythtv build directory and replace all instances.

 

HTH

Greg

I've installed qt3.3 on my SuSE 8.1. 
When I try to configure, qmake, make my mythtv it crashs. 

I'm not so good in debugging. 

Hope someone can give me a hint to solve this problem.  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040219/127220d6/attachment.html


More information about the mythtv-users mailing list