[PyKDE] Python configure.py error: Unable to build mkfeatures utility

Phil Thompson phil at riverbankcomputing.co.uk
Fri Nov 18 17:53:37 GMT 2005


On Friday 18 November 2005 4:15 pm, Jason Zwolak wrote:
> I did nothing special and followed the README file distributed with PyQt
> and received the following errors.
>
> How do I compile PyQt?
>
> [jzwolak at mpf PyQt-x11-gpl-3.15.1]$ python configure.py -w
> This is the GPL version of PyQt 3.15.1 (licensed under the GNU General
> Public
> License) for Python 2.4.1 on linux2.
>
> Type 'L' to view the license.
> Type 'yes' to accept the terms of the license.
> Type 'no' to decline the terms of the license.
>
> Do you accept the terms of the license? yes
> SIP 4.3.1 is being used.
> qextscintillaglobal.h could not be found in /usr/lib/qt-3.3/include and
> so the
> qtext module will not be built. If QScintilla is installed then use the -n
> argument to explicitly specify the correct directory.
> Checking to see if the qtcanvas module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the qtnetwork module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the qttable module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the qtxml module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the qtgl module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the qtui module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the qtsql module should be built...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Checking to see if the QAssistantClient class is available...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Creating features file...
> cc1plus: error: unrecognized command line option "-fstack-protector"
> cc1plus: error: invalid parameter 'ssp-buffer-size'
> Error: Unable to build mkfeatures utility.

These are from your Qt configuration - which Linux distro/version are you 
using?

Can you send me your $QTDIR/mkspecs/linux-g++/qmake.conf file in case it's not 
getting parsed properly.

Phil




More information about the PyQt mailing list