just a quick note to you and everyone interested in using cgkit on Linux: After an upgrade to Ubuntu 9.04 and a fresh build from the trunk using Python 2.6 and boost-python 1.37 the segfault issue seems to be gone. I didn't do a lot of testing until now, but importing scene module works fine. Perhaps this ugly thing wasn't caused by your code at all?
Regarding Python 2.6 there's a small bug to fix, if you want to go for Python 2.6 with your next release:
#160 ps,as,ms,qs = self._slots[i]
The keyword "as" is not allowed as a variable name any more, it leads to a syntax error with python 2.6 interpreter.