This might not technically be the correct forum, since panda does build, but the build doesn’t actually work.
I’m using the 1.6.2 source code on 32-bit Debian 5.0.3.
I built it running makepanda --everything --installer, then used dpkg -i to install the .deb file.
pview runs fine, and shows the little blue triangle.
In python, trying to
import direct.directbase.DirectStart
causes a ton of “Attempt to register type … more than once!” errors.
Then I get a few warnings from interrogatedb: Classes x and x share the same TypeHandle value (y); check class definitions.
(The classes it warns about are TypedWritable (63), TypeHandle (64), CollisionHandler (326), CollisionHandlerEvent (327), CollisionHandlerPhysical (328), CollisionHandlerPusher (331), TypedWritableReferenceCount (67), and Lens (262)).
And then it segfaults.
Here’s the stack trace from gdb:
#0 0x0808bcc8 in PyObject_GetAttrString ()
#1 0xb77dd61a in DTOOL_Call_GetPointerThisClass ()
from /home/james/download/extract/3d/panda/panda3d-1.6.2/built/lib/libp3dtoolconfig.so
#2 0xb1ef2698 in Dtool_CIntervalManager_set_event_queue_51 () from /usr/lib/panda3d/libp3direct.so
#3 0x080ced81 in PyEval_EvalFrameEx ()
#4 0x080d0685 in PyEval_EvalCodeEx ()
#5 0x08117171 in ?? ()
#6 0x09dfb410 in ?? ()
#7 0x09dfc24c in ?? ()
#8 0x00000000 in ?? ()
CVS has its own issues, but at they don’t look anywhere near this ugly. I’m tempted to work from here instead (assuming my original error went away), if 1.7’s close, but our tech lead will insist on an officially released version that he can build himself.
Does anyone have any suggestions about where I might even begin to figure out what’s going on? (I didn’t see anything that seemed related in a forum search…I apologize if I missed it, or if this really and truly belongs elsewhere).
Thanks in advance,
James