I managed to compile Panda3D on Ubuntu (latest = Hoary?), but it won’t run. I get the following errors:
mike@olaf:/opt/panda3d/samples/Basic-Tutorials--Lesson-1-Scene-Graph$ python Tut-Step-1-Blank-Window.py
DirectStart: Starting the game.
Traceback (most recent call last):
File "Tut-Step-1-Blank-Window.py", line 11, in ?
import direct.directbase.DirectStart
File "/opt/panda3d/built/direct/../../direct/src/directbase/DirectStart.py", line 3, in ?
from direct.showbase import ShowBase
File "/opt/panda3d/built/direct/../../direct/src/showbase/ShowBase.py", line 6, in ?
from pandac.PandaModules import *
File "/opt/panda3d/built/pandac/PandaModules.py", line 25, in ?
exec "from PandaModulesUnsqueezed import *"
File "<string>", line 1, in ?
File "/usr/lib/python2.4/ihooks.py", line 404, in import_module
q, tail = self.find_head_package(parent, str(name))
File "/usr/lib/python2.4/ihooks.py", line 440, in find_head_package
q = self.import_it(head, qname, parent)
File "/usr/lib/python2.4/ihooks.py", line 495, in import_it
m = self.loader.load_module(fqname, stuff)
File "<package>", line 29, in load_module
File "PandaModulesUnsqueezed", line 1, in ?
File "/usr/lib/python2.4/ihooks.py", line 404, in import_module
q, tail = self.find_head_package(parent, str(name))
File "/usr/lib/python2.4/ihooks.py", line 440, in find_head_package
q = self.import_it(head, qname, parent)
File "/usr/lib/python2.4/ihooks.py", line 495, in import_it
m = self.loader.load_module(fqname, stuff)
File "<package>", line 29, in load_module
File "libpandaexpressModules", line 5, in ?
File "/usr/lib/python2.4/ihooks.py", line 404, in import_module
q, tail = self.find_head_package(parent, str(name))
File "/usr/lib/python2.4/ihooks.py", line 447, in find_head_package
raise ImportError, "No module named " + qname
ImportError: No module named libdtoolconfig
I have copied the libraries to /usr/local/lib/panda3d and added that to the ld.so.conf file. So it looks like it’s not finding the Python module for this.
Any ideas what could be wrong?
Thanks