Ok, Mathieu, i have begun the installation and i am at the step 3 : 1 : Install Ruby. Make sure it contains ruby.h and intern.h and related files. It's also recommended to have libruby.so. Those extra files may be in a package called ruby-dev if you are using RPM or DEB/ FINK. If you are building Ruby yourself, it's better to configure ruby with --enable-shared, else you won't have libruby.so (but you will still have libruby.a). If you need to have two Rubies at once, for example Ruby 1.8 for running Rails and Ruby 1.9 for running GridFlow, you may build Ruby 1.9 with the option --program-suffix=19 which will help distinguish the two Rubies. It's also possible to have two Rubies installed without that option, but it might be complicated. If you install into a system directory, you may have to run ldconfig after installing Ruby.
OK, i have downloaded it with Fink (install binary package) 2 : Download GridFlow from the website and uncompress it, or get it from the CVS server. OK 3 : Run ./configure from the gridflow directory. Make sure it detects all the components you want to use with GridFlow. If your OS is Debian or Ubuntu you would run ruby1.9 configure instead so that it doesn't use ruby 1.8. In MacOS you would normally use FINK to install those extra components: libjpeg libjpeg-shlibs libpng-shlibs libpng3 libpng3-shlibs libmpeg libmpeg-shlibs OK, i have downloaded them with Fink (install binary package) In terminal : /gridflow-0.9.0 rybn12$ ./configure i get : This is the GridFlow 0.9.0 configurator within Ruby version 1.8.1-2003-12-25 [gcc3] GNU C++ Compiler 3 (or 4): --------------------------------------------> missing (gcc compilation error) [stl] C++ Standard Template Library: -----------------------------------------> missing (gcc compilation error) [gcc64] GNU C++ in 64-bit mode: ----------------------------------------------> missing (gcc compilation error) [libruby] Ruby as a dynamic library: -----------------------------------------> missing (gcc compilation error) [librubystatic] Ruby as a static library: ------------------------------------> missing (gcc compilation error) [libtclh] Tcl headers <tcl.h>: -----------------------------------------------> missing (where is tcl.h ?) [libtclh] Tcl headers <tcl8.5/tcl.h>: ----------------------------------------> missing (where is tcl8.5/ tcl.h ?) [libtclh] Tcl headers <tcl8.4/tcl.h>: ----------------------------------------> missing (where is tcl8.4/ tcl.h ?) [libtclh] Tcl headers <tcl8.3/tcl.h>: ----------------------------------------> missing (where is tcl8.3/ tcl.h ?) [libtcl] Tcl as a dynamic library: -------------------------------------------> missing (gcc compilation error) [pentium] Pentium-compatible CPU: --------------------------------------------> missing (powerpc-darwin instead) [mmx] MMX-compatible CPU (using NASM): ---------------------------------------> disabled (would need pentium) [usb] USB Library: -----------------------------------------------------------> missing (where is usb.h ?) [x11] X11 Display Protocol: --------------------------------------------------> missing (where is X11/Xlib.h ?) [x11_shm] X11 acceleration by shared memory (XSHM plugin): -------------------> disabled (would need x11) [sdl] Simple Directmedia Layer (experimental support): -----------------------> missing (where is SDL/SDL.h ?) [objcpp] GNU/Apple ObjectiveC++ Compiler: ------------------------------------> missing (where is objc/Object.h ?) [quartz] Apple Quartz/Cocoa Display: -----------------------------------------> disabled (would need objcpp) [aalib] Ascii Art Library: ---------------------------------------------------> missing (where is aalib.h ?) [jpeg] JPEG Library: ---------------------------------------------------------> missing (gcc compilation error) [png] PNG Library <libpng12/png.h>: ------------------------------------------> missing (gcc compilation error) [png] PNG Library <png.h>: ---------------------------------------------------> missing (gcc compilation error) [videodev] Video4linux Digitizer Driver Interface: ---------------------------> missing (where is linux/videodev.h ?) [mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>: -----------------------> missing (where is libmpeg3/libmpeg3.h ?) [mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>: --------------------------------> missing (where is libmpeg3.h ?) [quicktimeapple] Apple's QuickTime: ------------------------------------------> missing (gcc compilation error) [quicktimehw] Plaum's LibQuickTime (try #1) <lqt/quicktime.h>: ---------------> missing (where is lqt/quicktime.h ?) [quicktimehw] Plaum's LibQuickTime (try #1) <quicktime/quicktime.h>: ---------> missing (where is quicktime/quicktime.h ?) [quicktimehw] Plaum's LibQuickTime (try #2) <lqt/quicktime.h>: ---------------> missing (where is lqt/quicktime.h ?) [quicktimehw] Plaum's LibQuickTime (try #2) <quicktime/quicktime.h>: ---------> missing (where is quicktime/quicktime.h ?) [puredata] PureData (or DesireData): -----------------------------------------> disabled (would need libruby or librubystatic) [desiredata] DesireData: -----------------------------------------------------> missing (where is m_pd.h ?) [gem09] PureData GEM (source code) with m_holdname: --------------------------> disabled (would need puredata) [gem08] PureData GEM (source code) without m_holdname: -----------------------> disabled (would need puredata) [opencv] Intel OpenCV: -------------------------------------------------------> missing (gcc compilation error) [fftw] FFTW (Fastest Fourier Transform in the West): -------------------------> missing (gcc compilation error) You should install gcc 3.x; gcc 2.9.x is no longer supported (you might use --force-gcc3 to pretend at your own risk) 4 : Note: you may have to set CPLUS_INCLUDE_PATH to indicate where to find *.h files, and you may have to set both LIBRARY_PATH and LD_LIBRARY_PATH to indicate where to find *.so or *.aor *.dylib or *.bundle or *.dll or *.lib files. 5 : Note: you can do ./configure --help to get a list of supported options. You can use them to ignore the presence of troublesome libraries and select debugging level. With --use-compiler you should use a version of g++, not directly a version of gcc, else you get undefined symbol problems. Some versions of gcc/g++ are troublesome. 6 : Run make to produce the executables gridflow.so and gridflow.pd_linux or similar 7 : With a text editor, create ~/.gridflow_startup and write something like GridFlow.data_path << "/pd/extra/gridflow/images" to tell GridFlow where to find additional folders containing images or movies you want to use with GridFlow. 8 : Ltilib (optional, linux only): The LTI-Lib is an object oriented library with algorithms and data structures frequently used in image processing and computer vision. 1 : Download and install ltilib version 1.9.15 from http:// ltilib.sourceforge.net/ 2 : in optional/rblti do: make 9 : Loading GridFlow: 1 : PureData : With a text editor, modify or create ~/.pdrc and write -lib gridflow. 2 : ImpureData : In the ".pdrc editor", add gridflow to the list of libraries. 3 : plain Ruby : the command require "gridflow" will load gridflow.so. Note that on MacOS the dot-files are invisible in the Finder but you do cd ~/Desktop; ln -s ../.pdrc "PureData Configuration" to make an alias on the Desktop. Note also that on Windows the dot-files are even more trouble. _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list