Bug 139570 - games-puzzle/kiki-1.0.2 doesn't run with swig-1.3.29
|
Bug#:
139570
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: nyhm@gentoo.org
|
|
Component: Games
|
|
|
URL:
|
|
Summary: games-puzzle/kiki-1.0.2 doesn't run with swig-1.3.29
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-07-07 09:08 0000
|
Traceback (most recent call last):
File "/usr/share/games/kiki/py/env.py", line 43, in ?
world = Controller.world
AttributeError: 'PySwigObject' object has no attribute 'world'
Segmentation fault (core dumped)
Works with swig-1.3.25.
Same error here. Tested with swig-1.3.29 and swig-1.3.25, both don't work.
Or maybe kiki shouldn't work with python-2.4?
try emerge -1 =swig-1.3.25 kiki
(In reply to comment #2)
> try emerge -1 =swig-1.3.25 kiki
>
good point :)
I really downgraded to swig-1.3.25 without re-emerging kiki.
Thanks.
Kiki can run with swig 1.3.29. In Pardus packages we regenerate the swig stuff
with something like this. The syntax is taken from Makefile.
shelltools.cd("SWIG")
shelltools.system("swig -c++ -python -globals kiki -o KikiPy_wrap.cpp
KikiPy.i")
shelltools.copy("kiki.py", "../py/")
You can also check out how the kiki package is built from here,
http://svn.pardus.org.tr/pardus/devel/applications/games/kiki/
Thought you would like to know.