Hi all,
I have to set up a machine for our lab. Everything was working fine before
the dist-upgrade from Ubuntu Breezy to Dapper... Now, no more film loading.
I lost several hours on this already, so I thought I could share this
problem with you guys. :) The next step, if no good idea appears (as I have
probably forgot a stupid but important detail somewhere), is to compile
everything and not use unconsistant deb packages + pd-exended linux +
hand-compiled libraries.
Below are the output of the PD window, Gem's ldd output (the list of dynamic
loaded libraries used by Gem.pd_linux) and the ./configure output.
--
Alexandre Quessy
http://alexandre.quessy.net
For debugging :
=================== PD loading Gem ===================
tried /home/azer/aalex/gem/Gem/src/Gem.pd_linux and succeeded
GEM: Graphics Environment for Multimedia
GEM: ver: 0.90
GEM: compiled: Jun 16 2006
GEM: maintained by IOhannes m zmoelnig
GEM: Authors : Mark Danks (original version on irix/windows)
GEM: Chris Clepper (macOS-X)
GEM: Daniel Heckenberg (windows)
GEM: James Tittle (macOS-X)
GEM: IOhannes m zmoelnig (linux/windows)
GEM: using SSE2 optimization
======================= Gem's PD Errors =================
pix_film:: quicktime support
pix_film:: libmpeg3 support
pix_film:: libaviplay support
pix_film:: libmpeg support
Direct Rendering enabled!
GEM: Start rendering
...
...
quicktime failed ...
MPEG3 failed ...
aviplay failed ...
...
...
...
... giving up!
error: GEM: pix_film: Unable to open file: ../data/anim-1.mov
...
...
quicktime failed ...
MPEG3 failed ...
aviplay failed ...
...
...
...
... giving up!
error: GEM: pix_film: Unable to open file: ../data/alea.mpg
...
...
quicktime failed ...
MPEG3 failed ...
aviplay failed ...
...
...
...
... giving up!
error: GEM: pix_film: Unable to open file: ../data/homer.avi
======== Gem.pd_linux's ldd (a shell command) output =====
linux-gate.so.1 => (0xffffe000)
libdv.so.4 => /usr/lib/libdv.so.4 (0xb7c24000)
libmpeg.so.1 => /usr/lib/libmpeg.so.1 (0xb7b36000)
libmpeg3.so.1 => /usr/lib/libmpeg3.so.1 (0xb7afb000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7adc000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb7a8c000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7a16000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb79b0000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb79a2000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb799d000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb78b7000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb78b4000)
libz.so.1 => /usr/lib/libz.so.1 (0xb78a0000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb788e000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7824000)
libaviplay-0.7.so.0 => /usr/lib/libaviplay-0.7.so.0 (0xb778b000)
libquicktime.so.0 => /usr/lib/libquicktime.so.0 (0xb76e9000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76c7000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb75f2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb75e8000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb74b8000)
liba52-0.7.4.so => /usr/lib/liba52-0.7.4.so (0xb74ad000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb74a6000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb74a3000)
/lib/ld-linux.so.2 (0x80000000)
libaviplayavformat-0.7.so.0 =>
/usr/lib/libaviplayavformat-0.7.so.0(0xb7444000)
libaviplayavcodec-0.7.so.0 =>
/usr/lib/libaviplayavcodec-0.7.so.0(0xb7170000)
libaviplayavutil-0.7.so.0 => /usr/lib/libaviplayavutil-0.7.so.0(0xb716b000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb70e3000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb702e000)
libartsc.so.0 => /usr/lib/libartsc.so.0 (0xb7028000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7025000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7020000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6f9c000)
libesd.so.0 => /usr/lib/libesd.so.0 (0xb6f92000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb6f72000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb6f5e000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb6f10000)
libaa.so.1 => /usr/lib/libaa.so.1 (0xb6ef5000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb6eb4000)
libslang.so.2 => /lib/libslang.so.2 (0xb6df9000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb6df1000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb6dd9000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6dd6000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb6dcd000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb6dbb000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6d8d000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6d85000)
libaviplayvidix-0.7.so.0 => /usr/lib/libaviplayvidix-0.7.so.0(0xb6d81000)
libaviplaydha-0.7.so.0 => /usr/lib/libaviplaydha-0.7.so.0 (0xb6d4c000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb6d36000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb6d30000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6d11000)
==================== ./configure 's output ========================
checking for Base/configLinux.h.in... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for sin in -lm... yes
checking for main in -lz... yes
checking for dlopen in -ldl... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes
checking for main in -lXext... (cached) yes
checking for glInitNames in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for "OpenGL"-framework... no
checking for "AGL"-framework... no
checking for "Carbon"-framework... no
checking for "QuickTime"-framework... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PKG_IMAGEMAGICK___CFLAGS...
checking for PKG_IMAGEMAGICK___LIBS...
checking for ImageMagick++-config... no
checking for main in -lMagick++... no
checking for PKG_TIFF_CFLAGS...
checking for PKG_TIFF_LIBS...
checking for tiff-config... no
checking for TIFFOpen in -ltiff... yes
checking for PKG_JPEG_CFLAGS...
checking for PKG_JPEG_LIBS...
checking for jpeg-config... no
checking for jpeg_read_header in -ljpeg... yes
checking for PKG_LIBQUICKTIME_CFLAGS... -I/usr/include/lqt
checking for PKG_LIBQUICKTIME_LIBS... -lquicktime -lpthread -lm -lz -ldl
checking for PKG_LQT_CFLAGS...
checking for PKG_LQT_LIBS...
checking for lqt-config... yes
checking for PKG_MPEG3_CFLAGS...
checking for PKG_MPEG3_LIBS...
checking for mpeg3-config... no
checking for mpeg3_check_sig in -lmpeg3... yes
checking for PKG_MPEG_CFLAGS...
checking for PKG_MPEG_LIBS...
checking for mpeg-config... no
checking for OpenMPEG in -lmpeg... yes
checking for PKG_AVIFILE_CFLAGS... -I/usr/include/avifile-0.7
checking for PKG_AVIFILE_LIBS... -laviplay
checking for PKG_FFMPEG_CFLAGS...
checking for PKG_FFMPEG_LIBS...
checking for ffmpeg-config... no
checking for av_open_input_file in -lavformat... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for PKG_IEEE1394_CFLAGS...
checking for PKG_IEEE1394_LIBS...
checking for ieee1394-config... no
checking for main in -ldv... yes
checking for PKG_FTGL_CFLAGS... -I/usr/include/freetype2
checking for PKG_FTGL_LIBS... -lGLU -lGL -lfreetype -lz -lftgl
checking for PKG_GLTT_CFLAGS...
checking for PKG_GLTT_LIBS...
checking for gltt-config... no
checking for GLTTFont in -lgltt... no
checking for pthread_create in -lpthread... yes
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for GLsizeiptrARB... yes
checking for unsigned int... yes
checking size of unsigned int... 4
checking for void
*... yes
checking size of void *... 4
checking for error_at_line... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for bzero... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memset... yes
checking for munmap... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for lqt_add_video_track... yes
checking for glBindProgramARB... yes
checking for glBindProgramNV... yes
checking m_pd.h usability... yes
checking m_pd.h presence... yes
checking for m_pd.h... yes
checking whether compiler accepts "-freg-struct-return"... yes
enabling "register struct return"
allows to make use of FreeFrame-effects without recompiling them
might break things, if you are using several different compilers
checking whether compiler accepts "-O3"... yes
checking whether compiler accepts "-fno-builtin"... yes
checking whether compiler accepts "-falign-loops=16 -funroll-loops"... yes
checking whether compiler accepts "-ffast-math"... yes
AltiVec: ......
AltiVec: ...no...
checking whether compiler accepts "-mmmx"... yes
checking whether compiler accepts "-msse2"... yes
checking whether linker accepts "-shared -Wl,-export-dynamic"... yes
checking whether linker accepts "-bundle -bundle_loader
/usr/local/bin/pd"... no
checking for strip... strip
checking if strip is GNU strip... yes
checking for dos2unix... true
configure: creating ./config.status
config.status: creating Make.config
config.status: creating Base/configLinux.h
config.status: Base/configLinux.h is unchanged
Result:
Target : Gem.pd_linux
Objects : Base Controls Geos Manips MarkEx Nongeos
Particles Pixes openGL
Configuration:
Compiler : g++
CXXFLAGS : -g -O2 -freg-struct-return -O3 -fno-builtin
-falign-loops=16 -funroll-loops -ffast-math -mmmx -msse2
: -I/usr/include/lqt -I/usr/include/lqt
-I/usr/include/avifile-0.7 -I/usr/include/freetype2
INCLUDES : -I/usr/include/FTGL -I/usr/include/freetype2
DEFINES :
LIBS : -ldv -lmpeg -lmpeg3 -ljpeg -ltiff -lGLU -lGL
-lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm -L/usr/X11R6/lib -lpthread
: -lGLU -lGL -lfreetype -lz -lftgl -laviplay -L/usr/lib
-lquicktime -lpthread -lm -lz -ldl -lquicktime -lpthread -lm -lz -ldl
LDFLAGS : -shared -Wl,-export-dynamic
: -L/usr/X11R6/lib
Strip : strip --strip-unneeded
Install path : /usr/local
pure-data:
version : 0.39
used optional libraries:
font-rendering : FTGL
image-support
use ImageMagick : no
use TIFF : yes
use JPEG : yes
video-support
use mpeg : yes
use mpeg-3 : yes
use QuickTime : yes
use aviplay : yes
use ffmpeg : no
input-support
use v4l : yes
use ieee1394 : yes
misc
using ARB-extensions : yes
using NV-extensions : yes
using reg-struct-ret : yes
Now run make ...