Sure, my sip version is 4.7.9. Found as $ python Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sip >>> sip.SIP_VERSION_STR '4.7.9' >>> sip.SIP_VERSION 263945
I am trying to install from PyQt-mac-gpl-3.17.6 The QT I have is 3.3.8 $ /opt/local/lib/qt3/bin/qmake --version Qmake version: 1.07a (Qt 3.3.8) Qmake is free software from Trolltech ASA. I hope that helps. I'll be glad to provide any other information. On Wed, Mar 4, 2009 at 3:52 PM, Adam Tenderholt <[email protected]> wrote: > You should probably specify which versions of PyQt and SIP you are using. > > On Wed, Mar 4, 2009 at 9:53 AM, Yasir Suhail <[email protected]> wrote: >> I have Python 2.5, GCC 4.0, SIP, and QT3 installed. After running >> $ python configure.py -q /opt/local/lib/qt3/ >> >> I run make and it gives the following errors. Any ideas on what is going on? >> >> $ make >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtcmodule.o sipqtcmodule.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQPtrList.o sipqtQPtrList.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWorkspace.o sipqtQWorkspace.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWMatrix.o sipqtQWMatrix.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWizard.o sipqtQWizard.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWidgetStack.o sipqtQWidgetStack.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWidgetList.o sipqtQWidgetList.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWhatsThis.o sipqtQWhatsThis.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQWaitCondition.o sipqtQWaitCondition.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQVGroupBox.o sipqtQVGroupBox.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQVButtonGroup.o sipqtQVButtonGroup.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQVBox.o sipqtQVBox.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQVariant.o sipqtQVariant.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQValueList.o sipqtQValueList.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQRegExpValidator.o sipqtQRegExpValidator.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQDoubleValidator.o sipqtQDoubleValidator.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQIntValidator.o sipqtQIntValidator.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQValidator.o sipqtQValidator.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQUuid.o sipqtQUuid.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQUrlOperator.o sipqtQUrlOperator.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQUrlInfo.o sipqtQUrlInfo.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQUrl.o sipqtQUrl.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQTranslator.o sipqtQTranslator.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQTranslatorMessage.o sipqtQTranslatorMessage.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQToolTip.o sipqtQToolTip.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQToolTipGroup.o sipqtQToolTipGroup.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQToolButton.o sipqtQToolButton.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQToolBox.o sipqtQToolBox.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQToolBar.o sipqtQToolBar.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQTimer.o sipqtQTimer.cpp >> g++-4.0 -c -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG >> -DQT_THREAD_SUPPORT -I. -I/opt/local/lib/qt3/include >> -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >> -I/opt/local/lib/qt3/mkspecs/default -I/usr/X11R6/include -o >> sipqtQThread.o sipqtQThread.cpp >> sipqtQThread.cpp: In function 'PyObject* >> meth_QThread_currentThread(PyObject*, PyObject*)': >> sipqtQThread.cpp:143: error: invalid conversion from 'long unsigned >> int' to 'void*' >> make[1]: *** [sipqtQThread.o] Error 1 >> make: *** [all] Error 2 >> _______________________________________________ >> PyQt mailing list [email protected] >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
