sci-geosciences/qgis не компилируется РЕШЕНО
Black_Ru 21 июля, 2011 - 20:46
[ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgslogger.cpp.o [ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsmaplayer.cpp.o /var/tmp/portage/sci-geosciences/qgis-1.4.0/work/qgis-1.4.0/src/core/qgshttptransaction.cpp: In constructor ‘QgsHttpTransaction::QgsHttpTransaction(QString, QString, int, QString, QString, QNetworkProxy::ProxyType, QString, QString)’: /var/tmp/portage/sci-geosciences/qgis-1.4.0/work/qgis-1.4.0/src/core/qgshttptransaction.cpp:51: error: call of overloaded ‘QString(int)’ is ambiguous /usr/include/qt4/QtCore/qstring.h:426: note: candidates are: QString::QString(const char*) /usr/include/qt4/QtCore/qstring.h:725: note: QString::QString(const QString&) /usr/include/qt4/QtCore/qstring.h:106: note: QString::QString(QChar) /usr/include/qt4/QtCore/qstring.h:105: note: QString::QString(const QChar*) /var/tmp/portage/sci-geosciences/qgis-1.4.0/work/qgis-1.4.0/src/core/qgshttptransaction.cpp:51: error: call of overloaded ‘QString(int)’ is ambiguous /usr/include/qt4/QtCore/qstring.h:426: note: candidates are: QString::QString(const char*) /usr/include/qt4/QtCore/qstring.h:725: note: QString::QString(const QString&) /usr/include/qt4/QtCore/qstring.h:106: note: QString::QString(QChar) /usr/include/qt4/QtCore/qstring.h:105: note: QString::QString(const QChar*) make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgshttptransaction.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2 make: *** [all] Error 2 emake failed * ERROR: sci-geosciences/qgis-1.4.0 failed (compile phase): * Make failed!
Я так понимаю, ошибка связана с qt
/var/tmp/portage/sci-geosciences/qgis-1.4.0/work/qgis-1.4.0/src/core/qgshttptransaction.cpp:51: error: call of overloaded ‘QString(int)’ is ambiguous
А попытка собрать qgis-1.7.0 дает такой результат.
Found Python library: /usr/lib64/libpython2.7.so -- Found SIP version: 4.12.3 Traceback (most recent call last): File "/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/cmake/FindPyQt.py", line 5, in <module> import PyQt4.pyqtconfig ImportError: No module named PyQt4.pyqtconfig -- <<< Gentoo configuration >>>
»
- Для комментирования войдите или зарегистрируйтесь
1.7.0 работаэ.либо вырубайте
1.7.0 работаэ.
либо вырубайте питон, либо разберитесь с ним.
Например
, ну, или ручками перебирайте всё на что ругается, начиная с PyQt4