[PyKDE] Re: sip-3.11.1, PyKDE-3.11.3 build failure

Rex Dieter rdieter at math.unl.edu
Fri Oct 8 14:23:27 BST 2004


Phil Thompson wrote:
> On Thursday 07 October 2004 1:18 pm, Rex Dieter wrote:
> 
>>Is sipv3 supported anymore?

> It is deprecated. It should only be used by...
> - those who use Python 2.2 and earlier
                   ^^^^^^^^^^
I know.  By supported, I meant "Is this bug going to be fixed"?  (-:

> Should be fixed in tonight's snapshot.

Trying to build PyKDE-3.11.3 against sip3/sip-snapshot-20041007 errors 
out the same way as sip-3.11.1.  (I only rebuilt sip, not PyQt).

diffing the snapshot against sip-3.11.1 I didn't see much difference, 
the only significant change I saw was:

diff -ubB sip-3.11.1/configure.py sip-snapshot-20041007/configure.py
--- sip-3.11.1/configure.py     2004-09-24 11:55:28.000000000 -0500
+++ sip-snapshot-20041007/configure.py  2004-10-07 21:30:04.000000000 -0500
@@ -359,6 +359,12 @@
      if sys.platform == "darwin" and qt_version < 0x030100:
          siputils.error("PyQt for MacOS/X requires Qt v3.1.0 or later.")

+    # The way SIP v4.2 and later handle connections ...
+    # slots only works with Qt v3 and later.  T...
+    # SIP v3.
+    if qt_version < 0x030000 and sip_version >= 0x040000:
+        siputils.error("Qt v2.x and earlier require SIP v3.x.")
+
      # Try and work out which edition it is.
      global qt_edition



-- Rex



>>-- Rex
>>
>>Rex Dieter wrote 09/27/04:
>>
>>>Phil Thompson wrote:
>>>
>>>>SIP v4.1.1 and v3.11.1 have been released.  These are just bug fix
>>>>releases required to build PyKDE.
>>>
>>>I'm still seeing build failures trying to build PyKDE-3.11.3 against
>>>this newer sip-3.11.1.  sip seems to be creating an undeclared
>>>symbol/variable 'sipResErr' (it appears in several places, but
>>>kdecorepart0.cpp is the first):
>>>
>>>make[2]: Entering directory `/usr/local/tmp/BUILD/PyKDE-3.11.3/kdecore'
>>>g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=i386
>>>-mcpu=i686 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
>>>-I../extra/kde330 -I/usr/include/kde -I/usr/include/python2.2
>>>-I/usr/lib/qt-3.3/include -I/usr/X11R6/include -o kdecorepart0.o
>>>kdecorepart0.cpp
>>>kdecorepart0.cpp: In static member function `static const KShortcut&
>>>   sipKShortcutList::sipVH_shortcutDefault(const sipMethodCache*,
>>>sipThisType*, unsigned int)':
>>>kdecorepart0.cpp:55794: `sipResErr' undeclared (first use this function)
>>
>>_______________________________________________
>>PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
>>http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
> 
> 
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




More information about the PyQt mailing list