[PyQt] trouble installing pyqt4 from source on fedora 13
dsdale24 at gmail.com
Thu Sep 30 16:24:47 BST 2010
On Thu, Sep 30, 2010 at 10:33 AM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Thu, 30 Sep 2010 10:16:27 -0400, Darren Dale <dsdale24 at gmail.com>
>> I just upgraded the OS on a computer at work to fedora 13, and I am
>> attempting to install sip and pyqt4 from source (since the versions
>> provided by the package manager are surprisingly out of date.) When I
>> run "python configure.py", I get the following:
>> Determining the layout of your Qt installation...
>> Error: Qt has been built as static libraries so either the -g or -k
>> should be used.
>> I don't think this is accurate. I have installed the qt-devel package
>> (4.6.3-8fc13.x86_64), and my /usr/lib64 contains the libQt*.so files
>> for all the .so files I expected to see. Here are the contents of
>> Open Source
>> Could anyone suggest what I've overlooked? According to
>> , the packages I have installed should have provided the shared
>> libraries, but I must be missing something.
> configure.py is checking to see if QT_SHARED is defined (the blank line in
> the output implies it is not). The .pro it creates for qtdirs contains a
> workaround for "certain" broken distros to make sure it is set properly.
> Maybe the workaround no longer works.
I found some bug reports/discussion that might be relevant:
from https://svn.zib.de/lenne3d/tools/cmake/2.4.5/Modules/FindQt4.cmake :
# warning currently only qconfig.pri on Windows potentially
# so QT_SHARED might not get defined properly on Mac/X11 (which
seems harmless right now)
# Trolltech said they'd consider exporting it for all platforms in
I tried also to find how the fedora devs managed to patch and build
pyqt in the fedora environment, but I can't find anything. Aren't they
compelled by the terms of the GPL to make such patches available?
More information about the PyQt