[mythtv-users] Upgraded QT- now can no longer compile MythTV - help needed

Chris Delis chris at delis.net
Tue Nov 4 09:34:01 EST 2003


I run Debian and not Redhat, so I'm sort of guessing a little but... it
appears that you don't have the threaded development support installed.
Here is the Debian equivalent:

libqt3-mt-dev - Qt Threaded development files




-----
chris delis
chris delis.net

On Tue, 4 Nov 2003, Ken J. Davis wrote:

> Along the path of upgrading from .11 to .12, it appeared to me that
> MythNews requires QT 3.1 or greater.  After successfully compiling all the
> other .12 modules, I decided to tackle the QT upgrade so that when the
> next Myth release comes out, I don't have to worry about any dependencies.
> 
> I'm running RH 8, so I downloaded RPM's for QT, devel, mysql.  Here's a
> list of what rpm thinks I have installed....
> 
> [root at websvr1 mythtv-0.12]# rpm -qa |grep qt
> qt-3.1.1-6
> qt-devel-3.1.1-6
> qt-designer-3.1.1-6
> qt-MySQL-3.1.1-6
> 
> Here's what I now get when I try to compile mythtv
> 
> echo $PATH
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/lib/qt-3.1/bin
> :/root/bin
> [root at websvr1 mythtv-0.12]# echo $QTDIR
> /usr/lib/qt-3.1
> [root at websvr1 mythtv-0.12]# qmake mythtv.pro
> [root at websvr1 mythtv-0.12]# make
> cd libs && make -f Makefile
> make[1]: Entering directory `/myth12/mythtv-0.12/libs'
> cd libavcodec && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/libs/libavcodec'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/libs/libavcodec'
> cd libavformat && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/libs/libavformat'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/libs/libavformat'
> cd libmyth && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/libs/libmyth'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/libs/libmyth'
> cd libvbitext && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/libs/libvbitext'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/libs/libvbitext'
> cd libdvbdev && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/libs/libdvbdev'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/libs/libdvbdev'
> cd libmythtv && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/libs/libmythtv'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/libs/libmythtv'
> make[1]: Leaving directory `/myth12/mythtv-0.12/libs'
> cd filters && make -f Makefile
> make[1]: Entering directory `/myth12/mythtv-0.12/filters'
> cd invert && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/filters/invert'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/filters/invert'
> cd linearblend && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/filters/linearblend'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/filters/linearblend'
> cd denoise3d && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/filters/denoise3d'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/filters/denoise3d'
> cd quickdnr && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/filters/quickdnr'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/myth12/mythtv-0.12/filters/quickdnr'
> make[1]: Leaving directory `/myth12/mythtv-0.12/filters'
> cd programs && make -f Makefile
> make[1]: Entering directory `/myth12/mythtv-0.12/programs'
> cd mythepg && make -f Makefile
> make[2]: Entering directory `/myth12/mythtv-0.12/programs/mythepg'
> g++  -o mythepg main.o   -L/usr/lib/qt-3.1/lib -L/usr/X11R6/lib
> -L../../libs/libmyth -L../../li
> bs/libmythtv -L../../libs/libavcodec -L../../libs/libvbitext
> -L../../libs/libavformat -lmythtv
> -lavformat -lavcodec -lvbitext -lmyth-0.12 -L/usr/X11R6/lib -lXinerama
> -lXv -lX11 -lXext -lXxf8
> 6vm -lfreetype -lmp3lame -lqt-mt -lXext -lX11 -lm -lpthread
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddInteger'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddBool'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternGetBool'
> /usr/lib/libXft.so.2: undefined reference to `FcFreeTypeCharSet'
> /usr/lib/libXft.so.2: undefined reference to `FcNameUnparse'
> /usr/lib/libXft.so.2: undefined reference to `FcNameConstant'
> /usr/lib/libXft.so.2: undefined reference to `FcObjectSetDestroy'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternDuplicate'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetHasChar'
> /usr/lib/libXft.so.2: undefined reference to `FcFontList'
> /usr/lib/libXft.so.2: undefined reference to `FcUtf16ToUcs4'
> /usr/lib/libXft.so.2: undefined reference to `FcUtf8ToUcs4'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternVaBuild'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternGetDouble'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetAddChar'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternGetString'
> /usr/lib/libXft.so.2: undefined reference to `FcInit'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternGetInteger'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternGetCharSet'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternCreate'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddString'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternGet'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddDouble'
> /usr/lib/libXft.so.2: undefined reference to `FcConfigSubstitute'
> /usr/lib/libXft.so.2: undefined reference to `FcObjectSetCreate'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternDestroy'
> /usr/lib/libXft.so.2: undefined reference to `FcCharSetCount'
> /usr/lib/libXft.so.2: undefined reference to `FcNameRegisterObjectTypes'
> /usr/lib/libXft.so.2: undefined reference to `FcObjectSetAdd'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternAdd'
> /usr/lib/libXft.so.2: undefined reference to `FcStrCmpIgnoreCase'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcPatternAddCharSet'
> /usr/lib/libXft.so.2: undefined reference to `FcConfigGetBlanks'
> /usr/lib/libXft.so.2: undefined reference to `FcFreeTypeCharIndex'
> /usr/lib/libXft.so.2: undefined reference to `FcNameParse'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternGetFTFace'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternGetMatrix'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetCreate'
> /usr/lib/libXft.so.2: undefined reference to `FcPatternPrint'
> /usr/lib/libXft.so.2: undefined reference to `FcFontMatch'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcCharSetDestroy'
> /usr/lib/qt-3.1/lib/libqt-mt.so: undefined reference to `FcFontSetDestroy'
> /usr/lib/libXft.so.2: undefined reference to `FcDefaultSubstitute'
> collect2: ld returned 1 exit status
> make[2]: *** [mythepg] Error 1
> make[2]: Leaving directory `/myth12/mythtv-0.12/programs/mythepg'
> make[1]: *** [sub-mythepg] Error 2
> make[1]: Leaving directory `/myth12/mythtv-0.12/programs'
> make: *** [sub-programs] Error 2
> [root at websvr1 mythtv-0.12]#
> 
> KDE is also broke now.  Spits out similar errors about the libXft.so.2
> undefined references.
> 
> On the way towards a "fix" I decided to try and upgrade gcc(upgraded via
> u2date)...here's what it looks like rpm version wise...
> 
> gcc-g77-3.2-7
> gcc-java-3.2-7
> gcc-gnat-3.2-7
> gcc-c++-3.2-7
> libgcc-3.2-7
> gcc-3.2-7
> 
> Thanks in advance for any help.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



More information about the mythtv-users mailing list