Проблемы при установке PyQt4.

Обсуждение установки, настройки и использования LinuxCNC. Вопросы по Gкоду.
nautilus
Новичок
Сообщения: 17
Зарегистрирован: 04 янв 2012, 17:14
Репутация: 0
Контактная информация:

Проблемы при установке PyQt4.

Сообщение nautilus »

Хочу поставить Ubuntu 10.04 от linuxcnc с соответствующим ядром.
Установлен Python 2.6.5, поставил "SIP-4.13.2" затем "Qt 4 gmake Makefile generator tool" затем получил затык при команде $ python ./config.py :

Failed to determining the layout of your Qt installation. Try again using the --verbose flag to see more detail about the problem.
Determining the layout of your Qt installation...
/usr/bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o qtdirs.o qtdirs.cpp
qtdirs.cpp:1:28: error: QCoreApplication: No such file or directory
qtdirs.cpp:2:17: error: QFile: No such file or directory
qtdirs.cpp:3:24: error: QLibraryInfo: No such file or directory
qtdirs.cpp:4:23: error: QTextStream: No such file or directory
qtdirs.cpp: In function ‘int main(int, char**)’:
qtdirs.cpp:8: error: ‘QCoreApplication’ was not declared in this scope
qtdirs.cpp:8: error: expected ‘;’ before ‘app’
qtdirs.cpp:9: error: ‘QFile’ was not declared in this scope
qtdirs.cpp:9: error: expected ‘;’ before ‘outf’
qtdirs.cpp:11: error: ‘outf’ was not declared in this scope
qtdirs.cpp:11: error: ‘QIODevice’ has not been declared
qtdirs.cpp:11: error: ‘QIODevice’ has not been declared
qtdirs.cpp:11: error: ‘QIODevice’ has not been declared
qtdirs.cpp:14: error: ‘QTextStream’ was not declared in this scope
qtdirs.cpp:14: error: expected ‘;’ before ‘out’
qtdirs.cpp:16: error: ‘out’ was not declared in this scope
qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:20: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:20: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:21: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:21: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:23: error: ‘QT_VERSION’ was not declared in this scope
qtdirs.cpp:24: error: ‘QT_EDITION’ was not declared in this scope
qtdirs.cpp:26: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:92: error: ‘qreal’ was not declared in this scope
qtdirs.cpp: At global scope:
qtdirs.cpp:6: warning: unused parameter ‘argc’
qtdirs.cpp:6: warning: unused parameter ‘argv’
make: *** [qtdirs.o] Error 1
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.

Для чего ставлю - есть задумка, писать внешние мастера для ЕМС2 с нормальной графикой.
На одном из сайтов по убунту просил помощи, все ссылаются на репозитории, но там нет этого пакета, есть только приблуды к нему.
Только это в консоль вываливается. Даже не знаю куда копать. Выручайте!
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Проблемы при установке PyQt4.

Сообщение Nick »

Зачем тебе Qt? Чем GTK не подошел?
А вообще стоит что-нибудь вроде python-qt?
Ответить

Вернуться в «LinuxCNC»