rendered paste bodyOk i used the following environment
Fedora core 3 linux distrib w/ ccrma packages
ruby-1.8.2-1.FC3.1
ruby-devel-1.8.2-1.FC3.1
SDL-1.2.7-8
SDL-devel-1.2.7-8
libjpeg-6b-33
libjpeg-devel-6b-33
libmpeg3-1.5.4-1.rhfc3.ccrma
(can't find a relevant libmpeg3-devel that don't conflict find one for PLP platform on rpm.probe.net but need liba52 which conflict with another paquage from ccrma)
libquicktime-0.9.3-2.rhfc3.ccrma
libquicktime-devel-0.9.3-2.rhfc3.ccrma
libmpeg (can't find it guess it's a relatively old lib replaced by libmpeg3 am i wrong ?)
apple quicktime (is that quicktime4linux or just needed for mac os compilation ?)
aalib-1.4.0-0.rc5.3
aalib-devel-1.4.0-0.rc5.3
v4l is compiled in ccrma kernel as far as i know
gcc-3.4.3-22.fc3
configure result
# ./configure --use-compiler g++ --no-gcc3 --no-gcc64 --no-quicktimeapple --no-objcpp
--no: won't check for feature gcc3
--no: won't check for feature gcc64
--no: won't check for feature quicktimeapple
--no: won't check for feature objcpp
This is the GridFlow 0.8.0 configurator within Ruby version 1.8.2
[fast] Compile for speed (and not debuggability): enabled
[gcc3] GNU C++ Compiler 3: disabled (by user)
[stl] C++ Standard Template Library: found
[gcc64] GNU C++ in 64-bit mode: disabled (by user)
[libruby] Ruby as a dynamic library: found
[librubystatic] Ruby as a static library: disabled (using libruby instead)
[pentium] Pentium-compatible CPU: found
[mmx] MMX-compatible CPU (using NASM): found
[simd] SIMD (MMX/SSE/Altivec) (using GCC): found
[profiler] profiler (speed measurements): enabled
[usb] USB Library: found
[ieee1394] IEEE1394 Libraries for Linux (raw1394/dc1394): disabled (by author)
[x11] X11 Display Protocol: found
[x11_shm] X11 acceleration through shared memory: found
[sdl] Simple Directmedia Layer (experimental support): found
[objcpp] GNU/Apple ObjectiveC++ Compiler: disabled (by user)
[quartz] Apple Quartz/Cocoa Display: disabled (would need objcpp)
[aalib] Ascii Art Library: found
[jpeg] JPEG Library: found
[png] PNG Library <libpng12/png.h>: found
[videodev] Video4linux Digitizer Driver Interface: found
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>: missing (where is libmpeg3/libmpeg3.h ?)
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>: found
[quicktimeapple] Apple's QuickTime: disabled (by user)
[quicktimehw] HeroineWarrior QuickTime4Linux (or LibQuickTime) (try #1): found
[xine] Xine movie decoder: disabled (by author)
[puredata] Miller Puckette's Pure Data: found
generating ./config.make
generating config.h
creating Makefile
delegating to: devices4ruby/extconf.rb
(back)
See ./config.log if you want the details of the configuration tests.
If you are satisfied with that configuration, you may go on,
and do "make" and then "make install".
If you get stuck, you could contact the author about it,
but first make sure you read "doc/install.html".
config.log
----------------------------------------------------------------
Environment Variables:
SSH_AGENT_PID=3841
HOSTNAME=zyborg
TERM=xterm
SHELL=/bin/bash
DESKTOP_STARTUP_ID=
HISTSIZE=1000
GTK_RC_FILES=/etc/gtk/gtkrc:/home/nash/.gtkrc-1.2-gnome2
WINDOWID=44081577
QTDIR=/usr/lib/qt-3.3
__GL_SYNC_DISPLAY_DEVICE=
__GL_SINGLE_THREADED=0
__GL_DEFAULT_LOG_ANISO=0
USER=nash
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
SSH_AUTH_SOCK=/tmp/ssh-uuqfvE3840/agent.3840
GNOME_KEYRING_SOCKET=/tmp/keyring-5mk7wc/socket
KDEDIR=/usr
SESSION_MANAGER=local/zyborg:/tmp/.ICE-unix/3813
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/nash/bin
DESKTOP_SESSION=default
MAIL=/var/spool/mail/nash
PWD=/usr/local/src/gridflow/src
INPUTRC=/etc/inputrc
LANG=fr_FR.UTF-8
GDMSESSION=default
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=3
HOME=/root
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=nash
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-01HQSyCypr
__GL_FSAA_MODE=0
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
TEXMF={/usr/share/lilypond/2.4.5,{/home/nash/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf}}
LADSPA_PATH=/usr/lib/ladspa
__GL_SYNC_TO_VBLANK=0
G_BROKEN_FILENAMES=1
XAUTHORITY=/root/.xauth20kMmA
COLORTERM=gnome-terminal
_=./configure
OLDPWD=/home/nash/Desktop
----------------------------------------------------------------
$C_INCLUDE_PATH: ["/include", "/usr/local/include", "/sw/include", "/Applications/Pd.app/Contents/Resources/include", "/usr/include"]
$LIBRARY_PATH: ["/usr/local/lib", "/sw/lib", "/Applications/Pd.app/Contents/Resources/lib", "/usr/lib", "/lib"]
$LD_LIBRARY_PATH: ["/usr/local/lib", "/sw/lib", "/Applications/Pd.app/Contents/Resources/lib", "include", "ld.so.conf.d/*.conf", "/usr/X11R6/lib", "/usr/lib/mysql", "/usr/lib", "/lib"]
----------------------------------------------------------------
This is the GridFlow 0.8.0 configurator within Ruby version 1.8.2
----------------------------------------------------------------
[fast] Compile for speed (and not debuggability):
----------------------------------------------------------------
[gcc3] GNU C++ Compiler 3:
disabled (by user)
----------------------------------------------------------------
[stl] C++ Standard Template Library:
#include <vector>
int main () {
std::vector<int> foo;
}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib
tmp/18060
found
----------------------------------------------------------------
[gcc64] GNU C++ in 64-bit mode:
disabled (by user)
----------------------------------------------------------------
[libruby] Ruby as a dynamic library:
#include <stdio.h>
#include <ruby.h>
int main () {
void *bp;
printf("#define RUBY_STACK_END 0x%08lx",(long)&bp);
return rb_rescue==0;
}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -lruby
tmp/18060
#define RUBY_STACK_END 0xbffff790
found
----------------------------------------------------------------
[librubystatic] Ruby as a static library:
disabled (using libruby instead)
----------------------------------------------------------------
[pentium] Pentium-compatible CPU:
#include <stdio.h>
char get_cpuid[]={
96,49,192,15,162,139,124,36,36,137,31,
137,87,4,137,79,8,137,71,12,97,195};
main() {
char result[16];
int code;
((void(*)(char*))get_cpuid)(result);
code = ((int*)result)[3];
result[12]=0;
fprintf(stderr,"cpuid: name=\"%12s\", flags=0x%08x\n",
result,code);
return 0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib
tmp/18060.cpp:6: attention : ISO C++ interdit la déclaration de « main » sans type
tmp/18060
cpuid: name="GenuineIntel", flags=0x00000002
found
----------------------------------------------------------------
[mmx] MMX-compatible CPU (using NASM):
global main
extern exit
align 16
SECTION .data
foo: dd 42,0
SECTION .text
main:
lea esi,[foo]
movq mm0,qword[esi]
paddd mm0,qword[esi]
movq qword [esi],mm0
emms
cmp dword [foo], 84
je yes
push long 1
call exit
yes:
push long 0
call exit
/usr/bin/env nasm tmp/18060.asm -f elf -o tmp/18060.o
g++ -o tmp/18060 tmp/18060.o -lc
tmp/18060
found
----------------------------------------------------------------
[simd] SIMD (MMX/SSE/Altivec) (using GCC):
#include <stdio.h>
typedef int v8qi __attribute__ ((mode(V8QI)));
union vv8qi { v8qi v; char c[8]; };
int main () { return 0; }
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux -mmmx tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib
tmp/18060
found
----------------------------------------------------------------
[profiler] profiler (speed measurements):
----------------------------------------------------------------
[usb] USB Library:
#include <usb.h>
int main () {return usb_open==0 || usb_get_busses==0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -lusb
tmp/18060
found
----------------------------------------------------------------
[ieee1394] IEEE1394 Libraries for Linux (raw1394/dc1394):
disabled (by author)
----------------------------------------------------------------
[x11] X11 Display Protocol:
#include <X11/Xlib.h>
int main () {return XSetErrorHandler==0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -lX11 -lXext
tmp/18060
found
----------------------------------------------------------------
[x11_shm] X11 acceleration through shared memory:
#include <X11/Xlib.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
#include <X11/Xutil.h>
#include <X11/StringDefs.h>
#include <sys/ipc.h>
int main () {return XShmPutImage==0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lXext
tmp/18060
found
----------------------------------------------------------------
[sdl] Simple Directmedia Layer (experimental support):
#include <SDL/SDL.h>
int main () {return SDL_MapRGB==0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lSDL -lpthread
tmp/18060
found
----------------------------------------------------------------
[objcpp] GNU/Apple ObjectiveC++ Compiler:
disabled (by user)
----------------------------------------------------------------
[quartz] Apple Quartz/Cocoa Display:
disabled (would need objcpp)
----------------------------------------------------------------
[aalib] Ascii Art Library:
#define aa_hardwareparams aa_hardware_params extern "C" { #include <aalib.h>
};
int main () {return aa_init==0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -laa
tmp/18060
found
---------------------------------------------------------------- [jpeg] JPEG Library:
extern "C" {
#include <stdio.h>
#include <jpeglib.h>
};
int main () {
return jpeg_write_scanlines==0;}
int main () {
return jpeg_write_scanlines==0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -ljpeg
tmp/18060
found
----------------------------------------------------------------
[png] PNG Library <libpng12/png.h>:
extern "C" {
#include <stdio.h>
#include <libpng12/png.h>
};
int main () {
#define T(a) printf("%s:%d; ",#a,sizeof(a));
T(png_uint_32)T(long)puts("");
if (!png_check_sig) return 1;
return 0;}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lpng -lz
tmp/18060.cpp: In function `int main()':
tmp/18060.cpp:10: attention : l'adresse de « int png_check_sig(png_byte*, int) » sera toujours évaluée comme étant « true »
tmp/18060
png_uint_32:4; long:4;
found---------------------------------------------------------------- [videodev] Video4linux Digitizer Driver Interface: #include <stdlib.h>
#include <linux/videodev.h>
int main () { struct video_window foo; return 0; }
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib
tmp/18060.cpp: In function `int main()':
tmp/18060.cpp:5: attention : variable « foo » inutilisée
tmp/18060
found
----------------------------------------------------------------
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>:
nil
missing (where is libmpeg3/libmpeg3.h ?)
#<RuntimeError: where is libmpeg3/libmpeg3.h ?>
./configure:138:in `c_test' ./configure:135:in `each' ./configure:135:in `c_test' ./configure:629
./configure:628:in `call'
./configure:857:in `try'
./configure:830:in `try'
./configure:828:in `each'
./configure:828:in `try'
./configure:904
./configure:904:in `each'
./configure:904----------------------------------------------------------------
[mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>:
#include <libmpeg3.h>
int main () { return mpeg3_open==0; }
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lmpeg3 -lpthread -lm -L/usr/X11R6/lib
tmp/18060
found
----------------------------------------------------------------
[quicktimeapple] Apple's QuickTime:
disabled (by user)
----------------------------------------------------------------
[quicktimehw] HeroineWarrior QuickTime4Linux (or LibQuickTime) (try #1):
#include <stdio.h>
#include <quicktime/quicktime.h>
#include <quicktime/lqt_version.h>
int main () {
fprintf(stderr,"LQT_VERSION = %s\n",
#ifdef LQT_VERSION
LQT_VERSION
#else
"(undefined)"
#endif
); return quicktime_open==0; }
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lquicktime -lpthread -lpng -ldl -lglib -lz
tmp/18060
LQT_VERSION = 0.9.3
found
----------------------------------------------------------------
[xine] Xine movie decoder:
disabled (by author)
----------------------------------------------------------------
[puredata] Miller Puckette's Pure Data:
#include <m_pd.h>
#include <stdio.h>
int main () {
printf("#define PD_VERSION_INT %d\n",
#ifdef PD_MAJOR_VERSION
(int)(PD_MAJOR_VERSION*100+PD_MINOR_VERSION));
#else
(int)(PD_VERSION*100));
#endif
return 0;
}
/usr/bin/env g++ -O0 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -fPIC -I/Applications/Pd.app/Contents/Resources/include -I/sw/include -I/usr/local/include -I/include -xc++ -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include -I /usr/lib/ruby/1.8/i386-linux tmp/18060.cpp -o tmp/18060 -L/usr/local/lib -L/sw/lib -L/Applications/Pd.app/Contents/Resources/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib
tmp/18060
#define PD_VERSION_INT 37
found
----------------------------------------------------------------
BRIDGE_LDFLAGS: ["-lm", "-lruby"]
LDSOFLAGS: ["-L/usr/local/lib", "-L/sw/lib", "-L/Applications/Pd.app/Contents/Resources/lib", "-lm", "-lusb", "-L/usr/X11R6/lib", "-lX11", "-lXext", "-lSDL", "-lpthread", "-laa", "-ljpeg", "-lpng", "-lz", "-lmpeg3", "-lquicktime", "-ldl", "-lglib"]
OPTIONS: ["HAVE_PENTIUM", "HAVE_MMX", "HAVE_SIMD", "HAVE_TSC_PROFILING", "HAVE_USB", "HAVE_X11_SHARED_MEMORY", "HAVE_PUREDATA"]
DEFINES: {:RUBY_STACK_END=>"0xbffff790", :RUBY_PREFIX=>"/usr", :PREFIX=>"/usr/local", :PUREDATA_PATH=>"/usr/lib/pd", :CPU=>"pentium", :PD_VERSION_INT=>37, :RUBY_ARCH=>"i386-linux"}
OBJS: ["cpu/mmx.o", "cpu/mmx_loader.o", "optional/usb.o", "format/x11.o", "format/sdl.o", "format/aalib.o", "format/jpeg.o", "format/png.o", "format/videodev.o", "format/mpeg3.o", "format/quicktimehw.o"]
----------------------------------------------------------------
Make give me a lot of warnings about
base/source_filter.rb:38: warning: regexp has invalid interval
Maketest# make test
rm -f core
(ruby -w base/test.rb math) || ([ -f core ] && gdb `which ruby` core)
/usr/lib/site_ruby/1.8/i386-linux/gridflow.so: /usr/lib/site_ruby/1.8/i386-linux/gridflow.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE - /usr/lib/site_ruby/1.8/i386-linux/gridflow.so (LoadError)
from base/test.rb:4
make: *** [test] Erreur 1
When i try to use gridflow with pd it just crashed it