[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] compile error in PyKDE-3.11alpha6
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2004-04-25 17:01:09
Message-ID: 200404251001.09697.jbublitz () nwinternet ! com
[Download RAW message or body]

On Sunday April 25 2004 07:41, Karsten Künne wrote:
> Hi,
>
> I tried PyKDE-3.11alpha6 today on a Solaris 8 box and I got
> the following error:
>
> gmake[1]: Entering directory
>  `/usr/local/src/kde/kde-3.2.2/PyKDE-3.11alpha6/ kdecore'
> g++ -c -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I../ extra/kde322
> -I/usr/local/products/kde/kde-3.2.2/include -I/usr/local/
> products/python/2.3.3/include/python2.3
> -I/usr/local/products/kde/qt-3.3.1/ include
> -I/usr/openwin/include -o kdecorepart0.o kdecorepart0.cpp
> kdecorepart0.cpp: In function `PyObject*
> sipDo_KStartupInfoData_pids(PyObject*,
>    PyObject*)':
> kdecorepart0.cpp:45896: error: cannot convert `const
> QValueList<pid_t>*' to ` const QValueList<int>*' in assignment
> gmake[1]: *** [kdecorepart0.o] Error 1
> gmake[1]: Leaving directory
>  `/usr/local/src/kde/kde-3.2.2/PyKDE-3.11alpha6/ kdecore'
> gmake: *** [all] Error 2
>
> My setup:
>
> sip-3.10.1
> Qt-3.3.1
> PyQt-3.11
> KDE-3.2.2
> gcc-3.3.3
> Solaris 8
>
> I worked around it by simply putting a cast to "const
> QValueList<int>*" into kdecorepart0.cpp at line 45896. But
> this is of course not a proper fix. It's just that I don't
> know what the proper fix in the appropriate sip file would be.

That's a good fix - the other workaround I'd suggest at the 
moment (which is an even less proper fix) is to comment out the 
affected method in kstartupinfo.sip (at the end of the file).

It looks like I tried to re-use some handwritten code for the 
template on the cheap (since pid_t is typedef'd from int).  I'll 
implement it explicitly for pid_t in the next release (alpha7). 
I'd appreciate if you (or another Solaris user) could test that, 
as I can't reproduce the error under Linux.

Thanks

Jim

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic