Red Hat Bugzilla – Bug 157961
kig (part of kdeedu) does not have python scripting support
Last modified: 2007-11-30 17:11:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.6) Gecko/20040510
Description of problem:
kig does not have python scripting support enabled (no "script" button and
no python-script object in Objects->Other menu).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start kig
2. press Objects menu, then Other
3. an entry "python script" should be present
Actual Results: No python scripting possible
Expected Results: both a button and a menu entry for python scripting
During compile time there is a check for the presence of the libboost libraries,
necessary for the python scripting support in kig.
In the present case presumably the problem is due to an incompatibility between
the installed boost libraries:
and the compatibility compiler:
(note that kde does not compile with gcc 4.0.0)
as a counter-proof, kig was successfully compiled (with python scripting)
using gcc version 3.4.2; a proof of concept rpm was then created that can
be tested under FC4T3. Such rpm can be found at
in the same place you can also find a "compat-gcc-c++-34..." package
that contains the 3.4.2 gcc compiler + libstdc++ necessary to compile kig.
The corresponding "src.rpm" however is fake and also contains only the
executables of the compiler: I do not have the skill to produce a proper
It turns out that kde for FC4 was actually compiled with gcc 4.0.0; the
check in "./configure" of kde to blacklist gcc4.0.0 was probably not yet
included at the time when the tarball for FC4 was prepared. Python
scripting was intentionally disabled at ./configure time by including the
option "--disable-kig-python-scripting" for some reason.
A quick check using the latest "subversion" version of kig compiled
with gcc 4.0.0 (after removal of the blacklisting) with scripting enabled
produced an executable that is apparently OK. I also checked the python
scripting a bit.
So it seems that the "--disable-kig-python-scripting" flag could be
removed from the ./configure!
The reason ,why i disabled it temporary, is a compiler issue in the last time.
It's now too late for FC4, But i will surely enable it in next KDE-3.4.1 (FC4
(In reply to comment #2)
> The reason ,why i disabled it temporary, is a compiler issue in the last
> It's now too late for FC4, But i will surely enable it in next KDE-3.4.1
I just tried the latest update for FC4 (kdeedu-3.4.1), but the problem
is still there!
Is there a specific reason for disabling python scripting?
it seems that boost is needed to be fixed for building kig with python scripting
support on x86_64 plattform
I will try to build it in rawhide this week.
It's now fixed in kdeedu-3.4.1-2 and will be available in rawhide tomorrow.
For FC4 update, i'm still waiting for KDE-3.4.2 release.