[PyKDE] Re: PyKDE 3.7 Compile error (KDE/Qt 3.1.2 and Py 2.3)

Nickolaos Fotopoulos weasel at beyondnormal.org
Tue Sep 9 21:25:00 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When I run make I get the following error:

sip/kzip.sip: In function `PyObject* sipConvertFrom_ulonglong(ulonglong*)':
sip/kzip.sip:153: `LONG_LONG' undeclared (first use this function)
sip/kzip.sip:153: (Each undeclared identifier is reported only once for each
   function it appears in.)
sip/kzip.sip:153: syntax error before `)' token
sip/kzip.sip: In function `PyObject* sipConvertFrom_longlong(longlong*)':
sip/kzip.sip:115: syntax error before `)' token
make[1]: *** [kiohuge0.o] Error 1
make[1]: Leaving directory `/build/PyKDE-3.7-4/kio'
make: *** [sub-kio] Error 2

After a bit of google'ing I found this:  
http://mats.gmd.de/pipermail/pykde/2003-August/005823.html
and the proposed solution:
http://mats.gmd.de/pipermail/pykde/2003-August/005829.html

I tried this fix first by adding it to sip/kzip.sip, then by adding it to 
sip/global.sip, and finally by adding it to both files.  The error message 
generated when I attempt to run make is the same regardless of which of the 
above have been done to the source, and even with the clean source (unedited 
by me).

This is a sample of what the edited source looks like:
%If (KDE_3_1_0 - )
%MappedType longlong
//converts a Python long
{
%HeaderCode
typedef long long longlong;
#define LONG_LONG PY_LONG_LONG
%End

The #define line was added.  Could it possibly be something to do with the 
%If(KDE_3_1_0 - ) line?

I am running KDE 3.1.2, Qt 3.1.2, and Python 2.3.

Thanks,
that weasel (Nick)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/XijbvfQ29oUKgx0RAsb7AJ4qq4K5ch2poRqqiZ1qKe5dy1tu0ACgzgNk
wMEQnYUjbBPHCP0hhTL4gAk=
=UEl6
-----END PGP SIGNATURE-----




More information about the PyQt mailing list