[PyKDE] Problems compiling on amd64
Hans-Peter Jansen
hpj at urpla.net
Tue Apr 27 16:42:00 BST 2004
On Tuesday 27 April 2004 00:00, Pascal Hahn wrote:
> Hi there,
>
> I tried to compile pykde-3.11_alpha6
>
> I first had problems with my sip installation(too new version), but
> got that fixed regarding the mailinglist archives.
>
> But now I get c++ errors with my dcop.
>
> Anyone perhaps got an idea or a fix?
>
> heres my output of the compiling:
>
>
> PyKDE version 3.11.0
> -------
>
> Python include directory is /usr/include/python2.3
> Python version is 2.3.3
>
> sip version is 3.10.1 (3.10.1)
>
> Qt directory is /usr/qt/3
> Qt version is 3.3.1
>
> PyQt directory is /usr/share/sip
> PyQt version is 3.11 (3.11.0)
>
> KDE base directory is /usr/kde/3.2
> KDE include directory is /usr/kde/3.2/include
> KDE lib directory is /usr/kde/3.2/lib
> KDE version is 3.2.2 (0x30202)
>
> PyKDE modules to be built:
> dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kjs kspell
> kdeprint
>
> PyKDE modules will be installed in /usr/lib/python2.3/site-packages
> PyKDE .sip files will be installed in /usr/share/sip
On 64 bit archs, you typically use related lib dirs. Here are excerpts
(somewhat) from my x86_64 rpm build spec:
%python_site: /usr/lib64/python2.3/site-packages
Not sure, if KDE 3.2.2 is already supported (search for existence of
some *kde322.diff files), otherwise try:
for i in $(find sip -name \*-kde320.diff); do
o=$(echo $i | sed "s|kde320|kde322|g")
ln -s $(basename $i) $o
done
ln -s kde320 extra/kde322
Run configure.py with -d %python_site and -n $KDEDIR/lib64 options
Good luck,
Pete
More information about the PyQt
mailing list