LINUX.ORG.RU

QT 3.1.1 + Xft2 + KDE 3.1 + Redhat 8


0

0

Удалось ли кому нибудь собрать, qt 3.1.1 с опцией -xft?
Xft-devel-2.0-1.i386.rpm и Xft-2.0-1.i386.rpm установлены, сначала были пробдемы снахождение хедеров xft, вылечил с помощью -I 
и прикомпиляции получаю что-то вроде этого?!

/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternAddInteger'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternAddBool'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternGetBool'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcFreeTypeCharSet'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcNameUnparse'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcNameConstant'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcObjectSetDestroy'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternDuplicate'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcCharSetHasChar'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcFontList'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcUtf16ToUcs4'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcUtf8ToUcs4'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternVaBuild'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternGetDouble'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcCharSetAddChar'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternGetString'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcInit'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternGetInteger'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternGetCharSet'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternCreate'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternAddString'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternGet'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternAddDouble'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcConfigSubstitute'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcObjectSetCreate'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternDestroy'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcCharSetCount'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcNameRegisterObjectTypes'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcObjectSetAdd'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternAdd'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcStrCmpIgnoreCase'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcPatternAddCharSet'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcConfigGetBlanks'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcFreeTypeCharIndex'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcNameParse'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternGetFTFace'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternGetMatrix'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcCharSetCreate'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcPatternPrint'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcFontMatch'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcCharSetDestroy'
/opt/qt/lib/libqt-mt.so: undefined reference to `FcFontSetDestroy'
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libXft.so: undefined reference 
to `FcDefaultSubstitute'
collect2: ld returned 1 exit status
make[4]: *** [../../../bin/uic] Error 1
make[4]: Leaving directory `/opt/qt/tools/designer/uic'
make[3]: *** [sub-uic] Error 2
make[3]: Leaving directory `/opt/qt/tools/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/opt/qt/tools'
make[1]: *** [sub-tools] Error 2
make[1]: Leaving directory `/opt/qt'
make: *** [init] Error 2

Александр
anonymous

Была такая штука.
Восстановил хидеры из usr/X11R6/include/X11/extensions как были
и все заработало.
(А до этого я их из xft2 руками туда воткнул - их стало 108, по-моему,
и как раз такая гадость вылезала.

jackill ★★★★★
()
Ответ на: комментарий от jackill

у меня в  usr/X11R6/include/X11/extensions  нет хедеров xft :(

anonymous
()
Ответ на: комментарий от jackill

/usr/X11R6/include/X11/extensions - директория есть, хедеров нету :)

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.