Возникла проблема с установкой Qt 4.8 (32x) на openSUSE 10.2

IDE, VCS и прочее

Модератор: Модераторы разделов

kryuch
Сообщения: 44
ОС: openSUSE 10.0

Возникла проблема с установкой Qt 4.8 (32x) на openSUSE 10.2

Сообщение kryuch »

Возникла проблема с установкой Qt 4.8 (32x) на openSUSE 10.2

Код: Выделить всё

kr-desktop:/tmp/qt-everywhere-opensource-src-4.8.2 # make
cd src/tools/bootstrap/ && make -f Makefile
make[1]: Entering directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/bootstrap'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/bootstrap'
cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/moc'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/moc'
cd src/tools/rcc/ && make -f Makefile
make[1]: Entering directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/rcc'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/rcc'
cd src/tools/uic/ && make -f Makefile
make[1]: Entering directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/uic'
make[1]: Цель `first' не требует выполнения команд.
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/tools/uic'
cd src/corelib/ && make -f Makefile
make[1]: Entering directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/corelib'
g++ -c -include .pch/release-shared/QtCore -pipe -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../../tools/shared -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o .obj/release-shared/qmutex_unix.o thread/qmutex_unix.cpp
/usr/include/linux/futex.h:96: error: ‘u32’ was not declared in this scope
/usr/include/linux/futex.h:96: error: ‘uaddr’ was not declared in this scope
/usr/include/linux/futex.h:96: error: expected primary-expression before ‘int’
/usr/include/linux/futex.h:96: error: ‘u32’ was not declared in this scope
/usr/include/linux/futex.h:96: error: expected primary-expression before ‘unsigned’
/usr/include/linux/futex.h:97: error: ‘u32’ was not declared in this scope
/usr/include/linux/futex.h:97: error: ‘uaddr2’ was not declared in this scope
/usr/include/linux/futex.h:97: error: ‘u32’ was not declared in this scope
/usr/include/linux/futex.h:97: error: ‘u32’ was not declared in this scope
/usr/include/linux/futex.h:97: error: initializer expression list treated as compound expression
/usr/include/linux/futex.h:100: error: ‘u32’ was not declared in this scope
/usr/include/linux/futex.h:100: error: ‘uaddr’ was not declared in this scope
/usr/include/linux/futex.h:100: error: expected primary-expression before ‘struct’
/usr/include/linux/futex.h:100: error: expected primary-expression before ‘int’
/usr/include/linux/futex.h:100: error: initializer expression list treated as compound expression
make[1]: *** [.obj/release-shared/qmutex_unix.o] Ошибка 1
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.8.2/src/corelib'
make: *** [sub-corelib-make_default-ordered] Ошибка 2


При установке из инсталятора ругается на глибс

Код: Выделить всё

kr-desktop:/tmp # ./QtSdk-online-linux-x86-v1.2.1.run
./QtSdk-online-linux-x86-v1.2.1.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./QtSdk-online-linux-x86-v1.2.1.run)
./QtSdk-online-linux-x86-v1.2.1.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./QtSdk-online-linux-x86-v1.2.1.run)
./QtSdk-online-linux-x86-v1.2.1.run: /lib/libc.so.6: version `GLIBC_2.9' not found (required by ./QtSdk-online-linux-x86-v1.2.1.run)
./QtSdk-online-linux-x86-v1.2.1.run: /lib/libc.so.6: version `GLIBC_2.10' not found (required by ./QtSdk-online-linux-x86-v1.2.1.run)
./QtSdk-online-linux-x86-v1.2.1.run: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./QtSdk-online-linux-x86-v1.2.1.run)
./QtSdk-online-linux-x86-v1.2.1.run: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./QtSdk-online-linux-x86-v1.2.1.run)


Как можно это победить?
Спасибо сказали:
Аватара пользователя
Stauffenberg
Сообщения: 2042
Статус: ☮ PEACE ☮
ОС: открытая и свободная

Re: Возникла проблема с установкой Qt 4.8 (32x) на openSUSE 10.2

Сообщение Stauffenberg »

Уже не актуально наверное, но ругается не на glibc, а на не ту версию glibc... что само собой разумеется, учитывая версию openSUSE (блин, это же самая первая версия openSUSE!)

Код: Выделить всё

rpm -q glibc


Вообще пересборка Qt4.8 для системы 6 летней давности дело конечно интересное.
Labor omnia vincit

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” (Brian Kernighan)
Спасибо сказали: