Hello,

I have successfully compile the sip into my python2.7 on REHL5.4 system. However, I have got an error when I tried to compile PyQt4. the error is shown at below.


make[1]: Entering directory `/gpfs/thirdparty/auk-cfms-r/home/fzhu/PyQt-x11-gpl-4.8.6/designer' g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DPYTHON_LIB=\"libpython2.6.so\" -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt4/include/QtDesigner -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtXml -I/usr/lib64/qt4/include/QtXml -I/usr/lib64/qt4/include -I../../../../apps/tau/dlr-tau/epd6/include/python2.6 -I. -I. -o pluginloader.o pluginloader.cpp

pluginloader.h:39: error: expected constructor, destructor, or type conversion before ‘class’
pluginloader.h:43: error: expected constructor, destructor, or type conversion before ‘class’

make[1]: *** [pluginloader.o] Error 1 make[1]: Leaving directory `/gpfs/thirdparty/auk-cfms-r/home/fzhu/PyQt-x11-gpl-4.8.6/designer' make: *** [all]

Error 2


Could anyone please help me to figure it out what is wrong? I really need it to be sort out soon. Is this problem caused by REHL 5.4 should I use older version?

Thanks very much!

Cheers,

Feng