[Gridflow-dev] Compiling Gridflow on Ubuntu [from pd-list at iem.at]

Branislav Nakic rudlavibizon at gmail.com
Sat Dec 22 13:24:49 EST 2007


This is the part of the config.log I think is relevant:

*error #256
[0;1;31m----------------------------------------------> missing (runtime
error)
#<RuntimeError: runtime error>
configure:170:in `raise'
configure:170:in `c_test'
configure:322:in `block (2 levels) in <main>'
configure:894:in `call'
configure:894:in `try'
configure:942:in `block in <main>'
configure:942:in `each'
configure:942:in `<main>'

----------------------------------------------------------------
[0m[ [0;1;33;44mlibruby [0m] Ruby as a dynamic library:
#include <ruby.h>
        int main () { return rb_rescue==0; }
/usr/bin/env g++ -I/usr/local/include -I/home/rudlavibizon/include -I. -xc++
-fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include
-I/usr/lib/ruby/1.9/i486-linux tmp/22479.cpp -o tmp/22479
-L/home/rudlavibizon/lib -L/usr/local/lib
tmp/22479.cpp:1:18: error: ruby.h: No such file or directory
tmp/22479.cpp: In function 'int main()':
tmp/22479.cpp:2: error: 'rb_rescue' was not declared in this scope

error #256
[0;1;31m-----------------------------------------> missing (gcc: error:
'rb_rescue' was not declared in this scope)
#<RuntimeError: gcc: error: 'rb_rescue' was not declared in this scope>
configure:167:in `raise'
configure:167:in `c_test'
configure:333:in `block (2 levels) in <main>'
configure:894:in `call'
configure:894:in `try'
configure:942:in `block in <main>'
configure:942:in `each'
configure:942:in `<main>'

----------------------------------------------------------------
[0m[ [0;1;33;44mlibrubystatic [0m] Ruby as a static library:
#include <ruby.h>
        int main () { return rb_rescue==0; }
/usr/bin/env g++ -I/usr/local/include -I/home/rudlavibizon/include -I. -xc++
-fno-operator-names -fno-omit-frame-pointer -I/usr/X11R6/include
-I/usr/lib/ruby/1.9/i486-linux tmp/22479.cpp -o tmp/22479
-L/home/rudlavibizon/lib -L/usr/local/lib -xnone /usr/lib/libruby1.9-
static.a -lpthread -ldl -lcrypt -lm
tmp/22479.cpp:1:18: error: ruby.h: No such file or directory
tmp/22479.cpp: In function 'int main()':
tmp/22479.cpp:2: error: 'rb_rescue' was not declared in this scope

error #256
[0;1;31m------------------------------------> missing (gcc: error:
'rb_rescue' was not declared in this scope)
#<RuntimeError: gcc: error: 'rb_rescue' was not declared in this scope>
configure:167:in `raise'
configure:167:in `c_test'
configure:346:in `block (2 levels) in <main>'
configure:894:in `call'
configure:894:in `try'
configure:942:in `block in <main>'
configure:942:in `each'
configure:942:in `<main>'

*I don't have much experience with compiling but it looks to me that it's
looking for *ruby.h *in the wrong directory. I see that there is a *ruby.h *in

*
/usr/include/ruby-1.9/ruby/ruby.h
/usr/include/ruby-1.9/ruby.h
/usr/lib/ruby/1.8/i486-linux/ruby.h

*Can you tell me what do I need to do (what configure option to put?) so
that it adds /usr/include? Thanx. - Hide quoted text -




On Dec 22, 2007 5:31 AM, Mathieu Bouchard <matju at artengine.ca> wrote:

> On Thu, 20 Dec 2007, Branislav Nakic wrote:
>
> > I get these errors when runing *ruby1.9 configure *as recommended on the
> > Gridflow website:
>
> Nowadays I went back to using 1.8 , but you're still supposed to be able
> to
> use 1.9.
>
> > [libruby] Ruby as a dynamic library:
> > -----------------------------------------> missing (gcc: error:
> 'rb_rescue'
> > was not declared in this scope)
> > I have installed both libruby1.8 and libruby1.9 and thieir dev packages.
> > What do I need to do to make it compile?
>
> What does config.log say about this? does it say more?
>
> Because, if you have the dev package for whichever version of Ruby you
> happen to use, you should be fine.
>
>  _ _ __ ___ _____ ________ _____________ _____________________ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada



-- 

_______________________________________
< Ninety percent of everything is crap. >
---------------------------------------
       \   ^__^
        \  (@@)\_______
           (____)\           )\/\
               ||---------w |
               ||              ||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.artengine.ca/pipermail/gridflow-dev/attachments/20071222/f080ca8e/attachment.htm 


More information about the Gridflow-dev mailing list