[Gridflow-dev] compiling gridflow on powerpc running ubuntu

darsha darsha.h at gmail.com
Wed Jun 14 10:34:24 EDT 2006


Hi Mathieu,

Ruby has been compiled with enable shared and it is here: /usr/lib/libruby1.9.so

config.log shows:
For Paths:
$C_INCLUDE_PATH: [".", "/home/darsha/include", "/usr/local/include",
"/usr/include"]
$LIBRARY_PATH: ["/home/darsha/lib", "/usr/local/lib", "/usr/lib", "/lib"]
$LD_LIBRARY_PATH: ["/home/darsha/lib", "/usr/local/lib", "/usr/lib", "/lib"]

Ruby is Found:

^[[0m[^[[0;1;33;44mlibruby^[[0m] Ruby as a dynamic library (try #2):
#include <ruby.h>
                int main () { return rb_rescue==0; }
/usr/bin/env g++ -I/usr/local/include -I/home/darsha/include -I. -xc++
 -fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include
 -I/usr/local/lib/ruby/1.9/powerpc-linux tmp/6068.cpp -o tmp/6068
 -L/home/darsha/lib -L/usr/local/lib -lruby1.9

tmp/6068

^[[0;1;32m--------------------------------> found

But I get this error:

darsha at Theremin:/usr/local/lib/pd/extra/gridflow$ make
g++ -shared  -o gridflow.so base/main.o base/grid.o base/bitpacking.o
base/flow_objects.o base/number.1.o base/number.2.o base/number.3.o
base/number.4.o optional/usb.o format/dv1394.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 optional/fftw.o
-L/home/darsha/lib -L/usr/local/lib -lm -lusb -ldv -L/usr/X11R6/lib
-L/opt/gnome/lib -L/usr/X11R6/lib64 -L/opt/gnome/lib64 -lX11 -lXext
-lSDL -lpthread -laa -ljpeg -lpng -lz -lmpeg3 -lquicktime -ldl -lglib
-lfftw3f -lfftw3 -L. -lruby -ldl -lcrypt -lm
/usr/bin/ld: cannot find -lruby
collect2: ld returned 1 exit status
make: *** [gridflow.so] Error 1

Should we try the symbolic Links?

Darsha



More information about the Gridflow-dev mailing list