No samples directory on Ubuntu 12.04 64 bit

Hi all

I’ve just installed Panda3D 1.8 on Ubuntu 12.04 64 bit, the installation seemed to run fine, the output is below, but there’s no samples directory in the Panda3D directory. I wanted to test the installation but now I’m worried that something went wrong.

Many thanks

Mark

Installation output

mark@mark-System-Product-Name:~$ sudo apt-get install panda3d1.8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  x11-apps xserver-xorg-input-evdev libxrandr-ltsq2 x11-xfs-utils libmtdev1
  libdrm-nouveau2 xinit x11-session-utils libfs6 libllvm3.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  blt libcg libegl1-mesa libegl1-mesa-drivers libgbm1 libgles1-mesa
  libilmbase6 libllvm3.0 libopencv-core2.3 libopencv-highgui2.3
  libopencv-imgproc2.3 libopenexr6 libopenvg1-mesa libosmesa6 libwayland0
  libxcb-xfixes0 nvidia-cg-toolkit panda3d-runtime python-pmw python-tk
  python-wxversion
Suggested packages:
  blt-demo python-pmw-doc tix python-tk-dbg
The following NEW packages will be installed
  blt libcg libegl1-mesa libegl1-mesa-drivers libgbm1 libgles1-mesa
  libilmbase6 libllvm3.0 libopencv-core2.3 libopencv-highgui2.3
  libopencv-imgproc2.3 libopenexr6 libopenvg1-mesa libosmesa6 libwayland0
  libxcb-xfixes0 nvidia-cg-toolkit panda3d-runtime panda3d1.8 python-pmw
  python-tk python-wxversion
