[PyKDE] PyKDE on RH7.0 - compile problems
Phil Thompson
phil at river-bank.demon.co.uk
Sat Mar 17 02:57:44 GMT 2001
Hirendra Hindocha wrote:
>
> Hi ,
>
> I downloaded and installed Sip 2.3, PyQt-2.3 and now I'm trying to
> install PyKDE and running into compile problems .
> 2.2.16 on RH7.0 with Python1.5.2 and Qt 2.2.4 and KDE 2.1 with
> KDE 1 compat used here
>
> Here's the error -
>
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python1.5
> -I/home/hiren/pub/sip/include/sip -I/usr/lib/qt-2.2.4//include
> -I/usr/X11R6/include -I/usr/lib/kde1-compat/include/ -fno-exceptions -O2
> -Wp,-MD,.deps/kdecorecmodule.pp -c -fPIC -DPIC kdecorecmodule.cpp -o
> kdecorecmodule.lo
> kdecorecmodule.cpp: In function `PyObject *registerClasses (PyObject *,
> PyObject *)':
> kdecorecmodule.cpp:758: cannot convert `const void *(*) ()' to `const
> void *' in initialization
> make[2]: *** [kdecorecmodule.lo] Error 1
> make[2]: Leaving directory `/mnt/disk2/hiren/pub/src/PyKDE-2.3/kdecore'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/disk2/hiren/pub/src/PyKDE-2.3'
> make: *** [all-recursive-am] Error 2
First thing to point out is that PyKDE only supports KDE v1.x which
means you must use Qt v1.x.
Second, as I understand it, RedHat 7.0 has a non-standard C++ compiler
which may be finding faults with the generated code. I may have a RH7
environment available in a couple of weeks in which case I should be
able to fix the problem.
Phil
More information about the PyQt
mailing list