[PyQt] Re: Re: PyKDE and undefined symbols
Bart
uzi18 at o2.pl
Wed Sep 5 22:00:21 BST 2007
Thank You for answare.
Errors in compilation was because sip 4.7 .
That is original archive from riverbankcomputing.com md5:
92fa0f7d6063dc2aad97d5302975ca76
Sorry but version from website doesn't offer -x option :
[uzi at uzi PyKDE-3.16.0]$ python configure.py -x
Usage:
python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] [-n dir]
[-o dir] [-r] [-u] [-v dir] [-z file]
where:
-h displays this help message
-c concatenates each module's C/C++ source files [default]
-d dir where the PyKDE modules will be installed [default
/usr/lib/python2.5/site-packages]
-g always release the GIL (SIP v3.x behaviour)
-i no concatenation of each module's C/C++ source files
-j # splits the concatenated C++ source files into # pieces
[default 1]
-k dir the KDE base directory
-L dir the library directory name [default lib]
-n dir the directory containing the KDE lib files
-o dir the directory containing the KDE header files
-r generates code with tracing enabled [default disabled]
-u build with debugging symbols
-v dir where the PyKDE .sip files will be installed [default
/usr/share/sip]
-w turn on KDE deprecated object warnings when compiling
[default off]
-z file the name of a file containing command line flags
If reporting errors, paste all of the output above into your
message and post to the PyKDE mailing list at:
mailto: PyKDE at mats.imk.fraunhofer.de
subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
You can redirect the output into a file (> output.txt) if needed
Do You think patch from dist. gaves problem with these symbols?
--- PyKDE-3.16.0/configure.py.orig 2006-09-22 10:05:49.000000000 +0200
+++ PyKDE-3.16.0/configure.py 2006-09-25 13:32:52.000000000 +0200
@@ -762,20 +762,6 @@
installs= [("pykdeconfig.py", opt_pykdemoddir), ("contrib/kdepyuic", sipcfg.default_bin_dir)]
).generate()
- if kde_version >= 0x030500:
- f = open ("Makefile", "r")
- buff = f.read ()
- f.close ()
- target = os.path.join (opt_kdelibdir, "kde3", "libkonsolepart.so")
- symlink = os.path.join (opt_kdelibdir, "libkonsolepart.so")
- buff = buff.replace ("install:\n", "install:\n\tln -sf %s %s\n" % (target, symlink))
- buff = buff.replace ("\nclean", "\tldconfig\n\nclean")
- f = open ("Makefile.new", "w")
- f.write (buff)
- f.close ()
- os.unlink ("Makefile")
- os.rename ("Makefile.new", "Makefile")
-
def fileOpts (fn):
try:
optfile = open (fn, 'r')
More information about the PyQt
mailing list