pyqt compilation problem

Surya Kiran skg at fluent.co.in
Mon May 26 04:04:42 EDT 2003


> > hi,
> > I'm trying to compile pyqt 3.5 gpl version on my Redhat 8.0 machine.
> > I'm using python 2.2 with gcc-3.2.3 and qt-3.1.2 and sip 3.6 gpl
> > version.
> > 
> 
> If what you write above is correct, try using PyQt 3._6_ with sip 3.6 -- you
> appear to have a version mismatch.

Now i'm trying to get pyqt3.5 build with sip3.5 and qt3.1.2. even then
i'm getting the same problem.
=================
<command line>:1:1: macro names must be identifiers
In file included from qtcmodule.cpp:159:
sipqtQMutex.h:38: syntax error before `*' token
In file included from qtcmodule.cpp:160:
sipqtQMutexLocker.h:39: syntax error before `*' token
In file included from qtcmodule.cpp:192:
sipqtQSemaphore.h:38: syntax error before `*' token
In file included from qtcmodule.cpp:230:
sipqtQThread.h:43: syntax error before `{' token
sipqtQThread.h:46: syntax error before `unsigned'
sipqtQThread.h:47: destructors must be member functions
sipqtQThread.h:60: syntax error before `private'
sipqtQThread.h:62: syntax error before `&' token
sipqtQThread.h:65: syntax error before `}' token
sipqtQThread.h:67: syntax error before `*' token
In file included from qtcmodule.cpp:250:
sipqtQWaitCondition.h:39: syntax error before `*' token
make: *** [qtcmodule.o] Error 1
========================




More information about the Python-list mailing list