I am using ruby <b>1.8.4</b> (2005-12-24). <br><br>I added this code:<br><br>#define RARRAY_LEN(a) \<br>&nbsp;&nbsp;&nbsp; ((RBASIC(a)-&gt;flags &amp; RARRAY_EMBED_FLAG) ? \<br>&nbsp;&nbsp;&nbsp;&nbsp; (long)((RBASIC(a)-&gt;flags &gt;&gt; RARRAY_EMBED_LEN_SHIFT) &amp; \<br>
&nbsp;&nbsp;&nbsp; &nbsp;(RARRAY_EMBED_LEN_MASK &gt;&gt; RARRAY_EMBED_LEN_SHIFT)) : \<br>&nbsp;&nbsp;&nbsp;&nbsp; RARRAY(a)-&gt;as.heap.len)<br>#define RARRAY_PTR(a) \<br>&nbsp;&nbsp;&nbsp; ((RBASIC(a)-&gt;flags &amp; RARRAY_EMBED_FLAG) ? \<br>&nbsp;&nbsp;&nbsp;&nbsp; RARRAY(a)-&gt;as.ary : \<br>
&nbsp;&nbsp;&nbsp;&nbsp; RARRAY(a)-&gt;as.heap.ptr)<br><br>#define RREGEXP_SRC_LEN(r) RSTRING_LEN(RREGEXP(r)-&gt;src)<br><br>to my current &quot;<font size="4"><b>ruby.h</b></font>&quot; I try to compile and it failed again giving me a runtime error of other file. I took this code from the file ruby.h in Ruby&#39;s release: ruby-1.9.1-p0<br>
<br>I substitute my ruby.h (version 1.8.4) using ruby.h (version ruby-1.9.1-p0) but it failed to compile, too.<br><br>As I am newbie in this matter, I am thinking in to update my Ruby version. Maybe it can fix my issue.<br>
<br>What do you think/suggest?<br><br><br><br>Regards,<br><br><br>--<br>GatoLinux<br><br><br>In file included from librb.c:355:<br>/usr/lib/ruby/1.8/i486-linux/ruby.h:476: error: syntax error before &quot;struct&quot;<br>
make: *** [librb.o] Error 1<br>install.rb:655:in `command&#39;: system(&quot;make&quot;) failed (RuntimeError)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:664:in `make&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1258:in `setup_dir_ext&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1532:in `traverse&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1549:in `dive_into&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1530:in `traverse&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1534:in `traverse&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1533:in `traverse&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1549:in `dive_into&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1530:in `traverse&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1524:in `exec_task_traverse&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1519:in `exec_task_traverse&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1246:in `exec_setup&#39;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:996:in `exec_setup&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:826:in `invoke&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:773:in `invoke&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from install.rb:1578<br><br><br><br><br><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 13 Feb 2009 12:53:19 -0600<br>
From: GatoLinux &lt;<a href="mailto:gatolinux@gmail.com">gatolinux@gmail.com</a>&gt;<br>
Subject: [fxruby-users] install.rb:655:in `command&#39;: system(&quot;make&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;failed &nbsp;(RuntimeError)<br>
To: <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:a77c2c700902131053w77c7ac11o639db9f8841dbc55@mail.gmail.com">a77c2c700902131053w77c7ac11o639db9f8841dbc55@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hello!<br>
<br>
<br>
I used this command:<br>
<br>
<br>
ruby install.rb config -- \ --with-fox-include=/opt/fox-1.6.35/include/<br>
--with-fox-lib=/opt/fox-1.6.35/lib/<br>
<br>
to configure FXRuby; then, I ran:<br>
<br>
ruby install.rb setup followed by ruby install.rb install<br>
<br>
but I got this installation error:<br>
<br>
<br>
In file included from include/FXRuby.h:825,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from include/FXRbCommon.h:93,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ui_wrap.cpp:584:<br>
include/inlinestubs.h: In function `void FXApp_init(FX::FXApp*, VALUE,<br>
bool)&#39;:<br>
include/inlinestubs.h:20: error: `RARRAY_LEN&#39; was not declared in this scope<br>
ui_wrap.cpp: In function `void<br>
FXFileSelector_setPatternList(FX::FXFileSelector*, VALUE)&#39;:<br>
ui_wrap.cpp:1016: error: `RARRAY_LEN&#39; was not declared in this scope<br>
ui_wrap.cpp: In function `VALUE _wrap_FXComboBox_fillItems(int, VALUE*,<br>
VALUE)&#39;:<br>
ui_wrap.cpp:4979: error: `RARRAY_LEN&#39; was not declared in this scope<br>
ui_wrap.cpp: In function `VALUE _wrap_FXListBox_fillItems(int, VALUE*,<br>
VALUE)&#39;:<br>
ui_wrap.cpp:5444: error: `RARRAY_LEN&#39; was not declared in this scope<br>
ui_wrap.cpp: In function `VALUE _wrap_FXTreeListBox_fillItems(int, VALUE*,<br>
VALUE)&#39;:<br>
ui_wrap.cpp:5903: error: `RARRAY_LEN&#39; was not declared in this scope<br>
make: *** [ui_wrap.o] Error 1<br>
install.rb:655:in `command&#39;: system(&quot;make&quot;) failed (RuntimeError)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:664:in `make&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1258:in `setup_dir_ext&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1532:in `traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1549:in `dive_into&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1530:in `traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1534:in `traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1533:in `traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1549:in `dive_into&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1530:in `traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1524:in `exec_task_traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1519:in `exec_task_traverse&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1246:in `exec_setup&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:996:in `exec_setup&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:826:in `invoke&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:773:in `invoke&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1578<br>
<br>
So, I was unable to install FXRuby (version 1.6.13) from its sources.<br>
<br>
Can you give me any clue to fix this issue?<br>
<br>
I am running Slackware 11.0 with fox-1.6.35<br>
<br>
<br>
Regards,<br>
<br>
<br>
<br>
GatoLinux<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://rubyforge.org/pipermail/fxruby-users/attachments/20090213/a0f640db/attachment-0001.html" target="_blank">http://rubyforge.org/pipermail/fxruby-users/attachments/20090213/a0f640db/attachment-0001.html</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 13 Feb 2009 17:48:22 -0600<br>
From: Lyle Johnson &lt;<a href="mailto:lyle@lylejohnson.name">lyle@lylejohnson.name</a>&gt;<br>
Subject: Re: [fxruby-users] install.rb:655:in `command&#39;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;system(&quot;make&quot;) &nbsp;failed (RuntimeError)<br>
To: &quot;<a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a>&quot; &lt;<a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:397F82D6-D454-4CC3-A4EA-C3AB2341DBFC@lylejohnson.name">397F82D6-D454-4CC3-A4EA-C3AB2341DBFC@lylejohnson.name</a>&gt;<br>
Content-Type: text/plain; &nbsp; &nbsp; &nbsp; charset=us-ascii; &nbsp; &nbsp; &nbsp; format=flowed; &nbsp;delsp=yes<br>
<br>
What version of Ruby are you building against? I thought the<br>
RARRAY_LEN macro had been available for awhile now.<br>
<br>
On Feb 13, 2009, at 12:53 PM, GatoLinux &lt;<a href="mailto:gatolinux@gmail.com">gatolinux@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello!<br>
&gt;<br>
&gt;<br>
&gt; I used this command:<br>
&gt;<br>
&gt;<br>
&gt; ruby install.rb config -- \ --with-fox-include=/opt/fox-1.6.35/<br>
&gt; include/ --with-fox-lib=/opt/fox-1.6.35/lib/<br>
&gt;<br>
&gt; to configure FXRuby; then, I ran:<br>
&gt;<br>
&gt; ruby install.rb setup followed by ruby install.rb install<br>
&gt;<br>
&gt; but I got this installation error:<br>
&gt;<br>
&gt;<br>
&gt; In file included from include/FXRuby.h:825,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from include/FXRbCommon.h:93,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ui_wrap.cpp:584:<br>
&gt; include/inlinestubs.h: In function `void FXApp_init(FX::FXApp*,<br>
&gt; VALUE, bool)&#39;:<br>
&gt; include/inlinestubs.h:20: error: `RARRAY_LEN&#39; was not declared in<br>
&gt; this scope<br>
&gt; ui_wrap.cpp: In function `void<br>
&gt; FXFileSelector_setPatternList(FX::FXFileSelector*, VALUE)&#39;:<br>
&gt; ui_wrap.cpp:1016: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt; ui_wrap.cpp: In function `VALUE _wrap_FXComboBox_fillItems(int,<br>
&gt; VALUE*, VALUE)&#39;:<br>
&gt; ui_wrap.cpp:4979: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt; ui_wrap.cpp: In function `VALUE _wrap_FXListBox_fillItems(int,<br>
&gt; VALUE*, VALUE)&#39;:<br>
&gt; ui_wrap.cpp:5444: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt; ui_wrap.cpp: In function `VALUE _wrap_FXTreeListBox_fillItems(int,<br>
&gt; VALUE*, VALUE)&#39;:<br>
&gt; ui_wrap.cpp:5903: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt; make: *** [ui_wrap.o] Error 1<br>
&gt; install.rb:655:in `command&#39;: system(&quot;make&quot;) failed (RuntimeError)<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:664:in `make&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1258:in `setup_dir_ext&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1532:in `traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1549:in `dive_into&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1530:in `traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1534:in `traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1533:in `traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1549:in `dive_into&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1530:in `traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1524:in `exec_task_traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1519:in `exec_task_traverse&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1246:in `exec_setup&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:996:in `exec_setup&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:826:in `invoke&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:773:in `invoke&#39;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1578<br>
&gt;<br>
&gt; So, I was unable to install FXRuby (version 1.6.13) from its sources.<br>
&gt;<br>
&gt; Can you give me any clue to fix this issue?<br>
&gt;<br>
&gt; I am running Slackware 11.0 with fox-1.6.35<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; GatoLinux<br>
&gt; _______________________________________________<br>
&gt; fxruby-users mailing list<br>
&gt; <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
&gt; <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 13 Feb 2009 21:43:20 -0800<br>
From: David MacMahon &lt;<a href="mailto:davidm@astro.berkeley.edu">davidm@astro.berkeley.edu</a>&gt;<br>
Subject: Re: [fxruby-users] install.rb:655:in `command&#39;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;system(&quot;make&quot;) &nbsp;failed (RuntimeError)<br>
To: <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
Message-ID: &lt;<a href="mailto:C95732A1-4CDF-4AC3-A04A-6329B873007B@astro.berkeley.edu">C95732A1-4CDF-4AC3-A04A-6329B873007B@astro.berkeley.edu</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed<br>
<br>
Hi, Lyle,<br>
<br>
FWIW, I also ran into this problem when building fxruby against Ruby<br>
1.8.5 (on SuSE 10.1, I think). &nbsp;I think I just hacked definitions of<br>
these macros into 1.8.5&#39;s ruby.h file...<br>
<br>
RARRAY_LEN<br>
RARRAY_PTR<br>
RSTRING_LEN<br>
RSTRING_PTR<br>
<br>
I took the definitions from a 1.8.6 ruby.h file.<br>
<br>
IMHO, it wouldn&#39;t be a bad thing to put them in an fxruby include<br>
file with #ifndef guards around them.<br>
<br>
Dave<br>
<br>
On Feb 13, 2009, at 15:48 , Lyle Johnson wrote:<br>
<br>
&gt; What version of Ruby are you building against? I thought the<br>
&gt; RARRAY_LEN macro had been available for awhile now.<br>
&gt;<br>
&gt; On Feb 13, 2009, at 12:53 PM, GatoLinux &lt;<a href="mailto:gatolinux@gmail.com">gatolinux@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hello!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I used this command:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ruby install.rb config -- \ --with-fox-include=/opt/fox-1.6.35/<br>
&gt;&gt; include/ --with-fox-lib=/opt/fox-1.6.35/lib/<br>
&gt;&gt;<br>
&gt;&gt; to configure FXRuby; then, I ran:<br>
&gt;&gt;<br>
&gt;&gt; ruby install.rb setup followed by ruby install.rb install<br>
&gt;&gt;<br>
&gt;&gt; but I got this installation error:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; In file included from include/FXRuby.h:825,<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from include/FXRbCommon.h:93,<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from ui_wrap.cpp:584:<br>
&gt;&gt; include/inlinestubs.h: In function `void FXApp_init(FX::FXApp*,<br>
&gt;&gt; VALUE, bool)&#39;:<br>
&gt;&gt; include/inlinestubs.h:20: error: `RARRAY_LEN&#39; was not declared in<br>
&gt;&gt; this scope<br>
&gt;&gt; ui_wrap.cpp: In function `void FXFileSelector_setPatternList<br>
&gt;&gt; (FX::FXFileSelector*, VALUE)&#39;:<br>
&gt;&gt; ui_wrap.cpp:1016: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt; ui_wrap.cpp: In function `VALUE _wrap_FXComboBox_fillItems(int,<br>
&gt;&gt; VALUE*, VALUE)&#39;:<br>
&gt;&gt; ui_wrap.cpp:4979: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt; ui_wrap.cpp: In function `VALUE _wrap_FXListBox_fillItems(int,<br>
&gt;&gt; VALUE*, VALUE)&#39;:<br>
&gt;&gt; ui_wrap.cpp:5444: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt; ui_wrap.cpp: In function `VALUE _wrap_FXTreeListBox_fillItems(int,<br>
&gt;&gt; VALUE*, VALUE)&#39;:<br>
&gt;&gt; ui_wrap.cpp:5903: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt; make: *** [ui_wrap.o] Error 1<br>
&gt;&gt; install.rb:655:in `command&#39;: system(&quot;make&quot;) failed (RuntimeError)<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:664:in `make&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1258:in `setup_dir_ext&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1532:in `traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1549:in `dive_into&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1530:in `traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1534:in `traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1533:in `traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1549:in `dive_into&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1530:in `traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1524:in `exec_task_traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1519:in `exec_task_traverse&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1246:in `exec_setup&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:996:in `exec_setup&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:826:in `invoke&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:773:in `invoke&#39;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; from install.rb:1578<br>
&gt;&gt;<br>
&gt;&gt; So, I was unable to install FXRuby (version 1.6.13) from its sources.<br>
&gt;&gt;<br>
&gt;&gt; Can you give me any clue to fix this issue?<br>
&gt;&gt;<br>
&gt;&gt; I am running Slackware 11.0 with fox-1.6.35<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; GatoLinux<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; fxruby-users mailing list<br>
&gt;&gt; <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
&gt;&gt; <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br>
&gt; _______________________________________________<br>
&gt; fxruby-users mailing list<br>
&gt; <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
&gt; <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sat, 14 Feb 2009 10:33:50 -0600<br>
From: Lyle Johnson &lt;<a href="mailto:lyle@lylejohnson.name">lyle@lylejohnson.name</a>&gt;<br>
Subject: Re: [fxruby-users] install.rb:655:in `command&#39;:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;system(&quot;make&quot;) &nbsp;failed (RuntimeError)<br>
To: &quot;<a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a>&quot; &lt;<a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:7E577695-D3B6-41C8-BCD5-6DC50228220B@lylejohnson.name">7E577695-D3B6-41C8-BCD5-6DC50228220B@lylejohnson.name</a>&gt;<br>
Content-Type: text/plain; &nbsp; &nbsp; &nbsp; charset=us-ascii; &nbsp; &nbsp; &nbsp; format=flowed; &nbsp;delsp=yes<br>
<br>
Dave,<br>
<br>
Thanks. I&#39;ll look at adding those #defines in the next release. Ruby<br>
1.8.6 has been available for so long now that I didn&#39;t consider I<br>
might be breaking back-compatibility!<br>
<br>
Sent from my iPhone<br>
<br>
On Feb 13, 2009, at 11:43 PM, David MacMahon<br>
&lt;<a href="mailto:davidm@astro.berkeley.edu">davidm@astro.berkeley.edu</a>&gt; wrote:<br>
<br>
&gt; Hi, Lyle,<br>
&gt;<br>
&gt; FWIW, I also ran into this problem when building fxruby against Ruby<br>
&gt; 1.8.5 (on SuSE 10.1, I think). &nbsp;I think I just hacked definitions of<br>
&gt; these macros into 1.8.5&#39;s ruby.h file...<br>
&gt;<br>
&gt; RARRAY_LEN<br>
&gt; RARRAY_PTR<br>
&gt; RSTRING_LEN<br>
&gt; RSTRING_PTR<br>
&gt;<br>
&gt; I took the definitions from a 1.8.6 ruby.h file.<br>
&gt;<br>
&gt; IMHO, it wouldn&#39;t be a bad thing to put them in an fxruby include<br>
&gt; file with #ifndef guards around them.<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
&gt; On Feb 13, 2009, at 15:48 , Lyle Johnson wrote:<br>
&gt;<br>
&gt;&gt; What version of Ruby are you building against? I thought the<br>
&gt;&gt; RARRAY_LEN macro had been available for awhile now.<br>
&gt;&gt;<br>
&gt;&gt; On Feb 13, 2009, at 12:53 PM, GatoLinux &lt;<a href="mailto:gatolinux@gmail.com">gatolinux@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hello!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I used this command:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ruby install.rb config -- \ --with-fox-include=/opt/fox-1.6.35/<br>
&gt;&gt;&gt; include/ --with-fox-lib=/opt/fox-1.6.35/lib/<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; to configure FXRuby; then, I ran:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ruby install.rb setup followed by ruby install.rb install<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; but I got this installation error:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In file included from include/FXRuby.h:825,<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from include/FXRbCommon.h:93,<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from ui_wrap.cpp:584:<br>
&gt;&gt;&gt; include/inlinestubs.h: In function `void FXApp_init(FX::FXApp*,<br>
&gt;&gt;&gt; VALUE, bool)&#39;:<br>
&gt;&gt;&gt; include/inlinestubs.h:20: error: `RARRAY_LEN&#39; was not declared in<br>
&gt;&gt;&gt; this scope<br>
&gt;&gt;&gt; ui_wrap.cpp: In function `void<br>
&gt;&gt;&gt; FXFileSelector_setPatternList(FX::FXFileSelector*, VALUE)&#39;:<br>
&gt;&gt;&gt; ui_wrap.cpp:1016: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt;&gt; ui_wrap.cpp: In function `VALUE _wrap_FXComboBox_fillItems(int,<br>
&gt;&gt;&gt; VALUE*, VALUE)&#39;:<br>
&gt;&gt;&gt; ui_wrap.cpp:4979: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt;&gt; ui_wrap.cpp: In function `VALUE _wrap_FXListBox_fillItems(int,<br>
&gt;&gt;&gt; VALUE*, VALUE)&#39;:<br>
&gt;&gt;&gt; ui_wrap.cpp:5444: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt;&gt; ui_wrap.cpp: In function `VALUE _wrap_FXTreeListBox_fillItems(int,<br>
&gt;&gt;&gt; VALUE*, VALUE)&#39;:<br>
&gt;&gt;&gt; ui_wrap.cpp:5903: error: `RARRAY_LEN&#39; was not declared in this scope<br>
&gt;&gt;&gt; make: *** [ui_wrap.o] Error 1<br>
&gt;&gt;&gt; install.rb:655:in `command&#39;: system(&quot;make&quot;) failed (RuntimeError)<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:664:in `make&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1258:in `setup_dir_ext&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1532:in `traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1549:in `dive_into&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1530:in `traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1534:in `traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1533:in `traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1549:in `dive_into&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1530:in `traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1524:in `exec_task_traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1519:in `exec_task_traverse&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1246:in `exec_setup&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:996:in `exec_setup&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:826:in `invoke&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:773:in `invoke&#39;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;from install.rb:1578<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So, I was unable to install FXRuby (version 1.6.13) from its<br>
&gt;&gt;&gt; sources.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Can you give me any clue to fix this issue?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am running Slackware 11.0 with fox-1.6.35<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Regards,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; GatoLinux<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; fxruby-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
&gt;&gt;&gt; <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; fxruby-users mailing list<br>
&gt;&gt; <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
&gt;&gt; <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; fxruby-users mailing list<br>
&gt; <a href="mailto:fxruby-users@rubyforge.org">fxruby-users@rubyforge.org</a><br>
&gt; <a href="http://rubyforge.org/mailman/listinfo/fxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/fxruby-users</a><br>
<br>
<br>
</blockquote></div><br><br>