[Gridflow-dev] Mac OS X Tiger - Problems

ns.artengine.ca@cefn.com ns.artengine.ca at cefn.com
Tue Oct 18 21:24:00 EDT 2005


When installing Gridflow 8.0 on Mac OS X I end up with the following  
error when verifying the build with make test.

base/flow_objects_for_image.c.fcs:43:in `void  
expect_convolution_matrix(P<Dim>)': only exactly two dimensions  
allowed for now (got 0) (ArgumentError)
         from /sw/lib/ruby/site_ruby/1.8/gridflow/base/ 
flow_objects.rb:400:in `send_in'
         from /sw/lib/ruby/site_ruby/1.8/gridflow/base/ 
flow_objects.rb:400:in `initialize'
         from /sw/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211:in  
`new'
         from /sw/lib/ruby/site_ruby/1.8/gridflow/base/main.rb:211:in  
`[]'
         from base/test.rb:215:in `test_math'
         from base/test.rb:64:in `each'
         from base/test.rb:64:in `test_math'
         from base/test.rb:1054:in `send'
         from base/test.rb:1054
make: *** [test] Error 1

This is preceded by a series of errors during ./configure (where  
libraries which have been acquired through fink are not properly  
identified, and warnings when compiling concerning variable  
assignments, both sets of outputs are inlined below.

Is there a way of building gridflow on a Mac OS X Tiger system? Am I  
missing something obvious?

Cefn
http://cefn.com/curiosity/


Original output from ./configure >>>>>>>>

This is the GridFlow 0.8.0 configurator within Ruby version 1.8.1
[fast] Compile for speed (and not debuggability): enabled
[gcc3] GNU C++ Compiler 3: found
[stl] C++ Standard Template Library: found
[gcc64] GNU C++ in 64-bit mode: missing (gcc: error: `off_t'  
undeclared (first use this function))
[libruby] Ruby as a dynamic library: found
[librubystatic] Ruby as a static library: disabled (using libruby  
instead)
[pentium] Pentium-compatible CPU: missing (powerpc-darwin instead)
[mmx] MMX-compatible CPU (using NASM): disabled (would need pentium)
[simd] SIMD (MMX/SSE/Altivec) (using GCC): disabled (would need pentium)
[profiler] profiler (speed measurements): disabled (would need pentium)
[usb] USB Library: missing (where is usb.h ?)
[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): missing (where  
is SDL/SDL.h ?)
[objcpp] GNU/Apple ObjectiveC++ Compiler: found
[quartz] Apple Quartz/Cocoa Display: found
[aalib] Ascii Art Library: missing (where is aalib.h ?)
[jpeg] JPEG Library: found
[png] PNG Library <libpng12/png.h>: found
[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: found
[quicktimehw] HeroineWarrior QuickTime4Linux (or LibQuickTime) (try  
#1): disabled (using quicktimeapple instead)
[quicktimehw] HeroineWarrior QuickTime4Linux (or LibQuickTime) (try  
#2): disabled (using quicktimeapple instead)
[xine] Xine movie decoder: disabled (by author)
[puredata] Miller Puckette's Pure Data: missing (where is m_pd.h ?)
generating ./config.make
generating config.h
creating Makefile

delegating to: devices4ruby/extconf.rb
(back)


Original output from sudo make install>>>>>>>>>>>>>

ruby -w base/source_filter.rb base/grid.h base/grid.h.fcs
ruby -w base/source_filter.rb base/grid.c base/grid.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c base/grid.c.fcs -o base/grid.o
ruby -w base/source_filter.rb base/main.c base/main.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c base/main.c.fcs -o base/main.o
ruby -w base/source_filter.rb base/number.c base/number.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -DPASS1 -c base/number.c.fcs -o base/number.1.o
base/number.c.fcs: In static member function `static bool
    Ymulshr8<T>::is_neutral(T, LeftRight) [with T = uint8]':
base/number.c.fcs:266:   instantiated from here
base/number.c.fcs:200: warning: comparison is always false due to  
limited range
    of data type
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -DPASS2 -c base/number.c.fcs -o base/number.2.o
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -DPASS3 -c base/number.c.fcs -o base/number.3.o
ruby -w base/source_filter.rb base/bitpacking.c base/bitpacking.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c base/bitpacking.c.fcs -o base/bitpacking.o
ruby -w base/source_filter.rb base/flow_objects.c base/ 
flow_objects.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c base/flow_objects.c.fcs -o base/flow_objects.o
ruby -w base/source_filter.rb base/flow_objects_for_image.c base/ 
flow_objects_for_image.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c base/flow_objects_for_image.c.fcs -o base/ 
flow_objects_for_image.o
ruby -w base/source_filter.rb base/flow_objects_for_matrix.c base/ 
flow_objects_for_matrix.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c base/flow_objects_for_matrix.c.fcs -o base/ 
flow_objects_for_matrix.o
ruby -w base/source_filter.rb format/x11.c format/x11.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c format/x11.c.fcs -o format/x11.o
ruby -w base/source_filter.rb format/quartz.m format/quartz.m.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -xobjective-c++ -c format/quartz.m.fcs -o format/quartz.o
In file included from format/quartz.m.fcs:43:
base/grid.h.fcs:523: warning: declaration does not declare anything
format/quartz.m.fcs:46: warning: type `Pt<unsigned char>' has a user- 
defined
    constructor
format/quartz.m.fcs:46: warning: C++ constructors and destructors  
will not be
    invoked for Objective-C fields
format/quartz.m.fcs: In member function `void FormatQuartz::grin_0 
(GridInlet*,
    int, Pt<T>) [with T = float32]':
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float32]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:170: warning: assignment to `unsigned char' from  
`float'
format/quartz.m.fcs:170: warning: argument to `unsigned char' from  
`float'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float32]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:171: warning: assignment to `unsigned char' from  
`float'
format/quartz.m.fcs:171: warning: argument to `unsigned char' from  
`float'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float32]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:172: warning: assignment to `unsigned char' from  
`float'
format/quartz.m.fcs:172: warning: argument to `unsigned char' from  
`float'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float32]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:178: warning: assignment to `unsigned char' from  
`float'
format/quartz.m.fcs:178: warning: argument to `unsigned char' from  
`float'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float32]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:179: warning: assignment to `unsigned char' from  
`float'
format/quartz.m.fcs:179: warning: argument to `unsigned char' from  
`float'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float32]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:180: warning: assignment to `unsigned char' from  
`float'
format/quartz.m.fcs:180: warning: argument to `unsigned char' from  
`float'
format/quartz.m.fcs: In member function `void FormatQuartz::grin_0 
(GridInlet*,
    int, Pt<T>) [with T = float64]':
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float64]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:170: warning: assignment to `unsigned char' from  
`double'
format/quartz.m.fcs:170: warning: argument to `unsigned char' from  
`double'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float64]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:171: warning: assignment to `unsigned char' from  
`double'
format/quartz.m.fcs:171: warning: argument to `unsigned char' from  
`double'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float64]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:172: warning: assignment to `unsigned char' from  
`double'
format/quartz.m.fcs:172: warning: argument to `unsigned char' from  
`double'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float64]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:178: warning: assignment to `unsigned char' from  
`double'
format/quartz.m.fcs:178: warning: argument to `unsigned char' from  
`double'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float64]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:179: warning: assignment to `unsigned char' from  
`double'
format/quartz.m.fcs:179: warning: argument to `unsigned char' from  
`double'
format/quartz.m.fcs:154:   instantiated from `static void  
FormatQuartz::grinw_0(GridInlet*, int, Pt<T>) [with T = float64]'
format/quartz.m.fcs:243:   instantiated from here
format/quartz.m.fcs:180: warning: assignment to `unsigned char' from  
`double'
format/quartz.m.fcs:180: warning: argument to `unsigned char' from  
`double'
ruby -w base/source_filter.rb format/jpeg.c format/jpeg.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c format/jpeg.c.fcs -o format/jpeg.o
ruby -w base/source_filter.rb format/png.c format/png.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c format/png.c.fcs -o format/png.o
ruby -w base/source_filter.rb format/quicktimeapple.c format/ 
quicktimeapple.c.fcs
g++ -fno-common -g -O2  -fno-common -pipe -fno-common -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/Users/cefnhoile/Documents/curiosity/resource/ 
pd-0.39-1/src/ -I /sw/lib/ruby/1.8/powerpc-darwin -falign- 
functions=4  -Wall  -Wno-unused -O3 -funroll-loops  -fno-omit-frame- 
pointer -g     -fPIC  -I. -I/Applications/gridflow-0.8.0 -I -I.  -I/ 
sw/include -c format/quicktimeapple.c.fcs -o format/quicktimeapple.o
In file included from format/quicktimeapple.c.fcs:29:
base/grid.h.fcs:523: warning: declaration does not declare anything
g++ -dynamic -bundle -L"/sw/lib"  -o gridflow.bundle base/grid.o base/ 
main.o base/number.1.o base/number.2.o base/number.3.o base/ 
bitpacking.o base/flow_objects.o base/flow_objects_for_image.o base/ 
flow_objects_for_matrix.o format/x11.o format/quartz.o format/jpeg.o  
format/png.o format/quicktimeapple.o -L/usr/local/lib -L/sw/lib -L/ 
Applications/Pd.app/Contents/Resources/lib -lm -L/usr/X11R6/lib -lX11  
-lXext -lobjc -framework Cocoa -ljpeg -lpng -lz -framework Quicktime - 
lruby  -ldl -lobjc
ld: warning -L: directory name (/Applications/Pd.app/Contents/ 
Resources/lib) does not exist
install -c -p -m 0755 gridflow.bundle /sw/lib/ruby/site_ruby/1.8/ 
powerpc-darwin
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//base/
install -m 644 base/main.rb /sw/lib/ruby/site_ruby/1.8/gridflow// 
base//main.rb
install -m 644 base/flow_objects.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//base//flow_objects.rb
install -m 644 base/test.rb /sw/lib/ruby/site_ruby/1.8/gridflow// 
base//test.rb
install -m 644 base/source_filter.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//base//source_filter.rb
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//bridge/
install -m 644 bridge/puredata.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//bridge//puredata.rb
install -m 644 bridge/placebo.rb /sw/lib/ruby/site_ruby/1.8/gridflow// 
bridge//placebo.rb
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//format/
install -m 644 format/main.rb /sw/lib/ruby/site_ruby/1.8/gridflow// 
format//main.rb
mkdir -p /sw/lib/ruby/site_ruby/1.8/gridflow//extra/
install -m 644 extra/smpte.rb /sw/lib/ruby/site_ruby/1.8/gridflow// 
extra//smpte.rb
install -m 644 extra/server_2.rb /sw/lib/ruby/site_ruby/1.8/gridflow// 
extra//server_2.rb
install -m 644 extra/server_1_grid.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//extra//server_1_grid.rb
install -m 644 extra/server_1_ppm.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//extra//server_1_ppm.rb
install -m 644 extra/jmax_format.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//extra//jmax_format.rb
install -m 644 extra/puredata_format.rb /sw/lib/ruby/site_ruby/1.8/ 
gridflow//extra//puredata_format.rb
cp bin/jmax2pd /sw/bin; chmod 755 /sw/bin/jmax2pd
(cd devices4ruby; make install)
install -m644 ioctl.rb /sw/lib/ruby/1.8/linux//ioctl.rb
install -m644 SoundPCM.rb /sw/lib/ruby/1.8/linux//SoundPCM.rb
install -m644 ParallelPort.rb /sw/lib/ruby/1.8/linux//ParallelPort.rb
install -m644 SoundMixer.rb /sw/lib/ruby/1.8/linux//SoundMixer.rb



More information about the Gridflow-dev mailing list