0 upgraded, 22 newly installed, 0 to remove and 3 not upgraded.
Need to get 69.2 MB/69.8 MB of archives.
After this operation, 283 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  panda3d-runtime panda3d1.8
Install these packages without verification [y/N]? y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/main libllvm3.0 i386 3.0-4ubuntu1 [7,407 kB]
Get:2 http://archive.panda3d.org/ubuntu/ precise-dev/main panda3d1.8 i386 1.8.0+cvs20120805~precise57 [36.0 MB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libgbm1 i386 8.0.4-0ubuntu0.4 [1,078 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise/main libwayland0 i386 0.85.0-1ubuntu2 [37.1 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb-xfixes0 i386 1.8.1-1ubuntu0.1 [10.2 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libegl1-mesa i386 8.0.4-0ubuntu0.4 [50.7 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libopenvg1-mesa i386 8.0.4-0ubuntu0.4 [13.9 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libegl1-mesa-drivers i386 8.0.4-0ubuntu0.4 [1,874 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libgles1-mesa i386 8.0.4-0ubuntu0.4 [11.2 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu/ precise/multiverse libcg i386 3.0.0016-0ubuntu1 [2,584 kB]
Get:11 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libosmesa6 i386 8.0.4-0ubuntu0.4 [1,148 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu/ precise/main blt i386 2.4z-4.2ubuntu1 [1,586 kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu/ precise/main libilmbase6 i386 1.0.1-3build2 [121 kB]
Get:14 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libopencv-core2.3 i386 2.3.1-7 [712 kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libopencv-imgproc2.3 i386 2.3.1-7 [647 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu/ precise/main libopenexr6 i386 1.6.1-4.1 [261 kB]
Get:17 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libopencv-highgui2.3 i386 2.3.1-7 [112 kB]
Get:18 http://gb.archive.ubuntu.com/ubuntu/ precise/multiverse nvidia-cg-toolkit i386 3.0.0016-0ubuntu1 [15.4 MB]
Get:19 http://gb.archive.ubuntu.com/ubuntu/ precise/main python-tk i386 2.7.3-1ubuntu1 [27.6 kB]
Get:20 http://gb.archive.ubuntu.com/ubuntu/ precise/universe python-pmw all 1.3.2-6build1 [79.5 kB]
Get:21 http://gb.archive.ubuntu.com/ubuntu/ precise/universe python-wxversion all 2.8.12.1-6ubuntu2 [19.0 kB]
Fetched 69.2 MB in 35s (1,935 kB/s)                                            
Selecting previously unselected package libllvm3.0.
(Reading database ... 221310 files and directories currently installed.)
Unpacking libllvm3.0 (from .../libllvm3.0_3.0-4ubuntu1_i386.deb) ...
Selecting previously unselected package libgbm1.
Unpacking libgbm1 (from .../libgbm1_8.0.4-0ubuntu0.4_i386.deb) ...
Selecting previously unselected package libwayland0.
Unpacking libwayland0 (from .../libwayland0_0.85.0-1ubuntu2_i386.deb) ...
Selecting previously unselected package libxcb-xfixes0.
Unpacking libxcb-xfixes0 (from .../libxcb-xfixes0_1.8.1-1ubuntu0.1_i386.deb) ...
Selecting previously unselected package libegl1-mesa.
Unpacking libegl1-mesa (from .../libegl1-mesa_8.0.4-0ubuntu0.4_i386.deb) ...
Selecting previously unselected package libopenvg1-mesa.
Unpacking libopenvg1-mesa (from .../libopenvg1-mesa_8.0.4-0ubuntu0.4_i386.deb) ...
Selecting previously unselected package libegl1-mesa-drivers.
Unpacking libegl1-mesa-drivers (from .../libegl1-mesa-drivers_8.0.4-0ubuntu0.4_i386.deb) ...
Selecting previously unselected package libgles1-mesa.
Unpacking libgles1-mesa (from .../libgles1-mesa_8.0.4-0ubuntu0.4_i386.deb) ...
Selecting previously unselected package libcg.
Unpacking libcg (from .../libcg_3.0.0016-0ubuntu1_i386.deb) ...
Selecting previously unselected package libosmesa6.
Unpacking libosmesa6 (from .../libosmesa6_8.0.4-0ubuntu0.4_i386.deb) ...
Selecting previously unselected package blt.
Unpacking blt (from .../blt_2.4z-4.2ubuntu1_i386.deb) ...
Selecting previously unselected package libilmbase6.
Unpacking libilmbase6 (from .../libilmbase6_1.0.1-3build2_i386.deb) ...
Selecting previously unselected package libopencv-core2.3.
Unpacking libopencv-core2.3 (from .../libopencv-core2.3_2.3.1-7_i386.deb) ...
Selecting previously unselected package libopencv-imgproc2.3.
Unpacking libopencv-imgproc2.3 (from .../libopencv-imgproc2.3_2.3.1-7_i386.deb) ...
Selecting previously unselected package libopenexr6.
Unpacking libopenexr6 (from .../libopenexr6_1.6.1-4.1_i386.deb) ...
Selecting previously unselected package libopencv-highgui2.3.
Unpacking libopencv-highgui2.3 (from .../libopencv-highgui2.3_2.3.1-7_i386.deb) ...
Selecting previously unselected package nvidia-cg-toolkit.
Unpacking nvidia-cg-toolkit (from .../nvidia-cg-toolkit_3.0.0016-0ubuntu1_i386.deb) ...
Selecting previously unselected package panda3d-runtime.
Unpacking panda3d-runtime (from .../panda3d-runtime_1.0.4+cvs20130208~precise219_i386.deb) ...
Selecting previously unselected package python-tk.
Unpacking python-tk (from .../python-tk_2.7.3-1ubuntu1_i386.deb) ...
Selecting previously unselected package python-pmw.
Unpacking python-pmw (from .../python-pmw_1.3.2-6build1_all.deb) ...
Selecting previously unselected package panda3d1.8.
Unpacking panda3d1.8 (from .../panda3d1.8_1.8.0+cvs20120805~precise57_i386.deb) ...
Selecting previously unselected package python-wxversion.
Unpacking python-wxversion (from .../python-wxversion_2.8.12.1-6ubuntu2_all.deb) ...
Processing triggers for doc-base ...
Processing 2 added doc-base files...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Setting up libllvm3.0 (3.0-4ubuntu1) ...
Setting up libgbm1 (8.0.4-0ubuntu0.4) ...
Setting up libwayland0 (0.85.0-1ubuntu2) ...
Setting up libxcb-xfixes0 (1.8.1-1ubuntu0.1) ...
Setting up libegl1-mesa (8.0.4-0ubuntu0.4) ...
update-alternatives: using /usr/lib/i386-linux-gnu/mesa-egl/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode.
Setting up libopenvg1-mesa (8.0.4-0ubuntu0.4) ...
Setting up libegl1-mesa-drivers (8.0.4-0ubuntu0.4) ...
Setting up libgles1-mesa (8.0.4-0ubuntu0.4) ...
Setting up libcg (3.0.0016-0ubuntu1) ...
Setting up libosmesa6 (8.0.4-0ubuntu0.4) ...
Setting up blt (2.4z-4.2ubuntu1) ...
Setting up libilmbase6 (1.0.1-3build2) ...
Setting up libopencv-core2.3 (2.3.1-7) ...
Setting up libopencv-imgproc2.3 (2.3.1-7) ...
Setting up libopenexr6 (1.6.1-4.1) ...
Setting up libopencv-highgui2.3 (2.3.1-7) ...
Setting up nvidia-cg-toolkit (3.0.0016-0ubuntu1) ...
Setting up panda3d-runtime (1.0.4+cvs20130208~precise219) ...
running ldconfig
Setting up python-tk (2.7.3-1ubuntu1) ...
Setting up python-pmw (1.3.2-6build1) ...
Setting up panda3d1.8 (1.8.0+cvs20120805~precise57) ...
running ldconfig
Setting up python-wxversion (2.8.12.1-6ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Contents of Panda3D directory

mark@mark-System-Product-Name:/usr/share/panda3d$ ls -l
total 80
drwxr-xr-x 48 root root  4096 Mar 19 18:28 direct
-rwxr-xr-x  1 root root  1569 Aug  5  2012 LICENSE
drwxr-xr-x  7 root root  4096 Mar 19 18:28 models
-rwxr-xr-x  1 root root  9173 Aug  5  2012 panda3d.py
drwxr-xr-x  3 root root  4096 Mar 19 18:28 pandac
drwxr-xr-x  2 root root  4096 Mar 19 18:28 plugins
drwxr-xr-x  3 root root  4096 Mar 19 18:28 Pmw
-rwxr-xr-x  1 root root 43385 Aug  5  2012 ReleaseNotes

If you installed a buildbot version of Panda3D, they don’t include the sample programs. You can download them separately from the download page.

Hi rdb

Thanks for your reply, I haven’t tried yet as I broke my linux installation somehow and had to reinstall :frowning: How do I know if I installed the buildbot version and can I get a ‘normal’ version?

Many thanks

Mark

If the samples are missing, you probably are using a buildbot build, and you can get a separate samples zip from the download page.