This is the part of the config.log I think is relevant:<br><br><i>error #256<br> [0;1;31m----------------------------------------------> missing (runtime error)<br>#<RuntimeError: runtime error><br>configure:170:in `raise'
<br>configure:170:in `c_test'<br>configure:322:in `block (2 levels) in <main>'<br>configure:894:in `call'<br>configure:894:in `try'<br>configure:942:in `block in <main>'<br>configure:942:in `each'
<br>configure:942:in `<main>'<br><br>----------------------------------------------------------------<br> [0m[ [0;1;33;44mlibruby [0m] Ruby as a dynamic library: <br>#include <ruby.h><br> int main () { return rb_rescue==0; }
<br>/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
<br>tmp/22479.cpp:1:18: error: ruby.h: No such file or directory<br>tmp/22479.cpp: In function 'int main()':<br>tmp/22479.cpp:2: error: 'rb_rescue' was not declared in this scope<br><br>error #256<br> [0;1;31m-----------------------------------------> missing (gcc: error: 'rb_rescue' was not declared in this scope)
<br>#<RuntimeError: gcc: error: 'rb_rescue' was not declared in this scope><br>configure:167:in `raise'<br>configure:167:in `c_test'<br>configure:333:in `block (2 levels) in <main>'<br>configure:894:in `call'
<br>configure:894:in `try'<br>configure:942:in `block in <main>'<br>configure:942:in `each'<br>configure:942:in `<main>'<br><br>----------------------------------------------------------------
<br>
[0m[ [0;1;33;44mlibrubystatic [0m] Ruby as a static library: <br>#include <ruby.h><br> int main () { return rb_rescue==0; }<br>/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<br>tmp/22479.cpp:1:18: error: ruby.h: No such file or directory<br>tmp/22479.cpp: In function 'int main()':<br>tmp/22479.cpp:2: error: 'rb_rescue' was not declared in this scope
<br><br>
error #256<br> [0;1;31m------------------------------------> missing (gcc: error: 'rb_rescue' was not declared in this scope)<br>#<RuntimeError: gcc: error: 'rb_rescue' was not declared in this scope>
<br>configure:167:in `raise'
<br>configure:167:in `c_test'<br>configure:346:in `block (2 levels) in <main>'<br>configure:894:in `call'<br>configure:894:in `try'<br>configure:942:in `block in <main>'<br>configure:942:in `each'
<br>configure:942:in `<main>'<br><br></i>I don't have much experience with compiling but it looks to me that it's looking for <i>ruby.h </i>in the wrong directory. I see that there is a <i>ruby.h </i>in
<br><i><br>/usr/include/ruby-1.9/ruby/ruby.h<br>/usr/include/ruby-1.9/ruby.h<br>/usr/lib/ruby/1.8/i486-linux/ruby.h<br><br></i>Can you tell me what do I need to do (what configure option to put?) so that it adds /usr/include? Thanx.
<div><span id="q_117020b02254aa86_1" class="WQ9l9c">- Hide quoted text -</span></div><br><br><br><br><div class="gmail_quote">On Dec 22, 2007 5:31 AM, Mathieu Bouchard <<a href="mailto:matju@artengine.ca" target="_blank">
matju@artengine.ca</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Thu, 20 Dec 2007, Branislav Nakic wrote:<br><br>> I get these errors when runing *ruby1.9 configure *as recommended on the<br>> Gridflow website:<br><br></div>Nowadays I went back to using 1.8
, but you're still supposed to be able to<br>use 1.9.<br><div><br>> [libruby] Ruby as a dynamic library:<br>> -----------------------------------------> missing (gcc: error: 'rb_rescue'
<br>> was not declared in this scope)<br></div><div>> I have installed both libruby1.8 and libruby1.9 and thieir dev packages.<br>> What do I need to do to make it compile?<br><br></div>What does config.log
say about this? does it say more?<br><br>Because, if you have the dev package for whichever version of Ruby you<br>happen to use, you should be fine.<br><font color="#888888"><br> _ _ __ ___ _____ ________ _____________ _____________________ ...
<br>| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada</font></blockquote></div><br clear="all"><br>-- <br><br> _______________________________________<br>< Ninety percent of everything is crap. ><br> ---------------------------------------
<br> \ ^__^<br> \ (@@)\_______<br> (____)\ )\/\<br> ||---------w |<br> || ||