Welcome to the forums! This is the correct forum for asking this question.
I have no idea why you created those symlinks. You should remove those symlinks and restore the directories to their original state.
Video4Linux is for Webcam support, it has nothing to do with graphics.
The error message indicates that it cannot find your Config.prc file. The problem seems to be that you built Panda3D, but forgot to properly install it onto your system - eg you’re trying to run it from the build directory, which is not supposed to work at all. The recommended way to do this is to run makepanda and add the --installer flag, this will create an installable .rpm file in the same directory.
The other option is to run makepanda/installpanda.py, which will install Panda3D directly onto your system (follow up with a “sudo ldconfig” call). This will make it harder to uninstall Panda3D later, though.
Then installed the rpm. Finally launched a small demo application and got the previous error.
The symlinks I created was due the error line
Seems to be indicating that it misses the ffi directory under the direct directory. But to be honest, the same source was compiled on opensuse 11.4 few days ago and worked fine. So it looks like a peculiarity of this version.
Gonna try again, but the underground problem is that the V4L api has been removed of the linux kernel in the 2.6.38 version. So as soon as each distributions publish a version using a more modern kernel, people will find my initial problem.
Video4Linux support is certainly there, but only version 2, not 1. We’ve removed the dependency on V4L 1 quite a while ago, so you must be using an old version of Panda3D. Try building latest CVS, or 1.8.0.
I don’t see how a build with or without V4L support could affect the problems you’re having in this specific case, though.
What is the exact error message you’re running into with the new version? Is it “Unable to load: No error.”? If so, then that message usually indicates that the display module is simply not there- perhaps you forgot to compile OpenGL support into the build? When you run makepanda, it’ll tell you which packages are missing from the system, but it’ll happily run and build without support for the things you don’t have installed, like development files for OpenGL in this case. (Usually they are available in a package named something like “libgl1-mesa-devel” or so.)