Hi Mathieu, hi list!
I am trying to install gridflow from cvs version-(using pd 38-4, debian2613)-but unfortunately I'm not able to get started.
root@/home/gerda/externals/gridflow ./configure /usr/bin/env: ruby: No such file or directory
root@/home/gerda/externals/gridflow whereis ruby ruby: /usr/bin/ruby1.8 /usr/lib/ruby
Where to put ruby?
"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"..from gridflow installation guide
you mean add this in your Makefil.gv? PD-PATH=/usr/lib/pd PD-SCR=/home/gerda/download/pd-0.38-4
Thank you. Gerda
Hallo, Gerda Strobl hat gesagt: // Gerda Strobl wrote:
I am trying to install gridflow from cvs version-(using pd 38-4, debian2613)-but unfortunately I'm not able to get started.
root@/home/gerda/externals/gridflow ./configure /usr/bin/env: ruby: No such file or directory
root@/home/gerda/externals/gridflow whereis ruby ruby: /usr/bin/ruby1.8 /usr/lib/ruby
Where to put ruby?
/usr/bin/ruby should be ruby. I guess there is a symbolic link from /usr/bin/ruby1.8 to /usr/bin/ruby missing.
Frank Barknecht _ ______footils.org_ __goto10.org__
Hi, ok--due to inserting a symbolic link I can now configure. thx Frank!
i just did : root@/home/gerda/externals/gridflow ./configure
This is the GridFlow 0.8.0 configurator within Ruby version 1.8.3 [fast] Compile for speed (and not debuggability): enabled [gcc3] GNU C++ Compiler 3: missing (undefined method `<' for nil:NilClass) [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) [pentium] Pentium-compatible CPU: missing (gcc compilation error) [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: missing (where is X11/Xlib.h ?) [x11_shm] X11 acceleration through shared memory: 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 (gcc compilation error) [mpeg3] HeroineWarrior LibMPEG3 <libmpeg3/libmpeg3.h>: missing (where is libmpeg3/libmpeg3.h ?) [mpeg3] HeroineWarrior LibMPEG3 <libmpeg3.h>: missing (gcc compilation error) [quicktimeapple] Apple's QuickTime: missing (gcc compilation error) [quicktimehw] HeroineWarrior QuickTime4Linux (or LibQuickTime) (try #1): missing (gcc compilation error) [quicktimehw] HeroineWarrior QuickTime4Linux (or LibQuickTime) (try #2): missing (gcc compilation error) [xine] Xine movie decoder: disabled (by author) [puredata] Miller Puckette's Pure Data: disabled (would need libruby or librubystatic) generating ./config.make generating config.h creating Makefile
delegating to: devices4ruby/extconf.rb (back)
! but Pure Data is disabled (libruby I have) -btw my pd-source is in /home/gerda/download/pd-38.04 where to declare that
--i was also already trying:
root@/home/gerda/externals/gridflow make
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
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
g++ -fPIC -Wall -g -O2 -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/i486-linux -Wall -Wno-unused-O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I.
-I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o base/grid.o
make: g++: Command not found
make: *** [base/grid.o] Error 127
i have g++ but also installing different program -g++ was not found - in the created Makefile i found: CC = gcc CXX = g++
--so can I just overwrite CXX=gcc? --I am complete newbie to makefiles. Frank Barknecht wrote:
Hallo, Gerda Strobl hat gesagt: // Gerda Strobl wrote:
I am trying to install gridflow from cvs version-(using pd 38-4, debian2613)-but unfortunately I'm not able to get started.
root@/home/gerda/externals/gridflow ./configure /usr/bin/env: ruby: No such file or directory
root@/home/gerda/externals/gridflow whereis ruby ruby: /usr/bin/ruby1.8 /usr/lib/ruby
Where to put ruby?
/usr/bin/ruby should be ruby. I guess there is a symbolic link from /usr/bin/ruby1.8 to /usr/bin/ruby missing.
Ciao
On Tue, 11 Oct 2005, Gerda Strobl wrote:
[gcc3] GNU C++ Compiler 3: missing (undefined method `<' for nil:NilClass)
This is strange. Do you have the C++ plugin for GCC ? (also called g++) Most compilation errors that followed might be due to that.
[x11] X11 Display Protocol: missing (where is X11/Xlib.h ?)
Install the X11 headers. In a RPM (or DEB) installer they're often called "xlib-devel" or "xfree86-devel" or "xorg-devel" (depends on the distro)
[puredata] Miller Puckette's Pure Data: disabled (would need libruby or librubystatic)
! but Pure Data is disabled (libruby I have)
libruby doesn't get detected because it's obscured by the GNU C++ problem.
-btw my pd-source is in /home/gerda/download/pd-38.04 where to declare that
Compiling GridFlow doesn't require Pd's source, apart from include/m_pd.h
i have g++ but also installing different program -g++ was not found - in the created Makefile i found:
Are you _sure_ you have installed g++ ?
CC = gcc CXX = g++ --so can I just overwrite CXX=gcc?
That won't work, even if g++ is installed.
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
Hi list, hi Matthieu!
I'm coming closer to solving:
root@/home/gerda/externals/gridflow make
g++ -fPIC -Wall -g -O2 -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/i486-linux -falign-functions=4 -mcpu=pentium
-march=pentium -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I.
-I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o base/grid.o
-mcpu=' is deprecated. Use
-mtune=' or '-march=' instead.
base/grid.h.fcs: In function 'Ruby PTR2FIX(const void*)':
base/grid.h.fcs:151: warning: format '%08x' expects type 'unsigned int',
but argument 3 has type 'long int'
base/grid.h.fcs: At global scope:
base/grid.h.fcs:380: error: explicit qualification in declaration of
`void* operator new(size_t)'
base/grid.h.fcs:381: error: explicit qualification in declaration of
void* operator new [](size_t)' base/grid.h.fcs:382: error: explicit qualification in declaration of
void operator delete(void*)'
base/grid.h.fcs:383: error: explicit qualification in declaration of
`void operator delete [](void*)'
make: *** [base/grid.o] Error 1
I am using gcc version 3.3.6. (OS debian 2613) -use a different compiler version?-if yes-how to tell gridflow installation?
Thank you.
Gerda
On 12 Oct 2005, at 15:04, Gerda Strobl wrote:
root@/home/gerda/externals/gridflow make g++ -fPIC -Wall -g -O2 -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/i486-linux -falign-functions=4 -mcpu=pentium -march=pentium -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I. -I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o base/grid.o-mcpu=' is deprecated. Use
-mtune=' or '-march=' instead.
My guess is that, since you're declaring both -mcpu=pentium -march=pentium , you might want to remove -mcpu=pentium
See what happens.
d
Hello,
where(file or add as an option) can I remove -mcpu=pentium? Thank you.
Gerda
David Plans Casal wrote:
On 12 Oct 2005, at 15:04, Gerda Strobl wrote:
root@/home/gerda/externals/gridflow make g++ -fPIC -Wall -g -O2 -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/i486-linux -falign-functions=4 -mcpu=pentium -march=pentium -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I. -I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o base/grid.o-mcpu=' is deprecated. Use
-mtune=' or '-march=' instead.My guess is that, since you're declaring both -mcpu=pentium -march=pentium , you might want to remove -mcpu=pentium
See what happens.
d
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo!
where(file or add as an option) can I remove -mcpu=pentium?
in the makefile or maybe also in the configure script as an option ...
LG Georg
Thank you.
Gerda
David Plans Casal wrote:
On 12 Oct 2005, at 15:04, Gerda Strobl wrote:
root@/home/gerda/externals/gridflow make g++ -fPIC -Wall -g -O2 -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/i486-linux -falign-functions=4 -mcpu=pentium -march=pentium -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I. -I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o base/grid.o-mcpu=' is deprecated. Use
-mtune=' or '-march=' instead.My guess is that, since you're declaring both -mcpu=pentium -march=pentium , you might want to remove -mcpu=pentium
See what happens.
d
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ok, I removed -mcpu=pentium out of my Makefile--but still having the same error messages.
root@/home/gerda/externals/gridflow make
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
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
base/source_filter.rb:38: warning: regexp has invalid interval
g++ -fPIC -Wall -g -O2 -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/i486-linux -falign-functions=4 -march=pentium -Wall
-Wno-unused -O3 -funroll-loops -fno-omit-frame-pointer -g -fPIC
-I. -I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o
base/grid.o
base/grid.h.fcs: In function 'Ruby PTR2FIX(const void*)':
base/grid.h.fcs:151: warning: format '%08x' expects type 'unsigned int',
but argument 3 has type 'long int'
base/grid.h.fcs: At global scope:
base/grid.h.fcs:380: error: explicit qualification in declaration of
`void* operator new(size_t)'
base/grid.h.fcs:381: error: explicit qualification in declaration of
void* operator new [](size_t)' base/grid.h.fcs:382: error: explicit qualification in declaration of
void operator delete(void*)'
base/grid.h.fcs:383: error: explicit qualification in declaration of
`void operator delete [](void*)'
make: *** [base/grid.o] Error 1
Gerda
Georg Holzmann wrote:
Hallo!
where(file or add as an option) can I remove -mcpu=pentium?
in the makefile or maybe also in the configure script as an option ...
LG Georg
Thank you.
Gerda
David Plans Casal wrote:
On 12 Oct 2005, at 15:04, Gerda Strobl wrote:
root@/home/gerda/externals/gridflow make g++ -fPIC -Wall -g -O2 -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/i486-linux -falign-functions=4 -mcpu=pentium -march=pentium -Wall -Wno-unused -O3 -funroll-loops
-fno-omit-frame-pointer -g -fPIC -I. -I/home/gerda/externals/gridflow -I -I. -c base/grid.c.fcs -o base/grid.o-mcpu=' is deprecated. Use
-mtune=' or '-march=' instead.My guess is that, since you're declaring both -mcpu=pentium -march=pentium , you might want to remove -mcpu=pentium
See what happens.
d
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Thu, 13 Oct 2005, Gerda Strobl wrote:
base/grid.h.fcs: At global scope: base/grid.h.fcs:380: error: explicit qualification in declaration of
void* operator new(size_t)' base/grid.h.fcs:381: error: explicit qualification in declaration of
void* operator new size_t' base/grid.h.fcs:382: error: explicit qualification in declaration ofvoid operator delete(void*)' base/grid.h.fcs:383: error: explicit qualification in declaration of
void operator delete void*'
This was fixed 12 days ago. You may do an update ("cvs update") or edit base/grid.h and replace all "::operator" by just "operator".
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
On Thu, 13 Oct 2005, Gerda Strobl wrote:
where(file or add as an option) can I remove -mcpu=pentium?
What it says about -mcpu is only a warning. I will fix it soon, but in the meanwhile you should just ignore it, because I know people who have had this warning and are running GridFlow correctly.
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
On Tue, 11 Oct 2005, Gerda Strobl wrote:
root@/home/gerda/externals/gridflow ./configure /usr/bin/env: ruby: No such file or directory
There should be an executable called ruby, and it should also correspond to the default libruby.so that will be found (sorry, I'm not into the libtool black magic so running GridFlow with several versions of Ruby might be a bit difficult)
ruby: /usr/bin/ruby1.8 /usr/lib/ruby Where to put ruby?
(cd /usr/bin; ln -s ruby1.8 ruby)
you mean add this in your Makefil.gv? PD-PATH=/usr/lib/pd PD-SCR=/home/gerda/download/pd-0.38-4
PD-PATH and PD-SCR are not recognised make-variables nor env-variables. I meant exactly the long names that are in the doc. Easiest is to set them from ~/.bashrc using the "export" command and restart your shell. You may also type "export" commands from the commandline just before doing ./configure and make, too.
You don't need the path to Pd's source at all.
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada