From: vi_shen <vi...@fr...> - 2006-10-05 09:49:07
|
Hi, All my packages sources are download from : http:// www.riverbankcomputing.com/ I am on a ibook G4 with mac os X 10.4.8 the goal is to install eric3 (I have some instabilities with the sourceforge bundle eric3) QT : I first builded and install qt-mac-opensource-src-4.2.0 (it was so long, some 7 hours to compil) it be install on /usr/local/Trolltech/Qt-4.0.2/ I added a QTDIR on this path and added the bin in the PATH Qscintilla : the first package qscintilla-1.65-gpl-1.6 didn't work the 'sudo qmake qscintilla.pro' is ok but the 'sudo make' give an error : c++ -c -pipe -Os -w -F/usr/local/Trolltech/Qt-4.2.0/lib -fPIC - DQEXTSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB - DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.2.0/mkspecs/macx- g++ -I. -I/usr/local/Trolltech/Qt-4.2.0/lib/QtCore.framework/Versions/ 4/Headers -I/usr/local/Trolltech/Qt-4.2.0/include/QtCore -I/usr/local/ Trolltech/Qt-4.2.0/include/QtCore -I/usr/local/Trolltech/Qt-4.2.0/lib/ QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.2.0/ include/QtGui -I/usr/local/Trolltech/Qt-4.2.0/include/QtGui -I/usr/ local/Trolltech/Qt-4.2.0/include -I. -I../include -I../src -I. -I. - o ./qextscintilla.o qextscintilla.cpp In file included from qextscintilla.cpp:28: qextscintilla.h:29:25: error: qguardedptr.h: No such file or directory In file included from qextscintilla.cpp:31: qextscintillacommandset.h:27:22: error: qptrlist.h: No such file or directory ./qextscintillabase.h:2108: error: `WFlags' has not been declared qextscintilla.h:263: error: `WFlags' has not been declared qextscintilla.h:1202: error: 'Qt::ButtonState' has not been declared ... qextscintilla.cpp:2448: error: 'lexer' was not declared in this scope qextscintilla.cpp: In member function `QString QextScintilla::convertText(const char*)': qextscintilla.cpp:2573: error: 'class QString' has no member named 'setLatin1' make: *** [qextscintilla.o] Error 1 zsh: exit 2 sudo make so I tried the qscintilla-1.71-gpl-2-snapshot-20061001 It worked Sip : no problem with the sip-4.4.5 PyQt : the python configure.py is ok but when I do the 'sudo make' this error message appear : c++ -c -pipe -fPIC -Os -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/ Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/ usr/local/Trolltech/Qt-4.2.0/mkspecs/default -I/usr/local/Trolltech/ Qt-4.2.0/include -I/usr/local/Trolltech/Qt-4.2.0/lib/QtCore.framework/ Headers -F/usr/local/Trolltech/Qt-4.2.0/lib -o sipQtCoreQIODeviceOpenMode.o sipQtCoreQIODeviceOpenMode.cpp c++ -c -pipe -fPIC -Os -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/ Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/ usr/local/Trolltech/Qt-4.2.0/mkspecs/default -I/usr/local/Trolltech/ Qt-4.2.0/include -I/usr/local/Trolltech/Qt-4.2.0/lib/QtCore.framework/ Headers -F/usr/local/Trolltech/Qt-4.2.0/lib -o sipQtCoreQFSFileEngine.o sipQtCoreQFSFileEngine.cpp sipQtCoreQFSFileEngine.cpp: In copy constructor `QFSFileEngine::QFSFileEngine(const QFSFileEngine&)': /usr/local/Trolltech/Qt-4.2.0/lib/QtCore.framework/Headers/ qabstractfileengine.h:153: error: 'QAbstractFileEngine::QAbstractFileEngine(const QAbstractFileEngine&)' is private sipQtCoreQFSFileEngine.cpp:51: error: within this context make[1]: *** [sipQtCoreQFSFileEngine.o] Error 1 make: *** [all] Error 2 zsh: exit 2 sudo make I did some research on google with the key words : qabstractfileengine.h:153 + error + QAbstractFileEngine and find nothin thanks for your help if you have some idea, if I did some mistakes, if there an other way. |