Hi there.
I am a Linux fan.
My uname output looks like:
4.4.0-38-generic #57-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
or like this:
uname -mrs
Linux 4.4.0-38-generic x86_64
LSB looks like:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
So my first impulse was to grab the DEB file for xenial from:
panda3d.org/download.php?pl … =1.9.2&sdk
However, dpkg returned a dependency error.
I tried two things.
First, I had thought that I had found a good list of apt-get commands to install Panda3D at:
ubuntuusertips.wordpress.com/20 … ntu-14-04/
So my recent command history looks like:
254 sudo apt-get install build-essential bison flex python-dev
255 sudo apt-get -f install build-essential bison flex python-dev
256 sudo apt-get -f install
257 sudo apt-get install build-essential bison flex python-dev
258 sudo apt-get install freeglut3-dev libglu1-mesa-dev libfreetype6-dev libsmesa6.dev
259 sudo apt-get install freeglut3-dev libglu1-mesa-dev libfreetype6-dev libosmesa6.dev
260 sudo apt-get install libgtk2.0-dev libpng12-dev libjpeg-dev libtiff5-dev libxft-dev libssl-dev
261 sudo apt-get install libeigen3-dev libswscale-dev fftw-dev libgles1-mesa-dev libgles2-mesa-dev libgegl-dev libode-dev libopenal-dev libbullet-dev libxxf86dga-dev
262 sudo apt-get install libeigen3-dev libswscale-dev fftw-dev libgles1-mesa-dev libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavifile-0.7-dev libavutil-dev
263 ls
264 sudo dpkg -i ./panda3d1.9_1.9.2~xenial_i386.deb
265 sudo add-apt-repository ppa:panda3d/ppa
266 sudo apt-get update
267 sudo dpkg -i ./panda3d1.9_1.9.2~xenial_i386.deb
And I got a result like this:
sudo dpkg -i ./panda3d1.9_1.9.2~xenial_i386.deb
Selecting previously unselected package panda3d1.9:i386.
(Reading database ... 310847 files and directories currently installed.)
Preparing to unpack .../panda3d1.9_1.9.2~xenial_i386.deb ...
Unpacking panda3d1.9:i386 (1.9.2~xenial) ...
dpkg: dependency problems prevent configuration of panda3d1.9:i386:
panda3d1.9:i386 depends on libcg (>= 3.0.0007).
panda3d1.9:i386 depends on libcggl (>= 3.1.0010).
panda3d1.9:i386 depends on libode4.
panda3d1.9:i386 depends on python2.7.
panda3d1.9:i386 depends on nvidia-cg-toolkit.
dpkg: error processing package panda3d1.9:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Errors were encountered while processing:
panda3d1.9:i386
In short, installing all those dependencies didn’t enable me to install the downloaded deb file.
Second, I noticed that the page linked above suggested building a new deb from source.
So I downloaded the source and tried
python makepanda/makepanda.py
and I got:
ar: `u' modifier ignored since `D' is the default (see `U')
[T7] Linking executable built/bin/interrogate_module
[T7] Linking executable built/bin/parse_file
[T7] Building C++ object built/tmp/p3pnmimage_convert_srgb_sse2.o
[26559:26559:0925/100700:ERROR:gpu_process_transport_factory.cc(754)] Lost UI shared context.
[27696:27696:0925/100736:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process.
[T6] Building C++ object built/tmp/p3pnmimage_pfmFile_ext.o
[T11] Linking dynamic library built/lib/libpandaexpress.so
[T11] Building C++ object built/tmp/p3nativenet_composite1.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
The following command returned a non-zero value: g++ -ftemplate-depth-70 -fPIC -c -o built/tmp/p3pnmimage_convert_srgb_sse2.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/eigen3 -DEIGEN_MPL2_ONLY= -DEIGEN_NO_DEBUG= -Ipanda/src/pnmimage -pthread -fno-exceptions -msse2 -ffast-math -fno-finite-math-only -O2 -DBUILDING_PANDA panda/src/pnmimage/convert_srgb_sse2.cxx
Storing dependency cache.
[T7] Waiting for tasks...
[T11] Waiting for tasks...
Elapsed Time: 5 min 48 sec
Build process aborting.
Build terminated.
[2]- Done chromium-browser (wd: ~/panda/panda3d-1.9.2/makepanda)
(wd now: ~/panda/panda3d-1.9.2)
oyster@realDrive:~/panda/panda3d-1.9.2$ g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
g++: internal compiler error: Killed (program cc1plus)
and at this point I’m open to suggestions.
Rather than messing with makepanda, I would be happy to solve everything with apt-get, but if that can’t be done, I guess I need a new C compiler?
Comments? Feedback? Thanks in advance.