[EMAIL PROTECTED] wrote:

On Fri, 15 Oct 2004 00:03:08 +0200, Maurizio Colucci wrote


Here we go again... :(

On Mandrake 10.1, after compiling and installing qscintilla, sip,
PyQt, I am getting errors with PyKDE 3.11.3.

This is gcc 4.0.0, but I also tried also 3.3 and 3.4.1.

Of course I am clueless, and desperate :)

[EMAIL PROTECTED] PyKDE-3.11.3]# python configure.py

    PyKDE version 3.11.3
          -------

Python include directory is /usr/include/python2.3
Python version is 2.3.4

sip version is 4.1.1 (4.1.1)

Qt directory is /usr/lib/qt3/
Qt version is 3.3.3

PyQt directory is /usr/share/sip
PyQt version is 3.13 (3.13.0)

KDE base directory is /usr
KDE include directory is /usr/include
KDE lib directory is /usr/lib
KDE version is 3.2.3 (0x30203)

PyKDE modules will be installed in /usr/lib/python2.3/site-packages
PyKDE .sip files will be installed in /usr/share/sip

PyKDE modules to be built:
dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi


Generating the C++ source for the dcop module...
Creating the Makefile for the dcop module...

Generating the C++ source for the kdecore module...
Creating the Makefile for the kdecore module...

Generating the C++ source for the kdesu module...
Creating the Makefile for the kdesu module...

Generating the C++ source for the kdefx module...
Creating the Makefile for the kdefx module...

Generating the C++ source for the kdeui module...
Creating the Makefile for the kdeui module...

Generating the C++ source for the kio module...
Creating the Makefile for the kio module...

Generating the C++ source for the kfile module...
Creating the Makefile for the kfile module...

Generating the C++ source for the kparts module...
Creating the Makefile for the kparts module...

Generating the C++ source for the khtml module...
Creating the Makefile for the khtml module...

Generating the C++ source for the kspell module...
Creating the Makefile for the kspell module...

Generating the C++ source for the kdeprint module...
Creating the Makefile for the kdeprint module...

Generating the C++ source for the kmdi module...
Creating the Makefile for the kmdi module...

Creating top level Makefile...
Creating pykdeconfig.py...
[EMAIL PROTECTED] PyKDE-3.11.3]# make
make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-
pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include -
I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp /usr/lib/qt3//bin/moc -o moc_sipdcoppart0.cpp sipdcoppart0.h g++ -c -
Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include -
I/usr/X11R6/include -o moc_sipdcoppart0.o moc_sipdcoppart0.cpp g++ -shared -o dcop.so sipdcoppart0.o moc_sipdcoppart0.o -L/usr/lib -
L/usr/lib/qt3//lib -L/usr/X11R6/lib -lDCOP -lqt-mt -lXext -lX11 -lm -
lpthread make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/dcop'
make[1]: Entering directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -fomit-frame-
pointer -pipe -march=i586 -mtune=pentiumpro -Wall -W -D_REENTRANT -
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde323 -I/usr/include -I/usr/include/python2.3 -I/usr/lib/qt3//include -
I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp sip/kdecore/kmountpoint.sip: In function `PyObject* convertFrom_KMountPoint_List(void*)': sip/kdecore/kmountpoint.sip:141: warning: taking address of temporary sip/kdecore/kconfigskeleton.sip: In function `PyObject* meth_KConfigSkeleton_ItemEnum_choices(PyObject*, PyObject*)': sip/kdecore/kconfigskeleton.sip:183: warning: taking address of temporary
sipkdecorepart0.cpp: At global scope:
sipkdecorepart0.cpp:28723: warning: unused parameter 'sipPy'
sipkdecorepart0.cpp:28723: warning: unused parameter 'sipIsErr'
sipkdecorepart0.cpp: In function `PyObject* convertFrom_Display(void*)': sipkdecorepart0.cpp:28757: warning: unused variable 'sipCpp' sip/kdecore/kconfigbase.sip: In function `PyObject* convertFrom_ulonglong(void*)': sip/kdecore/kconfigbase.sip:319: warning: unused variable 'LongLong' sipkdecorepart0.cpp: At global scope: sipkdecorepart0.cpp:79640: warning: unused parameter 'sipSelf' /usr/include/kcatalogue.h: In function `PyObject* meth_KCatalogue_setFileName(PyObject*, PyObject*)
': /usr/include/kcatalogue.h:111: error: `void KCatalogue::setFileName(const QString&)' is private sipkdecorepart0.cpp:88734: error: within this context sip/kdecore/kwinmodule.sip: In function `PyObject* convertFrom_QValueList_2100(void*)': sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst' make[1]: *** [sipkdecorepart0.o] Error 1 make[1]: Leaving directory `/dat/pub/src/not-mau/PyKDE-3.11.3/kdecore'
make: *** [all] Error 2




Comment out (put // in front of) void setFileName in the lines

%If (  - KDE_3_3_0 )
                        KCatalogue (const QString& = QString ::null );
   void                 setFileName (const QString&);
%End


}; // class KCatalogue

of the file

sip/kdecore/kcatalogue.sip lines 23-60/60 (END)

Wipe out features, run python configure.py, run make




It's going :)

Since I don't understand what's going on... can you please tell me if this a PyKDE bug or a mandrake one? (if I post a bug to mandrake cooker's list I will post both)

Thanks again,

Mau

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to