Forum: Ruby small bounties for fixing this text editor (written in ruby)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Roger P. (Guest)
on 2009-04-15 07:48
They're not much, but since I'm rather lazy, I've offered a few bounties
for anyone wanting to improve the arcadia ruby text editor
http://wiki.github.com/angal/arcadia/to-do
at the bottom.

Cheers!
-=r
Phlip (Guest)
on 2009-04-15 17:06
(Received via mailing list)
Roger P. wrote:
> They're not much, but since I'm rather lazy, I've offered a few bounties
> for anyone wanting to improve the arcadia ruby text editor
> http://wiki.github.com/angal/arcadia/to-do
> at the bottom.

Is this one of the TODOs?


$ sudo gem install arcadia
Building native extensions.  This could take a while...
ERROR:  Error installing arcadia:
         ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install arcadia
creating Makefile

make
gcc -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux
-I.
-D_FILE_OFFSET_BITS=64 -fPIC -g -O2  -c trace_nums.c
In file included from trace_nums.c:36:
/usr/lib/ruby/1.8/i686-linux/node.h:391: error: expected ‘=’, ‘,’, 
‘;’,
‘asm’ or
‘__attribute__’ before ‘rb_jmpbuf_t’
/usr/lib/ruby/1.8/i686-linux/node.h:405: error: expected
specifier-qualifier-list before ‘rb_jmpbuf_t’
make: *** [trace_nums.o] Error 1
Roger P. (Guest)
on 2009-04-15 19:15
> Is this one of the TODOs?
>
>
> $ sudo gem install arcadia
> Building native extensions.  This could take a while...
> ERROR:  Error installing arcadia:
>          ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby extconf.rb install arcadia
> creating Makefile
>
> make
> gcc -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux
> -I.
> -D_FILE_OFFSET_BITS=64 -fPIC -g -O2  -c trace_nums.c
> In file included from trace_nums.c:36:
> /usr/lib/ruby/1.8/i686-linux/node.h:391: error: expected ‘=’, ‘,’, ‘;’,
> ‘asm’ or
> ‘__attribute__’ before ‘rb_jmpbuf_t’
> /usr/lib/ruby/1.8/i686-linux/node.h:405: error: expected
> specifier-qualifier-list before ‘rb_jmpbuf_t’
> make: *** [trace_nums.o] Error 1

Hrm.  For me with ruby installed via Ubuntu's apt-get...
rdp@rdp-vm:~$ sudo apt-get install libtcltk-ruby1.8
...
rdp@rdp-vm:~$ sudo gem install arcadia
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
Successfully installed columnize-0.3.0
Successfully installed linecache-0.43
Successfully installed ruby-debug-base-0.10.3
Successfully installed ruby-debug-0.10.3
Successfully installed arcadia-0.6.0
5 gems installed
Installing ri documentation for columnize-0.3.0...
Installing ri documentation for linecache-0.43...
Installing ri documentation for ruby-debug-base-0.10.3...
Installing ri documentation for ruby-debug-0.10.3...
Installing RDoc documentation for columnize-0.3.0...
Installing RDoc documentation for linecache-0.43...
Installing RDoc documentation for ruby-debug-base-0.10.3...
Installing RDoc documentation for ruby-debug-0.10.3...
rdp@rdp-vm:~$ arcadia

worked.  My guess is that one of those dependencies isn't building for
some reason on your box but I'm not sure exactly why.  I know
ruby-debug-base has some binary extensions, and possibly linecache.
Thanks.
-=r
Robert D. (Guest)
on 2009-04-15 22:47
(Received via mailing list)
On Wed, Apr 15, 2009 at 5:48 AM, Roger P. <removed_email_address@domain.invalid>
wrote:
>
Is it just me or is RubtTk not broken for 1.9.1 right now?
R.


--
Si tu veux construire un bateau ...
Ne rassemble pas des hommes pour aller chercher du bois, préparer des
outils, répartir les tâches, alléger le travail… mais enseigne aux
gens la nostalgie de l’infini de la mer.

If you want to build a ship, don’t herd people together to collect
wood and don’t assign them tasks and work, but rather teach them to
long for the endless immensity of the sea.
This topic is locked and can not be replied to.