I know this is probably something trivial, but I cannot seem to find the answer. I have just completed a fresh install of Scientific Linux 6.5 - which ships with Python 2.6 and Qt 4.6.2. I wish to use the Python interpreter python2.7.8 so downloaded this and installed. I use the QtDesigner for ease when making guis, so then need the PyQt bindings to go with it. I therefore downloaded SIP-4.16.3, configured with: 
python2.7 ./configure (in the sip download directory)
to make the bindings for the newer version of python. Everything works fine so far.
I then try to install PyQt4.11.2 in the same way:
python2.7 ./configure --qmake=/usr/lib/qt4/bin/qmake -g (to pick up the qt4 version of qmake with static qt libraries)
the configure script completes fine, but I get the following error during 'make':
error: ‘PrintCurrentPage’ is not a member of ‘QAbstractPrintDialog’
..../Downloads/PyQt-x11-gpl-4.11.2/QtGui/sipQtGuiQAbstractPrintDialog.cpp:1787: error: too many initializers for ‘sipEnumMemberDef’
make[1]: * [sipQtGuiQAbstractPrintDialog.o] Error 1
make[1]: Leaving directory `..../Downloads/PyQt-x11-gpl-4.11.2/QtGui'
make: * [all] Error 2
I am at this point a little lost and have been bashing my head for a while, it must be something simple I have missed, any help would be great.
Thanks in advance
Search string 'PrintCurrentPage' in files of your PyQt-package. You will find it in 4 files.
Remove corresponded lines with string 'PrintCurrentPage'
Installing PyQt4.11.2 on Scientific Linux 6.5